Heikin Ashi Smoothed Buy Sell to MQL5

MQL5 Indicators

Job finished

Execution time 6 days
Feedback from customer
It was my pleasure to work! Very good developer!
Feedback from employee
Great client. Was understanding as I sorted through some hiccups along the way.

Specification

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)




Responded

1
Developer 1
Rating
(25)
Projects
29
34%
Arbitration
3
67% / 0%
Overdue
1
3%
Free
2
Developer 2
Rating
(55)
Projects
96
40%
Arbitration
13
38% / 62%
Overdue
25
26%
Free
3
Developer 3
Rating
(34)
Projects
60
23%
Arbitration
11
73% / 9%
Overdue
3
5%
Free
4
Developer 4
Rating
(65)
Projects
95
36%
Arbitration
11
27% / 45%
Overdue
14
15%
Free
5
Developer 5
Rating
(38)
Projects
50
10%
Arbitration
1
0% / 0%
Overdue
8
16%
Free
6
Developer 6
Rating
(732)
Projects
1053
40%
Arbitration
47
49% / 23%
Overdue
84
8%
Free
7
Developer 7
Rating
(155)
Projects
239
70%
Arbitration
3
67% / 33%
Overdue
20
8%
Free
8
Developer 8
Rating
(130)
Projects
168
37%
Arbitration
4
25% / 50%
Overdue
13
8%
Loaded
9
Developer 9
Rating
(45)
Projects
59
44%
Arbitration
8
50% / 38%
Overdue
7
12%
Free
10
Developer 10
Rating
(6)
Projects
9
11%
Arbitration
1
100% / 0%
Overdue
0
Free
11
Developer 11
Rating
(409)
Projects
537
75%
Arbitration
9
44% / 0%
Overdue
24
4%
Free
12
Developer 12
Rating
(550)
Projects
827
73%
Arbitration
15
53% / 13%
Overdue
193
23%
Working
13
Developer 13
Rating
(119)
Projects
169
38%
Arbitration
9
78% / 22%
Overdue
15
9%
Free
14
Developer 14
Rating
(481)
Projects
510
53%
Arbitration
10
60% / 20%
Overdue
3
1%
Free
15
Developer 15
Rating
(42)
Projects
88
14%
Arbitration
31
29% / 55%
Overdue
36
41%
Working
Similar orders
I HAVE A SQ EA AND IT NEEDS TO RUN WITH 3 SETS WITH DIFFERENT TIME CONFIGURATION. Basically the trade logic will read different input values for the same parameter with the same and/or different timeframes and manage trades accordingly and individually. If it is a trouble, timeframe can be ignored and we can continue only with the parametrization
I need to make several modifications to an EA (Expert Advisor) and would appreciate it if you could provide your most competitive quote for these edits. Please let me know your best price for completing these changes, as I’m looking to get this done promptly and effectively. Thank you
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 want a combined Standard deviation channel and Fibonacci channel indicators into just one indicator. The standard deviation channel lines would have same characteristics as the Fibonacci lines in terms of format (adjustable width, colors, type, size etc.). I want unique buffer values for all the lines (for both the 3 upper and 3 lower STD.DEV lines and the same for the Fibonacci channel lines) which would be
A green point should be added at the Low point of candlesticks in the oversold zone—it is the L point. If there is at least one L point between two H points, search for a LL point in the interval between two H points. The candlestick with the lowest Low price will be the LL point. Generally, the LL point is not necessarily an L point. Search for candlesticks with the lowest Low price. If there is at least one H point
Trading robots are programs, which operate according to underlying algorithms. An algorithm is a set of actions that need to be performed in response to certain events. For example, the most common task in algo trading is the identification of the "New bar" event. When the event occurs, the robot checks the emergence of trading signals and acts accordingly. Before you decide to program or order a trading robot, you
RRB 50 - 400 USD
The overbought zone is determined as candlesticks, at which the indicator value Value > Lmax (Lmax=-20). The oversold zone is determined as candlesticks, at which the indicator value Value < Lmin (Lmin=-80). The values of Lmax and Lmin should be included in indicator parameters. A yellow point should be added at the High point of candlesticks in the overbought zone—it is the H point. A green point should be added at
At bot 30+ USD
Help me to trade create orders for me and analyze the markets and decide when is a good time to buy or sell. Determine which pairs are best to use to trade with and indicate trading signals to me
Fair Value Gap Scanner 30 - 100 USD
Hi, Greetings. Can somebody revert with an offer to code a FVG Scanner across Forex Pairs / Time Frame Selection / Alert please in order to support a Trading Strategy where entries are considered with the market direction confluence such as a Half Trend / Semafor Indicator. Look forward to hear back. Kind Regards. Anton
Project Description : I need an experienced programmer to convert the TradingView indicator "CURRENCY STRANGHT CHART by boitoki" into a MetaTrader 5 (MT5) format. The indicator should function identically to the original and be fully compatible for integration into an Expert Advisor (EA) on MT5. Requirements : Convert "TTD Middle Right Normal" from TradingView to a .mq5 file for MT5. Ensure all indicator features and

Project information

Budget
50 - 150 USD
VAT (21%): 10.5 - 31.5 USD
Total: 60.5 - 181.5 USD
For the developer
45 - 135 USD
Deadline
from 1 to 5 day(s)