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
(70)
Projets
104
54%
Arbitrage
3
0% / 67%
En retard
8
8%
Travail
2
Développeur 2
Évaluation
(130)
Projets
167
37%
Arbitrage
4
25% / 50%
En retard
13
8%
Chargé
3
Développeur 3
Évaluation
(63)
Projets
68
25%
Arbitrage
12
42% / 42%
En retard
4
6%
Gratuit
4
Développeur 4
Évaluation
(409)
Projets
537
75%
Arbitrage
9
44% / 0%
En retard
24
4%
Gratuit
Commandes similaires
RSI 9 level 90/10 EA Indicators are 1. PSAR with step 0.01 max 0.02 2. Zigzag 3. SwR 1. At the close of candle at 0630 Pacific Standard Time. draw up and down of candles at 0625 and 0630 including the wick 2. Allow a breakout of either trend on up for buy and down for sell 3. Before buy. Ensure PSAR is in the buy position of candles above the PSAR line dot (Allow entry in input for setting) 4. TP1 on *% eg. 60%
I need a gold scalper EA which can trade in real environment. EA should open trades based on candlesticks close. Must have TP, Open SL, and should have DD control settings. If you can do just let me know. I may meed a test to make sure it opens real trades
Good morning. I would like to create HFT bot to trade on Prop Firm without breaking the rules. It should scalp. EA should have SL, TP, BE and even Trail Loss inputs. The EA should also have daily loss and profits target so when met the EA stops for the day
EA improvements 60+ USD
Hi, I want to improve an existing EA Ability to modify the main time frame and indicators settings. I will give you clear specifications and I will send you the source code. Best regards
Basil 50+ USD
thanks alot Very nice concept , but if I want to write a price action indicator with multiple prices (high,low,close,open)which calculates indicator value based on i.e difference of high and low there is a problem of having only one array of data (m_source_data in CIndicator class),is there a way to work around this or do you suggest to modify the CIndicator class and make the m_source_data an array of (mqlRates or
I want to deal in triangular forex arbitrage trading. I want an automated trading robot for the same. It is also expected that the developer advises me about the setting up the operations. I live in India, so he/she must know the ethical way to do it, be it international broker account or whatever. I just need to start this sooner but in the efficient way. The developer is expected to have some experience and should
Alex 30+ USD
//+------------------------------------------------------------------+ //| PriceAction.mq4 | //| Copyright 2023, MetaQuotes Software Corp. | //| https://www.mql5.com | //+------------------------------------------------------------------+ #property copyright "2023" #property link " https://www.mql5.com " #property version "1.00" #property indicator_separate_window #property indicator_buffers 2 #property
**Technical specifications for the improvement of the ProNewsTrader advisor** 1. **Description of the current state of the advisor:** - The **News** advisor automatically trades on financial markets, focusing on news events. - In the current version, news is loaded from external sites that no longer work. - The **Stop Loss**, **Take Profit**, **Trailing Stop** levels and pending orders are implemented virtually. 2
hello here am looking for someone that can assist me in removing validation form my demo file and if anyone is interested dm the for more details i will be waiting to get any reply by some on that can assist me with this
I need an expert to trade Heiken Ashi candles according to the conditions in which Doji candles appear until signs of buying or selling appear, and to enter into trades after the Heiken Ashi candle above, using the scalping method, especially for gold and currency pairs with high liquidity. I have more details for those who want to prepare an expert

Informations sur le projet

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