An attempt at programming the logic from the Inner Circle Trader (ICT) 2022 Mentorship Model. It's not perfect by any means, and NOT intended as a substitute for learning the model itself. I just wanted to share what I’ve been able to make thus far. PLEASE read this description thoroughly before reaching out with questions.
How it works, as of the initial release (bullish example):
When major Sell Side Liquidity (SSL) is taken, this script will start looking for displacement through a recent swing high, marking a potential Market Structure Shift (MSS)
From the bar that created the MSS, displacement is deemed valid if the range of that bar is greater than the standard deviation of recent price history, multiplied by the “Displacement Strength” parameter. Valid displacement also requires that a Fair Value Gap (FVG) was created
Once the above conditions are met, the script will assume we are now seeking Buy Side Liquidity (BSL), and will continue to look for long entries in an FVG after subsequent displacement through swing highs. *This script will keep looking for long entries until price takes out BSL*
Similarly, if price took out BSL and displaced through a swing low, the script will only look for short entries in an FVG until an SSL pivot is reached (alerts can be configured to show these potential entries)
Settings:
Show Structure Breaks: show breaks of structure on the current timeframe
Show Liquidity Taken: show when major liquidity has been traded through
Show Liquidity Pivots: show all pivots that are being considered as liquidity
Structure Pivot Strength: determines how strong a local high/low must be for structural pivots on the current timeframe
Liquidity Multiplier: this number, multiplied by Structure Pivot Strength, will determine the pivot strength used to find valid liquidity, which should always be greater than the Structure Pivot Strength
BOS Type: “Close” will only count structure breaks when price closes through a prior pivot, whereas “Wick” will include structure breaks even if price only wicks through the prior pivot
Show Displacement: show bar coloring for valid displacement through a swing high/low
Show Displacement FVG: show FVGs that results from valid displacement
Displacement Type: use “Open to Close” to look for displacement using only the body of a candle, or “High to Low” to use the candle’s entire price range
Displacement Strength: higher values will look for more significant displacement candles, and vice versa
Max Bars to Extend FVG: if an FVG has not been overwritten or invalidated, it will extend to the right for a maximum of this many bars
I recommend lowering the values for Structure Pivot Strength and Liquidity Multiplier for larger chart timeframes, and increasing the values for smaller timeframes. I prefer keeping the displacement strength to >= 3, which would be 3 times the standard deviation of recent price history.
Versionshinweise
Added options for "FVG Fill Type" and optional alerts for liquidity raids
Dieses Skript wird als Closed-Source veröffentlicht und Sie können es frei verwenden. Sie können es favorisieren, um es auf dem Chart zu verwenden. Sie können den Quellcode nicht einsehen oder verändern.
Möchten Sie dieses Skript auf einem Chart verwenden?
Die Informationen und Veröffentlichungen sind nicht als Finanz-, Anlage-, Handels- oder andere Arten von Ratschlägen oder Empfehlungen gedacht, die von TradingView bereitgestellt oder gebilligt werden, und stellen diese nicht dar. Lesen Sie mehr in den Nutzungsbedingungen.