How It Works Chart Features House Rules Moderators For the WEB Widgets Stock Charting Library Feature Request FAQ Help & Wiki Twitter

# Smoothed Heiken Ashi Candles v1

1787 17
Heiken ashi candles smoothed with ema10
```//@version=2
study(title = "Smoothed Heiken Ashi Candles", shorttitle="Smoothed Ha Candles", overlay=true)

len=input(10)
o=ema(open,len)
c=ema(close,len)
h=ema(high,len)
l=ema(low,len)

haclose = (o+h+l+c)/4
haopen = na(haopen[1]) ? (o + c)/2 : (haopen[1] + haclose[1]) / 2
hahigh = max (h, max(haopen,haclose))
halow = min (l, min(haopen,haclose))

len2=input(10)
o2=ema(haopen, len2)
c2=ema(haclose, len2)
h2=ema(hahigh, len2)
l2=ema(halow, len2)

col=o2>c2 ? red : lime
plotcandle(o2, h2, l2, c2, title="heikin smoothed", color=col)```
//@version=2
study(title = "Smoothed Heiken Ashi Candles", shorttitle="Smoothed Ha Candles", overlay=true)

len=input(10)
o=ema(open,len)
c=ema(close,len)
h=ema(high,len)
l=ema(low,len)

haclose = (o+h+l+c)/4
haopen = na(haopen) ? (o + c)/2 : (haopen + haclose) / 2
hahigh = max (h, max(haopen,haclose))
halow = min (l, min(haopen,haclose))

len2=input(10)
o2=ema(haopen, len2)
c2=ema(haclose, len2)
h2=ema(hahigh, len2)
l2=ema(halow, len2)

col=o2>c2 ? red : lime
plotcandle(o2, h2, l2, c2, title="heikin smoothed", color=col)
thanks I like this!
Wealthysis
Hi,
I like your indicator. Its always important to make it simple.
Would you make this in histo version?
Thank you
andreas73
thank you very much. is there any example link for histogram version?
jackvmk
I only have a link for you with mt4 version, but only a picture not a code.

andreas73
it looks like they are only same colors with smoothed heiken, nothing more. like that:

//@version=2
study(title = "Smoothed Heiken Ashi Candles Histo", shorttitle="Smoothed Ha Candles Histo", overlay=false)

len=input(10)
o=ema(open,len)
c=ema(close,len)
h=ema(high,len)
l=ema(low,len)

haclose = (o+h+l+c)/4
haopen = na(haopen) ? (o + c)/2 : (haopen + haclose) / 2
hahigh = max (h, max(haopen,haclose))
halow = min (l, min(haopen,haclose))

len2=input(10)
o2=ema(haopen, len2)
c2=ema(haclose, len2)
h2=ema(hahigh, len2)
l2=ema(halow, len2)
col=o2>c2 ? red : lime

z=1
plot(1, color=col, style=columns)

jackvmk
That´s exactly what I wanted. I can see the colours even if the candles are too small. I put it on the upside of the charts. Marvellous!
Now Its a great sort of filter. Thank you
andreas73
thanks bro...can it be like buy arrow and sell arrow?? auto signal??
anmpatel
sorry, it is not strategy, there is no buy sell order.
jackvmk
Then how we should trade? Is it on color change or price cross on candle?
anmpatel
@anmpatel, I use set len and len2 at 20, allows a strong signal in a way, when I get crosses and color change the two give me a good signal on weather to short or long
good job sir and thank you very much regards from india
@Bornleader, thank you very much and respects.
This is great on longer time frames like 4H and 1D as it keeps you in trades when there's a pullback during a trend. Thanks for sharing jackvmk :)
maybach47
@maybach47, your welcome mate, thank you.
United States
United Kingdom
India
España
France
Italia
Polska
Brasil
Россия
Türkiye
Indonesia

한국
Home Stock Screener Forex Signal Finder Economic Calendar How It Works Chart Features House Rules Moderators For the WEB Widgets Stock Charting Library Priority Support Feature Request Blog & News FAQ Help & Wiki Twitter