Modified Smoothed Heiken Ashi

This code is based on Smoothed HA candle which will work on all chart types
condition for BUY:
1. When close crosses Smoothed HA
2.Close should be in side upper band
3. BBW must be greater than the average

vice versa for sell
this code takes data from HA chart so that it can be applied on all chart type.
Bollinger band and Bollinger band width conditions added for removal of unwanted signals
Alert added so that you can apply alert and check it in real time performance
thanks to The Secret Mindset You tube channel from where I got the idea to convert this into a pine script indicator
smooth HA taken from "Smoothed Heiken Ashi Candles v1" at //@jackvmk
Versionshinweise: updated BBW length to 20 on screen
Open-source script

In true TradingView spirit, the author of this script has published it open-source, so traders can understand and verify it. Cheers to the author! You may use it for free, but reuse of this code in a publication is governed by House Rules. You can favorite it to use it on a chart.

Want to use this script on a chart?
An enthusiast Engineer and trader. I code my strategies in pine script.DM me or Mail Me for any Info at, you can donate me at PayPal on mentioned mail.


Hi, I really liked your work, tell me how to change the color in places, green top red down?
+1 Antworten
@lemoon38,you can change it in line no 38,65,62. If you are not able to do it yourself then mention all the colour you want explaining in chart (share chart link here) and i will do it for you.
lemoon38 badshah_e_alam
@badshah_e_alam, Thank you very much for your answer, I did it differently. Did I swap col = o2> c2? color.lime on line 36
@lemoon38, yes u are right if you want to change the color of Smoothed Heiken ashi bars.
Startseite Aktien-Screener Forex-Screener Krypto-Screener Wirtschaftskalender So funktioniert es! Chartmerkmale Preise Einen Freund empfehlen Hausregeln Hilfe Center Webseite & Brokerlösungen Widgets Charting Lösungen Lightweight Charting Library Blog & News Twitter
Profil Profileinstellungen Konto und Abrechnung Angeworbene Freunde Coins Meine Support Tickets Hilfe Center Private Nachrichten Chat Abmelden