TradingView
Lemrin
Jul 3, 2018 11:48 AM

Heikin Ashi Historical TF Developmental Bars 

Description

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


4 hour HA on 1 minute underlying price chart


V3: Release.
Comments
dheerajsood
HI , can i access the source code please? Its very interesting work... thanks!
More