Typical Sweeps: Pivot high/low boxes. Grade sweeps, Handles/PipsTool to show typical pip-grade/ handle-grade sweep distance above pivot highs and pivot lows
-In consolidation/ranging periods (i.e. most of the time); Highs/Lows may by swept by fairly consistent distances in typical stop raids.
-Idea is from ICT teaching on typical Pip-grade sweeps in FX (10,20,30pips). Designed to work on FX, Indices, Commodities, Bitcoin.
-Above chart shows S&P; sweeping below and then above by 5 handles.
///inputs///
~choose sweep distance handles ($) or pips: will auto-calculate depending on the asset: FX= pips; Indices/stocks/commodities = handles ($)
--(2,5,10,20,30,50,100, 500, 1000)
~choose pivot lookback: larger number for more significant swing highs/lows
~choose number of historical boxes to display
~toggle on/off Pivot high boxes and Pivot low boxes independently
~extend boxes fully to the right (default is not extend)
~toggle on/off text
~text & box formatting options
Bitcoin, hourly chart; Pivot lookback = 15; $100 sweep boxes:
Eur/Usd; 15m chart; Pivot lookback = 30; 10pip sweep boxes; Boxes extended fully to the right:
Stoprun
Significant PP - Swing Failure / Stop Run Alerts [QN]Tried to create a script for Swing Failure / Stop Run patterns. It is based on my QuantNomad - "Significant Pivot Reversal" Indicator.
It's quite tricky to code these kinds of patterns, so it's really not ideal. I alert when a candle cross pivot level but close below (above for bottom) it and previous close was below (above) it as well.
You can setup params for pivot points and also by how much it should cross pivot level with "SF ATR Mult".
I have in mind a few other things I'd like to test:
* Different types of pivot points
* Few recent pivot levels at once
* Pivots from higher timeframe
* Different types of "touching" levels
* etc.
Ideally, I want to create a strategy from it, but I'm far from it for now.
Do you have any ideas on how to make it better?
Original Significant Pivot Reversal Indicator: