Работа завершена

Время выполнения 17 дней

Техническое задание

Hello,


I would like to convert an automatic strategy from Tradingview to EA MT4.

The strategy to convert is:

Supertrend 2 strategy by breizh29 using * rajandran.r * Supertrend Indicator.


The EA MT4 must give the exact same results compared to TradingView Strategy.


I saw someone else made the same request.

So if you have already developed the conversion, this is excellent.

This is the code:


strategy("Super Trend 2", overlay=true, default_qty_value=100)

res = input(title="Main SuperTrend Time Frame", type=resolution, defval="120")

Factor=input(1, minval=1,maxval = 100)

Pd=input(1, minval=1,maxval = 100)



tp = input(500,title="Take Profit")

sl = input(400,title="Stop Loss")





Up=hl2-(Factor*atr(Pd))

Dn=hl2+(Factor*atr(Pd))

MUp=security(tickerid,res,hl2-(Factor*atr(Pd)))

MDn=security(tickerid,res,hl2+(Factor*atr(Pd)))



Mclose=security(tickerid,res,close)



TrendUp=close[1]>TrendUp[1]? max(Up,TrendUp[1]) : Up

TrendDown=close[1]<TrendDown[1]? min(Dn,TrendDown[1]) : Dn



MTrendUp=Mclose[1]>MTrendUp[1]? max(MUp,MTrendUp[1]) : MUp

MTrendDown=Mclose[1]<MTrendDown[1]? min(MDn,MTrendDown[1]) : MDn



Trend = close > TrendDown[1] ? 1: close< TrendUp[1]? -1: nz(Trend[1],1)

Tsl = Trend==1? TrendUp: TrendDown



MTrend = Mclose > MTrendDown[1] ? 1: Mclose< MTrendUp[1]? -1: nz(MTrend[1],1)

MTsl = MTrend==1? MTrendUp: MTrendDown



linecolor = Trend == 1 ? green : red

plot(Tsl, color = linecolor , style = line , linewidth = 2,title = "SuperTrend")



Mlinecolor = MTrend == 1 ? blue : orange

plot(MTsl, color = Mlinecolor , style = line , linewidth = 2,title = "Main SuperTrend")



plotshape(cross(close,Tsl) and close>Tsl , "Up Arrow", shape.triangleup,location.belowbar,green,0,0)

plotshape(cross(Tsl,close) and close<Tsl , "Down Arrow", shape.triangledown , location.abovebar, red,0,0)



up = Trend == 1 and Trend[1] == -1 and MTrend == 1 

down = Trend == -1 and Trend[1] == 1 and MTrend == -1 

plotarrow(up ? Trend : na, title="Up Entry Arrow", colorup=lime, maxheight=60, minheight=50, transp=0)

plotarrow(down ? Trend : na, title="Down Entry Arrow", colordown=red, maxheight=60, minheight=50, transp=0)





golong = Trend == 1 and Trend[1] == -1 and MTrend == 1 

goshort = Trend == -1 and Trend[1] == 1 and MTrend == -1 



strategy.entry("Buy", strategy.long,when=golong)

strategy.exit("Close Buy","Buy",profit=tp,loss=sl)

   

   

strategy.entry("Sell", strategy.short,when=goshort)

strategy.exit("Close Sell","Sell",profit=tp,loss=sl)



Откликнулись

1
Разработчик 1
Оценка
(27)
Проекты
43
7%
Арбитраж
18
6% / 78%
Просрочено
26
60%
Свободен
2
Разработчик 2
Оценка
(224)
Проекты
283
42%
Арбитраж
15
13% / 47%
Просрочено
67
24%
Свободен
3
Разработчик 3
Оценка
(221)
Проекты
369
66%
Арбитраж
10
50% / 0%
Просрочено
46
12%
Свободен
4
Разработчик 4
Оценка
(68)
Проекты
111
26%
Арбитраж
17
6% / 71%
Просрочено
15
14%
Свободен
Похожие заказы
Hey greetings.i will like to convert my tradingview pinescript script to Metatrader 5 expert Advisor EA . Kindly apply for this job if you can convert my tradingview script for mt5 EA.Thanks
Hello, I need experience and professional programmer that have minimum 500 projects finish for my expert advisor (mq4). I need this project finish quickly, and the function can running well like I need. My EA basicly using Consecutives Signals Candle, MA20, and ATR with some others parameters. If you programmer like I need, so can apply, IF NOT DONT APPLY! I will send the document completely when you apply. You can
ETF arbitrage robot 30 - 50 USD
👋 Hey Great Developer, can you help me with my project did you trading bot for ETF that ES and NQ futures If you have recent one so i can check it I will be looking for great developer to bid for this project
Hello. Id like to change the trailing stop loss mechanism and ATR take profit to do the following: Assuming I've lost 3 trades and my lot size is automatically adjusted to 0.03, with a fixed SL of 10 pips id be negative 30 points. But assuming the ATR closes the next trade with a profit of 5 pips meaning a total profit of -15 points. Id like for the system to be adjusted to maintain the current lot size until a
I'm in need of an experienced Meta 4 expert who can solve two specific problems and improve the current Martingale and Pyramid strategies within my EA. - Bug Fix: The EA is currently facing an issue where orders are not being executed correctly. This is causing a signal matching error and leading to potential losses. The primary task is to resolve this bug and ensure the EA executes trades accurately and as intended
Hi there! I am looking to automate one of my trading strategy, fully info will be provided via pdf If you are an experienced programmer please feel free to apply for the job. Just to make sure that i will not assign anyone before i see and test the file as i been scammed many times by now " assigning the job and loosing money because i didn't receive the files... " Also to mention that i am looking for a low budget
Hi everyone, I’m excited to connect with someone who can help me test and optimize a strategy and then code an EA bot. The strategy is based on engulfing theory. The pattern is identified on a 4-hour timeframe, and the buy or sell signal is confirmed on a 5-minute timeframe If you think you can assist, I’d love to hear from you! Thank you so much! Best regards, Kathrine
Hello, We need experience and professional programmer that have minimum 300 projects finish for my expert advisor (mq4). We need this project finish quickly, and the function can running well like We need. Our EA basicly using Consecutives Signals Candle, MA20, and ATR with some others parameters. If you programmer like We need, so can apply, IF NOT DONT APPLY! We will send the document completely when you apply
I am requesting the development of an MT5 Expert Advisor (EA) for trading the German Index (DAX) based on specific rules. The EA should operate on a 15-minute timeframe with normal candles and place trades based on conditions related to the market opening time in Germany. Trading Rules: 1. Timeframe: 15-minute chart 2. Market: German Index (DAX) 3. Candle Criteria: - The EA should focus on the 2nd 15-minute candle
I need an EA in based of this indicator. It have buffers. The owner told me it..., So I need an expert who can do this I will attached the file right now

Информация о проекте

Бюджет
30 - 50 USD
VAT (22%): 6.6 - 11 USD
Итого: 36.6 - 61 USD
Исполнителю
27 - 45 USD
Сроки выполнения
до 10 дн.