OPEN-SOURCE SCRIPT
Updated Cloak & Dagger Heikin-ashi

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:
Triggers the inversion of the bar. It can be visualized and alerts can be set.
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:
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 improvementsRelease Notes
Library updated and refactored.Release Notes
added README url and code refactoring.Open-source script
In true TradingView spirit, the creator of this script has made it open-source, so that traders can review and verify its functionality. Kudos to the author! While you can use it for free, remember that republishing the code is subject to our House Rules.
For quick access on a chart, add this script to your favorites — learn more here.
Disclaimer
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.
Open-source script
In true TradingView spirit, the creator of this script has made it open-source, so that traders can review and verify its functionality. Kudos to the author! While you can use it for free, remember that republishing the code is subject to our House Rules.
For quick access on a chart, add this script to your favorites — learn more here.
Disclaimer
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.