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

작업 종료됨

실행 시간 3 일
피고용인의 피드백
Perfect client. His understanding is very quite good. I want to work with him again
고객의 피드백
He worked hard to develop what I needed. Very helpful.

명시

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.

응답함

1
개발자 1
등급
(365)
프로젝트
507
40%
중재
147
18% / 72%
기한 초과
99
20%
로드됨
2
개발자 2
등급
(27)
프로젝트
43
7%
중재
18
6% / 78%
기한 초과
26
60%
무료
3
개발자 3
등급
(38)
프로젝트
50
10%
중재
1
0% / 0%
기한 초과
8
16%
무료
비슷한 주문
HELLO GREAT DEVELOPER Hi, I'm looking for an experienced NinjaTrader 8 developer to complete an automated trading strategy. All custom indicators (4) are done, and I have a full spec document. I just need the strategy logic finalized—entry/exit rules, integration, position management, and testing. There’s a partial strategy file ready. Please let me know your availability, experience with multi-timeframe logic, and
to compile all the suitable markets for buy and place a buy for the shortest timeframe and place a sell for also a shortest timeframe it should work with all brokers and can automatically place a trade as long as its connected to the internet it should inform where the contracts are placed and for how long
I need an experienced Pine Script v5 developer to help finalize and package a custom strategy that has already been partially converted from TradeStation EasyLanguage. The core logic uses four key technical indicators: MACD crossover Chaikin Oscillator (volume-based) Directional Movement Index (DMI +/- crossover) Simple Moving Averages (SMA) Project Scope: 1. Fix and clean the current Pine Script code 2. Implement
ATAS trading bot. 40 - 70 USD
Hello expert developer i am interested in an ATAS trading bot. i already know what I want it to do. What are your terms regarding confidentiality? After I have hired you for a project, does the final product remain solely mine, and will it not be replicated? I am open to any suggestions on how it can be improved. or any limitation you may notice i'll be looking forward to expert developer only to work with thanks
I need an experienced developer to convert my MT4 EA based on the Super Trend indicator to MT5. The new EA should also include additional features. Essential modifications: - Incorporate additional indicators: Moving Average and PSAR. - Add custom alerts: Push and sound notifications. - Implement money management rules
I have a custom EA that I need optimized. I need it optimized for many pairs and the set files sent to me. The EA was created a few months ago, it works, but I need it optimized for it to run better
i am looking for an indicator that gives buy sell signal by placing arrows on the chart, signals must not repaint or be placed with an offset, i want it to be accurate enough so i can trade from signal to signal and actually make profit, do any one have a strategy and skill to create such an indicator, and also it is to mql5, ( Important is, It must have No repainting and No offset ), if you know it is something you
hello freelancers i need some one with a profitable ea for gold and dj30 i need the ea to be a scalping ea which places orders with sl and tp of 200 points for each trade and have a winning rate of more than 70 percent. if you have it already please apply for this
Hello, I m looking for experienced developer to code me indicator Market structure all in one in my EA MONEYPAL, to open trade on FVG separated by fractal signals.Thank you Regards
EMA CROSS OVER I NEED EMA CROSS OVER ROBOT THAT EMA 5,10,21 CONDITIONS 1 5 EMA ABOVE 21 CANDLE CLOSE BUY 2 5 EMA JUST BELOW EMA 10 TAKE PROFIT 3 5 EMA BELOW 21 CANDLE CLOSE SELL 4 5 EMA JUST CLOSE EMA 10 FROM DOWN TAKE PROFIT

프로젝트 정보

예산
30 - 50 USD
개발자에게
27 - 45 USD
기한
에서 1  5 일