TradingView
EsIstTurnt
2 apr 2023 10:51

Intra-Candles 

GOLD (US$/OZ)TVC

Descrizione

*For use with <=24 hour Hollow Candles *
Indicator for more informative candle plotting. Select from 2-6 lower timeframe candles and view the price action of the lower bars within the normal chart's candles. Plotting short time frame candles with a semi-transparent body lets you see reversals that occurred during the larger candle's formation. Use the information provided to inform your own trading decisions.

Note di rilascio

Lower timeframe is selected according to the current timeframe.multiplier value divided by the "# of Lower Timeframe Candles" selected in settings.
Check if array size is large enough then get the closing value using array.get for each value inside of the IntraBar array.
The first Intra Bar is plotted with the same opening value as the higher timeframe candle and the first value from the array
is used as it's close which also marks the beginning of a new Intra-Bar with the next value in the array, continue this
process for each Intra-bar value inside of the array.

Note di rilascio

Updated plotcandle(o,h,l,c) values to use high and low values aswell

Note di rilascio

Fixed timeframe auto selection method to more intelligently select between minutes, hours, days, weeks and months.
Commenti
ashzeglo
Could you be more descriptive and give more examples
lazarusburak
Could you be more descriptive and give more examples?
Altro