Convert Pinescript indicator @version=2 to @version=4 Pinescript Tradingview format

MQL5 Integración Conversión

Trabajo finalizado

Plazo de ejecución 1 día
Comentario del Cliente
Fatemeh is really a great master. He managed to carry out Pinescript job which two previous developers failed. In a timely manner.
Comentario del Ejecutor
Very patient customer Express your request clearly. Everything is great Happy Trade

Tarea técnica

I need you to convert Pinescript code to latest version#4 format.

I will require to provide source code as demontration before job approval.

Please pay attention this job has nothing to do with MQL4 or MQL5 languages.

study("Multitimeframe Supertrend", overlay = true)

Factor=input(4, minval=1,maxval = 100)
Pd=input(10, minval=1,maxval = 100)

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

TrendUp=close[1]>TrendUp[1]? max(Up,TrendUp[1]) : Up
TrendDown=close[1]<TrendDown[1]? min(Dn,TrendDown[1]) : Dn

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

Trend15 = security(tickerid,"15",Trend)
Trend30 = security(tickerid,"30",Trend)
Trend60 = security(tickerid,"60",Trend)
Trend120 = security(tickerid,"120",Trend)
Trend240 = security(tickerid,"240",Trend)
TrendD = security(tickerid,"D",Trend)
TrendW = security(tickerid,"W",Trend)

Tsl15 = security(tickerid,"15",Tsl)
Tsl30 = security(tickerid,"15",Tsl)
Tsl60 = security(tickerid,"60",Tsl)
Tsl120 = security(tickerid,"120",Tsl)
Tsl240 = security(tickerid,"240",Tsl)
TslD = security(tickerid,"D",Tsl)
TslW = security(tickerid,"W",Tsl)

linecolor15 = Trend15 == 1 ? green : red
linecolor30 = Trend30 == 1 ? green : red
linecolor60 = Trend60 == 1 ? green : red
linecolor120 = Trend120 == 1 ? green : red
linecolor240 = Trend240 == 1 ? green : red
linecolorD = TrendD == 1 ? green : red
linecolorW = TrendW == 1 ? green : red

plot(Tsl15, color = linecolor15 , style = line , linewidth = 1,title = "SuperTrend15")
plot(Tsl30, color = linecolor30 , style = linebr , linewidth = 1,title = "SuperTrend30")
plot(Tsl60, color = linecolor60 , style = circles, linewidth = 1,title = "SuperTrend60")
plot(Tsl120, color = linecolor120 , style = cross,linewidth = 1,title = "SuperTrend120")
plot(Tsl240, color = linecolor240 , style = line , linewidth = 1,title = "SuperTrend240")
plot(TslD, color = linecolorD , style = line , linewidth = 2,title = "SuperTrendD")
plot(TslW, color = linecolorW , style = line , linewidth = 2,title = "SuperTrendW")

Archivos adjuntos:

TXT
specs.txt
289 b

Han respondido

1
Desarrollador 1
Evaluación
(12)
Proyectos
12
25%
Arbitraje
1
0% / 100%
Caducado
0
Libre
Solicitudes similares
Hey there, interested in your services for merging 2 pinescripts into one Ninjatrader Strategy. I have attached both scripts below and both will be running on Renko Charts. I added entry examples in the attachment as well. For this, I would like to add some user-defined variables such as Stop Loss and Profit Targets, or allow it to sync with my ATM strategies. Please advise if this would be possible. Additional
https://github.com/theshadow76/PocketOptionAPI https://lu-yi-hsun.github.io/pocketoptionapi/ i need someone to help with with connecting to this API and recieving signals from telegram channel i have created the app but can't make it connect with SSID and start trades and veiw these trades in realtime on the app if someone can help i would be thankful telegram : @sadscan
hi, just like mt5 plateform. there is one another new platefrom called TM9 whose website is( https://trademaster9.com/site/index.html ) i want you to create an API intigration to connect mt5 or mt4 plateform to this platform. i want you to create a copy trading software which can copy trade from mt5/mt4 to trade master 9 plateform. for more information please contact me directly. PRICE CAN BE NEGOTIATED. looking
I have a python script that connects MT5 to Deriv for binary trading which is having some bug. It stops executing trades after a while. I need someone to check the code and fix it. Negotiable price
Hi I am looking for some developer, who can develop WebPage which can display my open trades position, Trade History and Live Bid/Ask of my Watchlist. Frontend web app for customers/clients where they can login and see (Account info, Watchlist, Positions, History) Control Panel to create users and map user emails to MT5 account numbers etc

Información sobre el proyecto

Presupuesto
30+ USD
Para el ejecutor
27 USD
Plazo límite de ejecución
a 2 día(s)