PROTECTED SOURCE SCRIPT
已更新 Liquidity Raids

A raid/sweep occurs when price takes out a previous high/low i.e., price sweeps a level, grabs liquidity and reverses. When this occurs in higher time frames (HTF) like 1h, 4h, daily, etc., there's a greater chance for minor/major reversal/pullback in lower time frames (LTF). For clarification, this is not my concept - ICT students and price action traders call it "liquidity grab", some call it "stop hunt", some call it "evil market maker", etc. There are some indicators which plot this already, but none of them have what I need (multi-timeframe support and filtering swing points).
Typically, we look for raids in HTF, which is set to the timeframe parameter of the indicator. Then, we go into LTF for execution, and we'll see HTF raids plotted there (which greatly eases backtesting and execution). We can also check "filter swing points" to only show raids of swing points (3-candle pattern).
The above chart shows this indicator in action (1m chart showing raids from 15m with swing point filter enabled).
This indicator also supports setting alerts for raids.
Typically, we look for raids in HTF, which is set to the timeframe parameter of the indicator. Then, we go into LTF for execution, and we'll see HTF raids plotted there (which greatly eases backtesting and execution). We can also check "filter swing points" to only show raids of swing points (3-candle pattern).
The above chart shows this indicator in action (1m chart showing raids from 15m with swing point filter enabled).
This indicator also supports setting alerts for raids.
發行說明
Alert only on HTF bar close發行說明
Fix HTF alert發行說明
Allow only 1 or 2 alerts per HTF bar close發行說明
Major update- Adds support for raids into significant levels (Monday range, previous daily range, previous weekly range)
- Can display significant levels currently being monitored
- Also has the option to exclude normal raids (if you're only interested in level raids) or disable level raids (so that you can go back to the first version of the indicator)
- Alerts for raids into significant levels
NOTE: The timeframe defined will be used for all kinds of raids.
Could be buggy, but will fix bugs as I find :)
發行說明
Major update: Session raids- Support for raids on previous session highs and lows (Asia, London, NY, Sydney - all configurable in NY local time)
- Shows session ranges as boxes (with names), but can also be disabled if you have other indicators to do it
- Adds 5-bar pattern for swing points
- Also adds monthly highs and lows to the list of supported significant levels
發行說明
Auto-adjust DST so that session ranges don't get affected發行說明
- Updated default sessions to KZ (session names can now be configured)
- Bug on Monday range being extended on HTF (like daily) because of default line length (removed it entirely)
- Fixed wrong calculation of Monday range in legacy markets because of pine script bug in dayofweek indexes
- Optional labels for raids on levels
發行說明
Minor update: Make sessions DST friendly (allow specifying UTC/London/NY times)發行說明
Use session names on alerts發行說明
Remove raid lines beyond a specified number發行說明
- Removed capping for maximum lookback bars
- Supports specifying minimum pips required for raids
- Fixed buggy raids on equal highs/lows and 5-bar swing fractal
發行說明
Add filter to ignore raids outside of sessions and fix bug in repainting same raid multiple times發行說明
Support limiting maximum session boxes displayed發行說明
Support changing label sizes發行說明
Shorthand labels are supported for levels and they also optionally include prices.發行說明
Support displaying pips of raids and drawing session range lines (as an alternative to boxes)發行說明
Choch support- Added support for detecting choch based on pivots (in any higher timeframe relative to the current chart). You'll need to experiment with pivot lengths though.
- Chochs can be filtered to the first one occurring immediately after a raid.
- Alerts can be configured to trigger on either raids, or after first choch following raid, or both.
發行說明
Fixed bug when max. raids/chochs are limited to one.發行說明
Workaround for pinescript causing intermittent issues with drawing raid lines when changing timeframes.發行說明
- Got rid of pivot-based lookup for chochs. Instead going for swing highs/lows and market structure shifts. This is what works for me and what I find useful (not planning to go back to pivots again).- Also fixed lookback errors for higher values. We can now go for up to 5000 candles and sometimes more (which will take time, but raids will show up).
- Choch detection is activated whenever a swing point of interest is taken out (which includes candle closes as well, for which raids are not marked, however filters are taken into account for such swing points) and only chochs following raids are displayed (it complicates the code for me otherwise).
發行說明
Don't display raid or choch when timeframe is higher than configured發行說明
- Minor fixes
- Option for disabling raids, opposite choch,
- Display lines for daily, monthly, weekly and custom time (thinking about adding raids of open lines somehow)
- Swing points for chochs and raids are considered when they have 2 equal highs or lows in them (flexible 4-candle pattern instead of fixed 3-candles)
發行說明
Support customizing open lines and add 3 custom opens發行說明
Generalized padding for levels and added line style for opens and levels發行說明
Enable/disable opens based on checkbox發行說明
Alert once per bar close發行說明
Fixed some bugs and added open line history for one custom open (useful for true day open)發行說明
Support plotting and alerting swing formation發行說明
Increase labels count and support setting alert frequency.發行說明
Fix open lines history so that chart doesn't autofit發行說明
Display nearest external liquidity發行說明
Fixed bug in min pips filter發行說明
Update chart發行說明
Update chart發行說明
Add filter for min. highs/lows that need to be raided發行說明
Update script to reflect on broken API from TV受保護腳本
此腳本以閉源形式發佈。 不過,您可以自由且不受任何限制地使用它 — 在此處了解更多資訊。
If I've helped you somehow and you'd like to buy me a coffee...
Tron (TRC20): TL4nVSzFKqcuDE9uxPYZmizp2RdEUZseK8
ETH (ERC20): 0xf6999b434308486215fc637c45406a7e76aead85
SOL: ENz6uDencaBZ4F4NsvFqXdbMc6NjS71KQ5FHNUY3BUC6
Tron (TRC20): TL4nVSzFKqcuDE9uxPYZmizp2RdEUZseK8
ETH (ERC20): 0xf6999b434308486215fc637c45406a7e76aead85
SOL: ENz6uDencaBZ4F4NsvFqXdbMc6NjS71KQ5FHNUY3BUC6
免責聲明
這些資訊和出版物並不意味著也不構成TradingView提供或認可的金融、投資、交易或其他類型的意見或建議。請在使用條款閱讀更多資訊。
受保護腳本
此腳本以閉源形式發佈。 不過,您可以自由且不受任何限制地使用它 — 在此處了解更多資訊。
If I've helped you somehow and you'd like to buy me a coffee...
Tron (TRC20): TL4nVSzFKqcuDE9uxPYZmizp2RdEUZseK8
ETH (ERC20): 0xf6999b434308486215fc637c45406a7e76aead85
SOL: ENz6uDencaBZ4F4NsvFqXdbMc6NjS71KQ5FHNUY3BUC6
Tron (TRC20): TL4nVSzFKqcuDE9uxPYZmizp2RdEUZseK8
ETH (ERC20): 0xf6999b434308486215fc637c45406a7e76aead85
SOL: ENz6uDencaBZ4F4NsvFqXdbMc6NjS71KQ5FHNUY3BUC6
免責聲明
這些資訊和出版物並不意味著也不構成TradingView提供或認可的金融、投資、交易或其他類型的意見或建議。請在使用條款閱讀更多資訊。