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

Other 专家 脚本

工作已完成

执行时间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
等级
(70)
项目
104
54%
仲裁
3
0% / 67%
逾期
8
8%
工作中
2
开发者 2
等级
(128)
项目
162
36%
仲裁
4
25% / 50%
逾期
13
8%
工作中
3
开发者 3
等级
(63)
项目
68
25%
仲裁
12
42% / 42%
逾期
4
6%
空闲
4
开发者 4
等级
(409)
项目
537
75%
仲裁
9
44% / 0%
逾期
24
4%
空闲
相似订单
Hello i need a developer who would be able to create ea that will generate report from history with many different variation, this script should read history from mt4 mt5 and output will be excel file
Hi , I need a script written for Auto trading bot to trade on Trading View. This is a simple strategy to trade Renko chart on Trading view. The trading bot will have rules for entry and exit. Stop loss and Take Profit. order size by x% of equity. Daily profit target in pips. I want an experienced Trading View Pine script coder please! Thanks
Looking for a skilled freelancer to create a simple indicator that displays key data directly on the chart during a backtest on MetaTrader 4. The indicator should show: - **Balance** - **Profit in $** - **Profit in %** I already have the sample in MT5 (.mq5 file), but I need it converted and optimized for MT4. This is a straightforward task with a quick turnaround time—just 2 hours. I'm offering $250 for this
Hi, I have a Compiled JForex strategy (.jfx file) I would like someone to convert it in to readable source code. Please let me know if you can do this task. Thank you
I want to make something automatic which EMA will automatically trade in my account. For this I want to make a simple robot I want to get this made automatically on a simple EMA
I need a professional who have the full knowledge in Ctrader and I want to add new idea for my ctrader https://ctrader.com/algos/indicators/show/3444/ Let me know if this is what you can do and the price to get it done. Thanks
I am looking for a skilled Thinkorswim script developer for a one-time project. Your task will be to combine 8 distinct Thinkorswim studies (I will provide the code for each) into one Lower Study. The final script should display histogram rows for the individual studies with a bubble color scheme of bright green, dark green, gray, dark red, and bright red
I need some who can develop my strategy and hand me over the source code... I will give you the specific area in the market i want to mark out and then set pending orders to execute once price move into the zone

项目信息

预算
30 - 50 USD
开发人员
27 - 45 USD