jackvmk

Smoothed Heiken Ashi Candles v1

1493 17 345
Heiken ashi candles smoothed with ema10
Remove from Favorite Scripts Add to Favorite Scripts
//@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)
Reply
thanks I like this!
Reply
jackvmk Wealthysis
your welcome.
Reply
Hi,
I like your indicator. Its always important to make it simple.
Would you make this in histo version?
Thank you
Reply
jackvmk andreas73
thank you very much. is there any example link for histogram version?
Reply
andreas73 jackvmk
I only have a link for you with mt4 version, but only a picture not a code.

http://www.pimpmyea.com/wp-content/uploads/2014/01/HA_and_HAS_comparison.png
Reply
jackvmk 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)


Reply
andreas73 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
Reply
jackvmk andreas73
your welcome mate.
Reply
thanks bro...can it be like buy arrow and sell arrow?? auto signal??
Reply
jackvmk anmpatel
sorry, it is not strategy, there is no buy sell order.
Reply
anmpatel jackvmk
Then how we should trade? Is it on color change or price cross on candle?
Thanks in advance.
Reply
DMC PRO 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
Reply
good job sir and thank you very much regards from india
Reply
jackvmk Bornleader
@Bornleader, thank you very much and respects.
Reply
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 :)
Reply
jackvmk maybach47
@maybach47, your welcome mate, thank you.
Reply
Ideas Scripts Chart
United States
United Kingdom
India
España
France
Italia
Brasil
Россия
Türkiye
日本
한국
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
Private Messages Chat Ideas Published Followers Following Priority Support Public Profile Profile Settings Account and Billing Sign Out