Converting a script to EA for MT4 and Pinescript Strategy with backtest

Other Experts Scripts

Tâche terminée

Temps d'exécution 1 jour

Spécifications

Please i need someone to convert the below indicator script to an EA for MT4 and Pinescript Strategy with backtest.


//@version=4


study("Heikin Ashi Smoothed Buy Sell v4 ", overlay=true)

EMAlength=input(55,"EMA LENGTH?")


src = ohlc4

haOpen = 0.0

haOpen := (src + nz(haOpen[1])) / 2

haC = (ohlc4 + nz(haOpen) + max(high, nz(haOpen)) + min(low, nz(haOpen))) / 4

EMA1 = ema(haC, EMAlength)

EMA2 = ema(EMA1, EMAlength)

EMA3 = ema(EMA2, EMAlength)

TMA1 = 3 * EMA1 - 3 * EMA2 + EMA3

EMA4 = ema(TMA1, EMAlength)

EMA5 = ema(EMA4, EMAlength)

EMA6 = ema(EMA5, EMAlength)

TMA2 = 3 * EMA4 - 3 * EMA5 + EMA6

IPEK = TMA1 - TMA2

YASIN = TMA1 + IPEK

EMA7 = ema(hlc3, EMAlength)

EMA8 = ema(EMA7, EMAlength)

EMA9 = ema(EMA8, EMAlength)

TMA3 = 3 * EMA7 - 3 * EMA8 + EMA9

EMA10 = ema(TMA3, EMAlength)

EMA11 = ema(EMA10, EMAlength)

EMA12 = ema(EMA11, EMAlength)

TMA4 = 3 * EMA10 - 3 * EMA11 + EMA12

IPEK1 = TMA3 - TMA4

YASIN1 = TMA3 + IPEK1


mavi = YASIN1

kirmizi = YASIN



longCond=mavi>kirmizi and mavi[1]<=kirmizi[1]

shortCond=mavi<kirmizi and mavi[1]>=kirmizi[1]


trendState = kirmizi < mavi ? true : kirmizi > mavi ? false : na

closePlot = plot(kirmizi, title="Close Line", color=#009900, linewidth=10, style=plot.style_line, transp=90)

openPlot = plot(mavi, title="Open Line", color=#CC0000, linewidth=10, style=plot.style_line, transp=90)

closePlotU = plot(trendState ? kirmizi : na, transp=100, editable=false)

openPlotU = plot(trendState ? mavi : na, transp=100, editable=false)

closePlotD = plot(trendState ? na : kirmizi, transp=100, editable=false)

openPlotD = plot(trendState ? na : mavi, transp=100, editable=false)

fill(openPlotU, closePlotU, title="Up Trend Fill", color=#009900, transp=1)

fill(openPlotD, closePlotD, title="Down Trend Fill", color=#CC0000, transp=1)






last_signal = 0

long_final = longCond and (nz(last_signal[1]) == 0 or nz(last_signal[1]) == -1)

short_final = shortCond and (nz(last_signal[1]) == 0 or nz(last_signal[1]) == 1)


alertcondition(long_final, title="buy alarm", message="buy signal!!!")

alertcondition(short_final, title="sell alarm", message="sell signal!!!")

last_signal := long_final ? 1 : short_final ? -1 : last_signal[1]


plotshape(long_final, style=shape.labelup, location=location.belowbar, color=color.blue, size=size.tiny, title="buy label", text="BUY", textcolor=color.white)

plotshape(short_final, style=shape.labeldown, location=location.abovebar, color=color.red, size=size.tiny, title="sell label", text="SELL", textcolor=color.white)


Répondu

1
Développeur 1
Évaluation
(67)
Projets
102
54%
Arbitrage
3
0% / 67%
En retard
9
9%
Travail
2
Développeur 2
Évaluation
(126)
Projets
158
35%
Arbitrage
4
25% / 50%
En retard
13
8%
Travail
3
Développeur 3
Évaluation
(63)
Projets
68
25%
Arbitrage
12
42% / 42%
En retard
4
6%
Gratuit
4
Développeur 4
Évaluation
(401)
Projets
529
74%
Arbitrage
9
44% / 0%
En retard
24
5%
Travail
Commandes similaires
Hello please I need a developer to help me fix errors on my Ninjatrader 8 strategy I and make it work perfectly your expertise is need for this project kindly reach out to me and let's proceed
Hello, can you help me convert MT4 EA source code to MT5? I have two versions of an EA for MT4 that I have been using for quite a while and I want to move over to MT5. There are no additional indicators. Everything is inside the EA mq4. Also, could you provide a strategy guide in PDF format for me of both strategies, apply if you are professional enough in the field
"I'm seeking a skilled coder to assist in developing my custom Ninjatrader 8 strategy, ensuring flawless functionality without errors. Your expertise is essential for this project. Please contact me to discuss further details and proceed."
HI I HAVE A SENTIMENT DATA LIBRARY THAT I PURCHASED FROM SENTI FX FOR RETAIL SENTIMENT. WHAT IM LOOKING TO DO IS MAKE A BASIC INDICATOR IT HAS RETAIL POSTIONS LONG SHORT PERCENTAGE AND A RELATIVE SENTIMENT DATA. THAT WILL ALERT ME TO MY EMAIL
I am looking for a coder to code my custom Ninjatrader 8 strategy to make it work perfectly your professioalism is needed in the project Kindly cotact me now and let Proceed
I am looking for a coder to help me code my custom Ninjatrader 8 strategy and make it work perfectly without any error, your expertise is highly needed in this job kindly reach out to me and let proceed
I am looking for a developer to code my custom Ninjatrader 8 strategy and make it work perfectly, your expertise is highly needed for this project kindly reach out and let's proceed
Hello I am looking for a professional in building a stock trading robot and make it work perfectly Specifically, I want to build a robot for trading in options from the IOF your expertise is highly needed in this project Kindly reach out and let proceed
Need a tradin g robot 30 - 50 USD
I would like to create a robot (another version of a robot I already have) I currently have the source code but would like to have another robot that belongs to me but with different settings, if I provide you with the source code with all the settings are you able to remake me another robot with modifications? and if so what would be your price
I am in need of a developer to connect my TradingView signal with cTrader in other to make receive information and make it work perfectly your expertise is highly needed in this project feel free to reach out to me and let's get started

Informations sur le projet

Budget
30 - 50 USD
Pour le développeur
27 - 45 USD