fadizeidan

ICT HTF Candles (fadi)

fadizeidan Diupdate   
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
Catatan Rilis:
Fixed label display under settings
Catatan Rilis:
Fixed Trace show/hide not working
Catatan Rilis:
Fixed the current price label
Catatan Rilis:
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
Catatan Rilis:
internal code cleanup
Catatan Rilis:
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.
Catatan Rilis:
UPDATE:
ROLLBACK of range due to performance issues. Calling request.security is causing performance issues.
Catatan Rilis:
UPDATE:
Fixed an issue with candles not rendering when market is closed
Catatan Rilis:
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
Catatan Rilis:
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.
Catatan Rilis:
Rollback incorrect checkin
Catatan Rilis:
UPDATE: Code is published under a new indicator with the same name
Catatan Rilis:
FIX: Fix for wick colors when candle changes from bullish to bearish and vice versa
Catatan Rilis:
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

Skrip terproteksi
Skrip ini dipublikasikan secara closed-source dan anda dapat menggunakannya dengan bebas. Anda dapat memfavoritkannya untuk digunakan pada grafik. Anda tidak dapat melihat atau mengubah kode sumbernya.
Pernyataan Penyangkalan

Informasi dan publikasi tidak dimaksudkan untuk menjadi, dan bukan merupakan saran keuangan, investasi, perdagangan, atau rekomendasi lainnya yang diberikan atau didukung oleh TradingView. Baca selengkapnya di Persyaratan Penggunaan.

Inggin menggunakan skrip ini pada chart?