PROTECTED SOURCE SCRIPT

Heikin Ashi Historical TF Developmental Bars

By Lemrin
An improvement to the built-in security(heikinashi()...) method, this indicator plots Heikin Ashi (HA) candles for an input timeframe (TF) on an underlying regular candlestick chart of a shorter TF. The improvement is that it plots the value of each in-development HA bar as it would have appeared while still repainting, for each underlying chart bar. The last chart bar of each TF matches the value available from security() calls and from HA charts directly.

For best results, be sure to use a HA TF greater than chart TF (I prefer 1 minute unless longer history is required).

1 hour HA on 1 minute underlying price chart
snapshot

4 hour HA on 1 minute underlying price chart
snapshot

V3: Release.
Candlestick Analysisdevelopmentheikin-ashiheikinashihistoricalmodifiedtftimeframe

Protected script

This script is published closed-source and you may privately use it freely.

Want to use this script on a chart?

Disclaimer