Lemrin

Heikin Ashi Historical TF Developmental Bars

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.
סקריפט מוגן
סקריפט זה פורסם במקור סגור ותוכל להשתמש בו באופן חופשי. אתה יכול להגדירו כמועדף כדי להשתמש בו בגרף. אינך יכול להציג או לשנות את קוד המקור שלו.
כתב ויתור

המידע והפרסומים אינם אמורים להיות, ואינם מהווים, עצות פיננסיות, השקעות, מסחר או סוגים אחרים של עצות או המלצות שסופקו או מאושרים על ידי TradingView. קרא עוד בתנאים וההגבלות.

רוצה להשתמש בסקריפ זה בגרף?