OPEN-SOURCE SCRIPT
DST Dynamic CRT

CRT- DST Dynamic HTF Sweep Levels
Plots higher-timeframe (HTF) liquidity sweep levels in real time using lower-timeframe (LTF) confirmation.
### Features
* Dynamic HTF sweep detection (no need to wait for HTF candle close)
* Automatic timeframe pairing:
* 1m → 15m
* 3m → 30m
* 5m → 1H
* 15m → 4H
* Draws previous HTF:
* High
* Low
* Close
* Uses confirmed LTF candle closes to validate developing HTF sweeps.
* Removes invalid provisional levels if the completed HTF candle fails validation.
### HTF Validation
Levels are kept if the completed HTF candle satisfies **any** of the following:
* Closes back inside the previous HTF range.
* Bullish continuation:
* Previous candle bullish.
* Sweeps previous low.
* Closes above previous high.
* Bearish continuation:
* Previous candle bearish.
* Sweeps previous high.
* Closes below previous low.
* Bearish reversal:
* Previous candle bullish.
* Sweeps previous high.
* Current bearish candle closes below previous low.
* Bullish reversal:
* Previous candle bearish.
* Sweeps previous low.
* Current bullish candle closes above previous high.
### Inputs
* Show High Sweep
* Show Low Sweep
* Show Previous Close
* Line Colors
* Line Width
* Line Extension
Designed for traders who use liquidity sweeps, CRT/CISD models, ICT concepts, and HTF-to-LTF execution. It provides early visual confirmation while automatically filtering out invalid HTF sweeps at candle close.
Plots higher-timeframe (HTF) liquidity sweep levels in real time using lower-timeframe (LTF) confirmation.
### Features
* Dynamic HTF sweep detection (no need to wait for HTF candle close)
* Automatic timeframe pairing:
* 1m → 15m
* 3m → 30m
* 5m → 1H
* 15m → 4H
* Draws previous HTF:
* High
* Low
* Close
* Uses confirmed LTF candle closes to validate developing HTF sweeps.
* Removes invalid provisional levels if the completed HTF candle fails validation.
### HTF Validation
Levels are kept if the completed HTF candle satisfies **any** of the following:
* Closes back inside the previous HTF range.
* Bullish continuation:
* Previous candle bullish.
* Sweeps previous low.
* Closes above previous high.
* Bearish continuation:
* Previous candle bearish.
* Sweeps previous high.
* Closes below previous low.
* Bearish reversal:
* Previous candle bullish.
* Sweeps previous high.
* Current bearish candle closes below previous low.
* Bullish reversal:
* Previous candle bearish.
* Sweeps previous low.
* Current bullish candle closes above previous high.
### Inputs
* Show High Sweep
* Show Low Sweep
* Show Previous Close
* Line Colors
* Line Width
* Line Extension
Designed for traders who use liquidity sweeps, CRT/CISD models, ICT concepts, and HTF-to-LTF execution. It provides early visual confirmation while automatically filtering out invalid HTF sweeps at candle close.
סקריפט קוד פתוח
ברוח האמיתית של TradingView, יוצר הסקריפט הזה הפך אותו לקוד פתוח, כך שסוחרים יוכלו לעיין בו ולאמת את פעולתו. כל הכבוד למחבר! אמנם ניתן להשתמש בו בחינם, אך זכור כי פרסום חוזר של הקוד כפוף ל־כללי הבית שלנו.
כתב ויתור
המידע והפרסומים אינם מיועדים להיות, ואינם מהווים, ייעוץ או המלצה פיננסית, השקעתית, מסחרית או מכל סוג אחר המסופקת או מאושרת על ידי TradingView. קרא עוד ב־תנאי השימוש.
סקריפט קוד פתוח
ברוח האמיתית של TradingView, יוצר הסקריפט הזה הפך אותו לקוד פתוח, כך שסוחרים יוכלו לעיין בו ולאמת את פעולתו. כל הכבוד למחבר! אמנם ניתן להשתמש בו בחינם, אך זכור כי פרסום חוזר של הקוד כפוף ל־כללי הבית שלנו.
כתב ויתור
המידע והפרסומים אינם מיועדים להיות, ואינם מהווים, ייעוץ או המלצה פיננסית, השקעתית, מסחרית או מכל סוג אחר המסופקת או מאושרת על ידי TradingView. קרא עוד ב־תנאי השימוש.