Convert Tradingview strategy to MT4 EA

İş tamamlandı

Tamamlanma süresi: 17 gün

İş Gereklilikleri

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)



Yanıtlandı

1
Geliştirici 1
Derecelendirme
(27)
Projeler
43
7%
Arabuluculuk
18
6% / 78%
Süresi dolmuş
26
60%
Ücretsiz
2
Geliştirici 2
Derecelendirme
(224)
Projeler
283
42%
Arabuluculuk
15
13% / 47%
Süresi dolmuş
67
24%
Ücretsiz
3
Geliştirici 3
Derecelendirme
(221)
Projeler
369
66%
Arabuluculuk
10
50% / 0%
Süresi dolmuş
46
12%
Ücretsiz
4
Geliştirici 4
Derecelendirme
(68)
Projeler
111
26%
Arabuluculuk
17
6% / 71%
Süresi dolmuş
15
14%
Ücretsiz
Benzer siparişler
The logic is simple and sound. You just need to mark recent high and low on M5 timeframe and place buy and sell stop. I will provide proper instruction with word file and a ex4 file you just need to follow the instruction
MT4 Bot 30 - 40 USD
I have the PDF in English if you are interested in seeing it and we can handle the conversation with a translator I will be looking for great developer to bid for this project
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
Robo382 30+ USD
OLA /// a minha estratégia de operação automatizada seria assim onda de impulsao com correcao no nivel de 38,2 % com stop 14.6% ou seja fibo de 0% ao 100%
HI, I'm looking for an experienced person who can add buy/sell indications and Alerts on existing Pinescript along with little modification of the script and the script should connect to MT5 platform using pineconnector MT5 platform should excute trade instantly as based on the alerts/indications on tradingview script
I am looking for an EA that allows you to make profits every month. For this, before buying, I would like to have a history over more than one year to see how the EA behaves. I don't know if you're selling EAs that are already ready for use

Proje bilgisi

Bütçe
30 - 50 USD
KDV (22%): 6.6 - 11 USD
Toplam: 36.6 - 61 USD
Geliştirici için
27 - 45 USD
Son teslim tarihi
to 10 gün