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

仕事が完了した

実行時間1 日

指定

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)


応答済み

1
開発者 1
評価
(66)
プロジェクト
101
53%
仲裁
3
0% / 67%
期限切れ
9
9%
仕事中
2
開発者 2
評価
(125)
プロジェクト
157
36%
仲裁
4
25% / 50%
期限切れ
13
8%
3
開発者 3
評価
(63)
プロジェクト
68
25%
仲裁
12
42% / 42%
期限切れ
4
6%
4
開発者 4
評価
(400)
プロジェクト
528
74%
仲裁
9
44% / 0%
期限切れ
24
5%
類似した注文
Are you using MetaTrader 4 for trading but wondering if it's time to switch to MetaTrader 5? We're here to guide you through the process and show you why upgrading could be a game-changer for your trading journey. Making the switch from MetaTrader 4 to MetaTrader 5 might sound daunting, but we're here to make it easy for you. Our team will handle the conversion process, ensuring that all your trading data and
My trading platform is showing some list of error and i want want to add some features to correct the Error. I need an Expert in this field with Experience to fix the issues for me Below is the Source File
I need smart, professional, and fast programmer for doing this project quickly, that have experience in EA with minimum 500 projects finish, and have good review and reputation from their client Share your link review, if you not qualified, dont apply! I will bidding the programmer from experience, review, reputation, price, and days working My EA using Moving Average, Average True Range, and using consecutives
Need a programmer to build an EA to do BUY/SELL based on indicator alerts. I dont have a source file of indicator but i have a alert file of indicator. If interested then please reply me back asap. thanks
Hi, I have the source code of an expert advisor, but it uses a lot of mqh files. I would like to have the source code so that i can see the exact entry conditions, the ordersend functions, sl and tp placing functions, etc. The file will be handed privately. Thank you
Hi, I'm looking for an experienced developer to create an Expert Advisor for MT5 based on variable distance and size order openings. The developer must have already completed similar work. Thanks
The future of the traders be a good traders and patient and humble person faithful loyalty to your job and last be a professional traders and helping a dream of us how to trade and etc,,,,,,,,,,,,,,,,,🤑
Executed every minute when the condition is met Added 3 adjustable parameters 01 Number of orders per order: 0.1 OR 0.01 LOT 02 The upper limit of the number of buy (sell) orders: 5 OR 10 03 ADX start condition: UP OR DOWN I NEED OPEN CODE
I need a simple equity protection EA. This EA will automatically close all open position when a certain margin level % is reached. For example if an account margin level % reaches 500% the EA must close all current opened positions automatically
HFT Scalper EA needed 50 - 500 USD
Overview Develop a high-frequency trading scalper EA for Forex markets Goal: exploit small price movements for rapid profits Key Requirements Trading Strategy Scalping strategy: buy/sell quickly to capture small price movements Use technical indicators (e.g., Moving Averages, RSI) to identify trading opportunities Risk Management Set stop-loss and take-profit levels Implement risk-reward ratio (e.g., 1:2) Order

プロジェクト情報

予算
30 - 50 USD
開発者用
27 - 45 USD