OPEN-SOURCE SCRIPT

Typical Sweeps: Pivot high/low boxes. Grade sweeps, Handles/Pips

تم تحديثه
Tool 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:
لقطة
ملاحظات الأخبار
-note the above 2 demo charts titles are mistakenly switched around
-Update: added optional price labels marking price at the extent of the chosen sweep box (default is toggled off)
ملاحظات الأخبار
-added box width input; added box border color option
ملاحظات الأخبار
-Added Alert conditions: Need to be manually set from indicator status line. Alert will always trigger to the latest freshly painted box. Alert level based on the indicator settings at the time of setting the alert.
ملاحظات الأخبار
-Added optional 'spikeyness' filter for Pivot highs/lows (default off): Use to filter-out smooth/unimpressive/weak pivot high&lows. Higher number for more spikey / less-rounded pivot highs & lows.
-Added Sweep spacings for use in Bond market too.
ملاحظات الأخبار
-added box height = zero option; for Alert condition where you simply want to get alert when pivot high/low is touched or peeped through
ملاحظات الأخبار
-added independent 'leftbars' and 'rightbars' for finding pivots; reduce 'rightbars' to confirm pivots faster, but at the cost of potentially less significant pivots
ملاحظات الأخبار
-Added 'Wait one bar' condition to avoid repainting; Default is toggled ON.
ملاحظات الأخبار
-added optional ATR(10) percentage input to determine box height / sweep distance; thus accounting for volatility differences throughout the day. Default is toggled OFF.
-percentage can be greater than 100. ATR length is set to 10 bars, this can be changed by editing line 36.
-thanks to SweetRoll for the idea
ATRChart patternsdaytradingforecastinggradesweepsictstandardsweepstopraidstoprunsweepstypicalsweep

نص برمجي مفتوح المصدر

قام مؤلف هذا النص البرمجي بنشره وجعله مفتوح المصدر، بحيث يمكن للمتداولين فهمه والتحقق منه، وهو الأمر الذي يدخل ضمن قيم TradingView. تحياتنا للمؤلف! يمكنك استخدامه مجانًا، ولكن إعادة استخدام هذا الرمز في المنشور يخضع لقواعد‎‎قوانين الموقع. يمكنك جعله مفضلاً لاستخدامه على الرسم البياني.

هل تريد استخدام هذا النص البرمجي على الرسم البياني؟


You can buy me a coffee here...

PayPal.Me/twingall
BTC: 3JrhUwNRnKyqhaa1n1AXKeAubNeEFoch6S
ETH erc20: 0x4b0400B1c18503529ab69611e82a934DDe4Ab038
ETH bep20: 0x1F0f03F184079bb1085F8C9dF3a8191C9f5869B3

إخلاء المسؤولية