Translate a short strategy from Thinkscript (programming language from the Thinkorswim platform) to create a trading robot on MQL5

İş tamamlandı

Tamamlanma süresi: 3 gün
Geliştirici tarafından geri bildirim
Perfect client. His understanding is very quite good. I want to work with him again
Müşteri tarafından geri bildirim
He worked hard to develop what I needed. Very helpful.

İş Gereklilikleri

Hi,

I am looking for someone who can translate this Thinkscript strategy and turn it into a Metatrader 5 (MQL5) trading robot for auto trading.

The script is pretty short:

def bullishreversalcandlebody = close - open;
def bearishreversalcandlebody = open - close;

def atravg_slow = average (atr (), length = 35);

def upsignal = bullishreversalcandlebody is greater than ATR (14) * 0.5 and open <= SimpleMovingAvg(length = 12) and bullishreversalcandlebody >= (high - low) * 0.3 and close <= SimpleMovingAvg(length = 21) and low <= low(period = AggregationPeriod.DAY)* 0.5 and atr () >= atravg_slow * 0.5;

def downsignal = bearishreversalcandlebody is greater than ATR (14) * 0.4 and open >= SimpleMovingAvg(length = 12) and bearishreversalcandlebody >= (high - low) * 0.4 and close >= SimpleMovingAvg(length = 48) and high >= high(period = AggregationPeriod.DAY)* 0.5 and atr () <= atravg_slow * 0.8;


def buysignal = upsignal;

def long_takeprofit_signal = entryprice () + (atr ()* 1.0) <= close;
def long_stoploss_signal = entryprice () - (atr ()* 1.87) >= low;


def sellsignal = downsignal ;

def short_takeprofit_signal = entryprice () - (atr ()* 1.0)>= close;
def short_stoploss_signal = entryprice () + (atr ()* 1.87) <= high;


AddOrder(OrderType.BUY_TO_OPEN, buysignal, tickColor = Color.BLACK, arrowColor = Color.BLACK, price = close, name = "Open Long");

AddOrder(type = OrderType.SELL_TO_CLOSE, condition = long_takeprofit_signal, tickColor = Color.GREEN, arrowColor = Color.GREEN, price = close, name = "Take profit Long");

AddOrder(type = OrderType.SELL_TO_CLOSE, condition = long_stoploss_signal, tickColor = Color.RED, arrowColor = Color.RED, price = close, name = "Stop loss Long");


AddOrder(OrderType.SELL_TO_OPEN, sellsignal, tickColor = Color.BLACK, arrowColor = Color.BLACK, price = close, name = "Open Short");

AddOrder(type = OrderType.BUY_TO_CLOSE, condition = short_takeprofit_signal, tickColor = Color.GREEN, arrowColor = Color.GREEN, price = close, name = "Take profit Short");

AddOrder(type = OrderType.BUY_TO_CLOSE, condition = short_stoploss_signal, tickColor = Color.RED, arrowColor = Color.RED, price = close, name = "Stop loss Short");

Money management settings:

The stop loss and take profit parameters are in the script.

Lot size: The robot should risk 10% (this should be customizable) of the account's equity per trade.
Maximum positions open at the same time = 4 (this should be customizable).


Apart from being used by the robot for auto trading, I should be able to see the signals plotted on the MT5 chart. They should be plotted as described in the script (with arrows and labels).


The default time frame for the robot is 5m but this should be customizable.

Yanıtlandı

1
Geliştirici 1
Derecelendirme
(365)
Projeler
507
40%
Arabuluculuk
147
18% / 72%
Süresi dolmuş
99
20%
Yüklendi
2
Geliştirici 2
Derecelendirme
(27)
Projeler
43
7%
Arabuluculuk
18
6% / 78%
Süresi dolmuş
26
60%
Serbest
3
Geliştirici 3
Derecelendirme
(38)
Projeler
50
10%
Arabuluculuk
1
0% / 0%
Süresi dolmuş
8
16%
Serbest
Benzer siparişler
I'm looking to acquire a ready-made, consistently profitable Expert Advisor (EA) for MetaTrader 5 (MT5). The EA should be well-tested in both backtesting and live trading conditions and based on a clear, logical trading strategy (not a black box). I'm open to a variety of strategies as long as they are stable, explainable, and show consistent results
I am looking for a profitable trading bot (Expert Advisor) for MT5. The bot should have: Consistent performance with proven backtest and preferably live results Strong risk and money management features Easy setup and user-friendly inputs Please share your proposals with details and pricing
Hello, I am looking for an experienced QuantConnect/Lean developer for a trading strategy project on futures (Micro Nasdaq – MNQ) with Interactive Brokers integration (paper + live). The strategy includes several key features: • Multi-timeframe analysis (signal validation across multiple horizons) • Integration of economic news/events into the trading logic • Advanced risk management (daily stop, position sizing
I'm looking for an experienced MQL5 developer and trader to assist with the refinement, backtesting, and live trading optimization of a custom Expert Advisor (EA). The EA is based on a pure breakout strategy on XAUUSD. The main goals are: 1. Compile and straighten the code – ensure error-free, optimized, and professional coding standards. 2. Run and set up backtesting – produce results with gradual positive
Hey, I have an expert advisor that does very active, would be glad to have expert checking the whole EA logic, check the entire code to better understand the core strategy logic, then run thorough backtesting with the best possible settings and able to optimize the EA for an optimal trading performance and also create a suitable set file based backtesting report and optimization, applicant must be very reliable with
The EA will have 3 moving average and trade are executed upon cross over.The EA will finally be in MQL4 and MQL5. The EA will also be protected with a password. Further description will be given after agreement
Technical Skills: - Programming Languages: Proficiency in low-latency programming languages like C++ is crucial for developing high-speed trading algorithms. - Algorithmic Trading: Experience with algorithmic trading strategies, including market making, statistical arbitrage, and trend following. - Market Data Analysis: Ability to analyze large datasets and extract meaningful insights to inform trading decisions
I need a trading robot expert advisors/EA on MQL5. With the following strategies. Trend Following and Mean Reversion/Scalping and Range Trading* 1. *Trend Following and Mean Reversion*: Capture trends and profit from mean reversion opportunities. 2. *Scalping and Range Trading*: Profit from short-term price movements and range-bound opportunities. *Trend Following and Mean Reversion* - *Indicators:* - Moving
Hi guys Does anyone have experience with K-Means and MQL5? I would like to get an include file which I can use in my EAs. I would need to work with an ML Engineer who has deep understanding with K-Means. The include file should be used for regime detection. I can drop more information about my EA once I see that you qualify for the job :-) Cheers
READ CAREFULLY And if you have done 50 projects before then apply others i will reject SEPARATE LOGIC MUST BE SEPARATE AND ALL INPUTS MUST BE VISIBLE WITH FALSE TRUE OPTION TO ON OFF FUNCTION 🔺 BUY Signal (Boom Market) ✅ Pattern Formation (Spike-Based Buy Setup) First Spike : Large bullish spike candle . Mitigation Candle : Small bearish candle inside or partially inside the bullish spike. Second Spike

Proje bilgisi

Bütçe
30 - 50 USD
Geliştirici için
27 - 45 USD
Son teslim tarihi
from 1 to 5 gün