EsIstTurnt

Intra-Candles

EsIstTurnt Updated   
*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.
Release Notes:
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.
Release Notes:
Updated plotcandle(o,h,l,c) values to use high and low values aswell
Release Notes:
Fixed timeframe auto selection method to more intelligently select between minutes, hours, days, weeks and months.
Open-source script

In true TradingView spirit, the author of this script has published it open-source, so traders can understand and verify it. Cheers to the author! You may use it for free, but reuse of this code in a publication is governed by House Rules. You can favorite it to use it on a chart.

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.

Want to use this script on a chart?