Idea is to convert to mql5 or metatrader 5 compatible.
Tradingview Script:
//@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)
Similar orders
I have four quite straightforward indicators in tradingview based on swing highs/lows and fair value gaps that I would like translated into MQL5. I have detailed descriptions of each one, plus the pine script available
This will be an update to a working EA. This EA consists of the following indicators: two Moving Averages, Stochastic oscillator, MACD, Moving averages Oscillator, and Momentum. I would like to modify the EA by adding new and modified trade rules, while keeping the rest of the EA in tack
Only 4 changes. - Add the option to the SL that is either the maximum or minimum. - Add the option to the Trailing Stop based on Ratios. - Add the option to the TP that is the minimum % of the daily balance reached, configurable. - Add the option to operate inversely. This means that the current EA now operates in the opposite direction to how it is currently operating
I’m currently looking for a skilled NinjaTrader expert to collaborate with on a few trading tool and strategy development projects. The ideal person should be highly experienced with NinjaScript, backtesting, and indicator/strategy automation. Familiarity with technical analysis concepts—especially moving averages, crossovers, and price action is essential. I'm building custom tools to improve trade execution and
Quote for Pinescript project first I am seeking an experienced Pine Script programmer to enhance an existing custom ZigZag-based Market Structure indicator. After successful delivery, the indicator will be further developed into an MQL5 Expert Advisor . Requirements: Review and revise the existing customised ZigZag Market Structure indicator (in Pine Script). Enhance the script to: Automatically draw support and
Hello expert developers, I Need Sierra Chart dashboard like TV layout. Will share image. Any developer who is an expert in this field should bid to this job for detailed info
I'm looking for a profitable EA that will do 100% in few days and also with low risk, strict money management., if you have one please get in touch with all the details on how it works. ill need to test a demo before we go through
Hi guys, we are looking for a buy sell indicator that places arrows on the chart (please make it with buffers so an ea can be made in the future) I'm not stupid and ill know very quickly if it's profitable or bot in the long term. We don't have a strategy so the developer would need to come up with the strategy as long as it's clearly profitable we will accept it. Since this platform is full of scammers we'll
Hello, I have a custom trading strategy that combines classic MetaTrader indicators with Bookmap-based order flow signals (like stop run, sweep, and market buy/sell volume). I’d like to know if you’re capable of creating an indicator and later an EA that can integrate signals from both platforms (MT4/MT5 + Bookmap or similar data source). I will share full logic after confirmation, but for now I just want to know: -
Hello Developers, I’m seeking a highly skilled and experienced MT5 developer to collaborate on a professional-grade trading system based on a strategy I’ve manually traded and refined over the past 6+ months on XAUUSD (Gold) . 🔹 Strategy Overview: The system, known as the Golden Trap Strategy , is a hybrid model that combines: 📈 Classic Technical Analysis on MT5: CCI (e.g., CCI 45) Williams %R (e.g., W%R 500)