PROTECTED SOURCE SCRIPT

ICT HTF Candles (fadi)

Cập nhật
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
Phát hành các Ghi chú
Fixed label display under settings
Phát hành các Ghi chú
Fixed Trace show/hide not working
Phát hành các Ghi chú
Fixed the current price label
Phát hành các Ghi chú
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
Phát hành các Ghi chú
internal code cleanup
Phát hành các Ghi chú
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.
Phát hành các Ghi chú
UPDATE:
ROLLBACK of range due to performance issues. Calling request.security is causing performance issues.
Phát hành các Ghi chú
UPDATE:
Fixed an issue with candles not rendering when market is closed
Phát hành các Ghi chú
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
Phát hành các Ghi chú
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.
Phát hành các Ghi chú
Rollback incorrect checkin
Phát hành các Ghi chú
UPDATE: Code is published under a new indicator with the same name
Phát hành các Ghi chú
FIX: Fix for wick colors when candle changes from bullish to bearish and vice versa
Phát hành các Ghi chú
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
Phát hành các Ghi chú
Bug Fix:
- fixed timer update
Phát hành các Ghi chú
Bug Fix: Offset calculation fix (thanks HighendTrader for catching it).
Phát hành các Ghi chú
UPDATE:

Custom Daily Candle Open
ảnh chụp nhanh
Daily candles can now be customized to use Midnight, 8:30, or 9:30 open instead of the standard daily candle range.

Label Alignment
ảnh chụp nhanh
Two new label alignment settings:
Label Position
  • Both above and below the candles
  • Above the candles only
  • Below the candles only


Label Alignment
  • Align labels to be at same level
  • Follow the candles by displaying them right above the high/low


Day of Week
ảnh chụp nhanh
Show the day of week name above each daily candle.
Phát hành các Ghi chú
Bug Fix:
- Fixed timer label positioning
candlesCandlestick analysisChart patternsfvghighertimeframesHTFhtfcandlesictTrend Analysisvolumeimbalance

Mã được bảo vệ

Tập lệnh này được xuất bản mã nguồn đóng và bạn có thể sử dụng một cách tự do.

Bạn muốn sử dụng tập lệnh này trên biểu đồ?


Ngoài ra, trên:

Thông báo miễn trừ trách nhiệm