Cloak & Dagger Heikin-ashi

boitoki Updated   
This indicator is intended to reduce market noise by averaging "Heikin-ashi" a few more times.
You can set the number of averages and how the closing price is calculated.

The Modes:
There are several presets.
The "Mode 1" is more conservative and flips fewer times, but with less noise.
(Averaged by 5 times, Close calculated by oc2)

The "Mode 2" is more aggressive, with more flips and faster timing.
(Averaged by 10 times, Close calculated by ohlc4)

Triggers the inversion of the bar. It can be visualized and alerts can be set.
Release Notes:
Improved noise reduction (Mode 2).
Release Notes:
Program improvements.
Release Notes:
Program improvement.
Release Notes:
Program improved.
  • Removed zigzag option.
  • Added a trigger "Range contraction".
  • Added a trigger "Entry levels guide".
Release Notes:
Program improvements.
  • Added entry position indicator.
Release Notes:
Program improvements

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.


The information and publications are not meant to be, and do not constitute, financial, investment, trading, or other types of advice or recommendations supplied or endorsed by TradingView. Read more in the Terms of Use.

Want to use this script on a chart?