Convert Tradingview strategy to MT4 EA

Auftrag beendet

Ausführungszeit 17 Tage

Spezifikation

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)



Bewerbungen

1
Entwickler 1
Bewertung
(27)
Projekte
43
7%
Schlichtung
18
6% / 78%
Frist nicht eingehalten
26
60%
Frei
2
Entwickler 2
Bewertung
(224)
Projekte
283
42%
Schlichtung
15
13% / 47%
Frist nicht eingehalten
67
24%
Frei
3
Entwickler 3
Bewertung
(221)
Projekte
369
66%
Schlichtung
10
50% / 0%
Frist nicht eingehalten
46
12%
Frei
4
Entwickler 4
Bewertung
(68)
Projekte
111
26%
Schlichtung
17
6% / 71%
Frist nicht eingehalten
15
14%
Frei
Ähnliche Aufträge
Dear Zhilwan Hussein, I hope this message finds you well. I would like to request some updates to the trading robot. The updates primarily involve the following: 1. Displaying Average Ranges: - Add lines on the chart to display the High and Low of the Average Daily Range (ADR), Average Weekly Range (AWR), and Average Monthly Range (AMR). I will provide a document that explains all the changes that needs to be made
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
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
ultra simple to use and 100% automated EA, you just need to drag it onto the chart XAUUSD M10 and indicate the percentage of risk you wish to take per trade. The EA uses a stop loss on each trade to secure all trades for maximum account security. EA does not use risky strategies, grids or martingales. Very profitable to use, and also have capability for copy trading. i am open to an exsiting Bot as long as it meets
I need an experienced developer who can turn my simply strategy to an EA on MT5 and MT4, will be using two EMAs and MACD and a risk management setting, please message me on time so we start work on it, waiting for you
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
I need to resolve some bugs that my indicator presents and pass it to mql5 The task will be done alone and only through anydesk, it is my way of working, if you do not have a problem with it, write to me privately to start working
I need a developer that can turn my strategy to an EA, We will be using Fib, some indicators and a risk management settings, please message me on time so we start work on it, waiting for you

Projektdetails

Budget
30 - 50 USD
MwSt (22%): 6.6 - 11 USD
Insgesamt: 36.6 - 61 USD
Für die Entwickler
27 - 45 USD
Ausführungsfristen
bis 10 Tag(e)