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
等级
(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%
空闲
相似订单
Hi everyone, I need an expert to write a script in MQL5 that will fetch and store OHLC price data for a specified time period for a range of specified symbols. The data will be saved in 4 separate Excel CSV format files, one file for Open price data, one file for High price data, one file for Low price data and one file for Close price data. In each CSV file, the dates will be listed vertically in column A, and the
I am looking for a skilled developer to create a trading strategy for NinjaTrader and TradingView. The strategy will be based on the following logic: Place a limit order if there is a price break of the premarket session (high and low of time session), specific wick liquidity (moves past a specific previous price/wick), or higher timeframe order block (specific two candles), or if a lower timeframe specific wick with
Hello Im looking for someone to build a Strategy for me in Pine Script and also be able to help Webhook it with alerts to Tradestation and Coinbase For Crypto it will be sent to coinable entering Buy and To alert for Close postion For Stocks similar as crypto Also would like like to be able to have the option to enter Shorts in script for use in futures I would like to also have setting in the Script for Settings
I am in search of a professional and experienced developer to convert my existing TradingView indicator into a fully functional trading robot for the MetaTrader 5 (MT5) platform. The chosen developer will be responsible for implementing the indicator's features and algorithms into a user-friendly, efficient, and reliable trading robot. apply if you are professional in the field
My strategy is very simple. I need someone who c an write this code for robot trading. this strategy is not very complex it is very simple. hope anyone will accept it
Looking to create a way to detect break of structure and market structure shift using the zigzag indicator. The script will look back a number of bars and plot all BOS and MSS
"I am seeking a skilled developer proficient in both TradingView and NinjaTrader 8 platforms to convert my trading strategies from TradingView Pine Script to NinjaScript. The ideal candidate should have experience in algorithmic trading and be able to accurately translate the logic and indicators used in TradingView to NinjaTrader 8. This conversion will enable me to execute my strategies seamlessly on the
Id Like to have a web based trading journal where i can import MT4/5, excel sheet or manual input. This page will require uses to register There has to be a performance dashboard of the journal
Please I have been going through some ideas and have come up with something I want to build something similar to this https://www.youtube.com/watch?v=ts4ux3Sr55Y . Please I need someone who can handle this for me .. share your idea and let’s get started
I need someone who can help me with a simple strategy for live execution on Ninja Trader: Basically if 2 candle ago is red and the previous candle close is higher than the high of 2 candles ago, go long at the open of 2 candles ago. Stop loss is at the low of 2 candles ago or last candle whatever is lower Target is 1RR : distance between entry and stop loss + entry so for example if entry is at 4010 and stop loss is

项目信息

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