fadizeidan

ICT HTF Candles (fadi)

fadizeidan Aggiornato   
Plotting a configurable higher timeframe on current chart's timeframe helps visualize price movement without changing timeframes. It also plots FVG and Volume Imbalance on the higher timeframe for easier visualization.

With ICT concepts, we usually wait for HTF break of structure and then find an entry on a lower timeframe. With this indicator, we can set it to the HTF and watch the develop of price action until the break of structure happens. We can then take an entry on the current timeframe.

Settings
HTF Higher timeframe to plot
Number of candles to display The number of higher timeframe candles to display to the right of current price action
Body/Border/Wick The candle colors for the body, border, and wick
Padding from current candles The distance from current timeframe's candles
Space between candles Increase / decrease the candle spacing
Candle width The size of the candles

Imbalance
Fair Value Gap Show / Hide FVG on the higher timeframe
Volume Imbalance Show / Hide Volume Imbalance on the higher timeframe

Trace
Trace lines Extend the OHLC lines of the higher timeframe and the source of each
Label Show/Hide the price levels of the OHLC
Note di rilascio:
Fixed label display under settings
Note di rilascio:
Fixed Trace show/hide not working
Note di rilascio:
Fixed the current price label
Note di rilascio:
Major Update:
- Now supports up to 6 HTF candle sets
- Control over spacing between the candle sets
- Control over the trace and label lines per candle set
- Label above each candle set to identify it

Known Issue:
when using very large timeframe on small timeframe, showing tracelines may cause the indicator to error. This is due to limitation in how many bar backs is available on the smaller timeframe and Tradingview cannot find that starting point. The workaround is to hide trace lines on larger timeframes
Note di rilascio:
internal code cleanup
Note di rilascio:
Update:
- Added possible range option based on ATR calculation. Indicator will highlight both possible possible bullish and bearish ranges based on the average of previous X (configurable) candles. This gives an indication of possible up OR down range. Once range has been met, the highlighted range will be removed. Only first 3 ranges are shown by default since much higher timeframes will have very large ranges and can distort charts with Auto fit.
Note di rilascio:
UPDATE:
ROLLBACK of range due to performance issues. Calling request.security is causing performance issues.
Note di rilascio:
UPDATE:
Fixed an issue with candles not rendering when market is closed
Note di rilascio:
Clarification: There are two ways of displaying higher timeframe candles, by programmatically calculating it based on current timeframe, or by using request.security.

- Programmatically calculating provides real time update, however it does not work well for partials. for example, when the chart is on 3m, it fails to calculate 5m correctly. instead, it will calculate 6m. that is because the minimum of candles needed to calculate 5m will be two 3m candles.
- request.security is the preferred approach, however it is extremely slow and would not show live updated candles and that will result with price updating few seconds later, which would render this indicator useless

The approach I have taken is that if selected timeframe cannot be calculated based on the chart timeframe, then the timeframe will be hidden/ignored

Known bug: Monday on daily will be off because lower timeframe calculation includes Sunday, where on daily timeframe it is ignored
Note di rilascio:
Bug Fix:
1. When mitigated FVGs were hidden, they were still counted resulting in fewer FVGs being displaced.
2. The previous bug fix resulted in FVGs' right padding not calculating correctly.
Note di rilascio:
Rollback incorrect checkin
Note di rilascio:
UPDATE: Code is published under a new indicator with the same name
Note di rilascio:
FIX: Fix for wick colors when candle changes from bullish to bearish and vice versa
Note di rilascio:
Major Update:
- Refactored the code and cleaned it up
- Added Limit to next HTFs only setting that allows you to only display next 3 HTF candles for example
- Added Remaining Time label per request
- FVGs and V.I. now show on developing candles
- Changed how Trace lines work. Now they can be anchored to first or last set of HTF candles

Script protetto
Questo script è pubblicato con codice protetto, ma puoi comunque usarlo gratuitamente. Mettendolo tra i preferiti potrai applicarlo al grafico, senza però la possibilità di visualizzare o modificare il codice sorgente.
Declinazione di responsabilità

Le informazioni ed i contenuti pubblicati non costituiscono in alcun modo una sollecitazione ad investire o ad operare nei mercati finanziari. Non sono inoltre fornite o supportate da TradingView. Maggiori dettagli nelle Condizioni d'uso.

Vuoi usare questo script sui tuoi grafici?