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

Trabajo finalizado

Plazo de ejecución 3 días
Comentario del Ejecutor
Perfect client. His understanding is very quite good. I want to work with him again
Comentario del Cliente
He worked hard to develop what I needed. Very helpful.

Tarea técnica

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.

Han respondido

1
Desarrollador 1
Evaluación
(365)
Proyectos
507
40%
Arbitraje
159
17% / 74%
Caducado
99
20%
Trabajando
2
Desarrollador 2
Evaluación
(27)
Proyectos
43
7%
Arbitraje
18
6% / 78%
Caducado
26
60%
Libre
3
Desarrollador 3
Evaluación
(38)
Proyectos
50
10%
Arbitraje
1
0% / 0%
Caducado
8
16%
Libre
Solicitudes similares
I am looking of an Expert Advisor (EA) that has undergone independent validation and demonstrates a capability to successfully navigate prop firm challenges, as well as efficiently manage funded accounts. It is imperative that you provide a comprehensive explanation of the strategy utilized by your EA, along with a demo version that has a 30-day expiration. This will facilitate extensive back testing and forward
Hellow,l hope you are well,l am writing to place an order for a professional trading robot.l am looking for a reliable,well optimized robot that can trade efficiently,manage risk properly and deliver consistent performance in the market,I am particularly interested in a trading robot that uses a proven and transparent strategy,has strong risk management features,works well on common trading platforms,is suitable for
I am looking for an experienced MQL5 developer to build a professional MT5 software (indicator or semi-automated EA) for metals and major forex pairs. 📌 PLATFORM & MARKETS Platform: MetaTrader 5 Instruments: XAUUSD (Gold vs USD) XAGUSD (Silver vs USD) EURUSD GBPUSD USDJPY Trading styles: Scalping Intraday / short-term swing 🎯 MAIN OBJECTIVE I do NOT want an aggressive fully automated robot. I want a
The robot will take buy trades when the 2 ema cross over the 10 ema and price has closed above the 50 ema. The take profit and stop loss can be set as an optional level by the user. The robot will take sell trades when the 2 ema cross under the 10 ema and price has closed under the 50 ema. The take profit and stop loss can be set as an optional level by the user. The entry timeframe will be 15 minutes, but it could
I want to check if this indicator is repainting or not Whick mean the results of back testing is legit or not if anyone can help me to review it kindly to well to contact me i will be happy to work and go on long term work with anyone thanks
Specifications – Development of an MQL5 Expert Advisor (Reverse Engineering) Project context: I have access to a real trading history consisting of more than 500 trades executed over a period of approximately 3 years. These trades have been exported into a CSV file containing all available information, including date, time, symbol, order type, entry price, and exit price. Important: I do not have access to the
1.Sinyal Perdagangan : Sinyal beli: garis MACD utama memotong garis sinyal ke atas (macd_current>signal_current && macd_previous<signal_previous). Sinyal jual: garis MACD utama memotong garis sinyal ke bawah (macd_current<signal_current && macd_previous>signal_previous). Gambar di bawah menunjukkan kasus beli dan jual. 2. Posisi ditutup pada sinyal yang berlawanan: Posisi beli ditutup pada sinyal jual, dan posisi
Trading Bot Executes Trades on Specific Days via TradingView Alerts **As a** trader, **I want** to develop a trading bot that integrates with TradeLocker and MTS, **So that** when a TradingView alert (based on a 2,4,5,10,15,30 minute break and retest strategy whichever one) is triggered first. the bot will execute trades on both platforms, but only on specific days of the week. --- ## Acceptance Criteria 1
Project Description I am looking to collaborate with an experienced MQL5 / algorithmic trading developer who also has hands-on experience with Large Language Models (LLMs) and AI-driven systems. This is a long-term partnership opportunity , not a one-off paid freelance job. I bring 9 years of practical Elliott Wave trading experience , applied in live market conditions. The objective is to translate Elliott Wave
Hello, I’m looking for an experienced MT4 (MQL4) developer to convert the Lucky Reversal indicator from indicatorspot.com into a fully functional Expert Advisor (EA). Project Scope Code an MT4 EA that replicates the exact logic and signals of the Lucky Reversal indicator Trades should open and close automatically based on the indicator’s rules Must match indicator behavior 1:1 (no approximations) EA Requirements MT4

Información sobre el proyecto

Presupuesto
30 - 50 USD
Plazo límite de ejecución
de 1 a 5 día(s)