OPEN-SOURCE SCRIPT

Consecutive Unswept Lower Highs/ Higher Lows Counter

업데이트됨
Counts consecutive Lower Highs and Higher Lows; number resets to zero when previous pivot high or low gets swept

-To help give an idea of when a retracement / run-on-stops may be overdue. i.e. the higher the counter number grows, the longer we've gone without a proper retracement.

//inputs//
~pivot lookback/lookforward: increase this for more significant pivot highs and lows.
~number of pivot high 'counter' labels (pairs) to show in history.
~formatting options.
릴리즈 노트
-update to start the counter at 1 instead of 0
릴리즈 노트
-added optional 'spikey' filter for Pivot highs/lows (default off): Use to filter out smooth/unimpressive pivot high&lows. Higher number = more spiky / less rounded pivot highs & lows only
릴리즈 노트
-Update showcase chart; change default settings: 'Spikiness' filter default ON.
릴리즈 노트
-Added Alert conditions: alerts to be manually set by user (via the 3 dots on indicator status line)
릴리즈 노트
-Use ATR multiples for label offset vertical spacing; works on low $ unit price crypto assets now
릴리즈 노트
Added realtime sweep labels: choose consecutive pivot high and/or low threshold; label prints as bar is painting, when the pivot is swept (e.g. 5th consecutive higher low pivot low is swept => label print)
릴리즈 노트
-Added successive sweep labels: each sweep of a prior successively Lower High or Higher Low gets a label. e.g if it sweeps the last in a sequence of LHs, prints 'ʌ'; if it then sweeps the second last of the LHs, prints double 'ʌ', etc, etc...
스냅샷
릴리즈 노트
-updated display chart. Ignore March 18th 2023 update, that's been superseded with the above update.
릴리즈 노트
-allow independent toggle on/off of number labels and sweep labels; cleaned up code
릴리즈 노트
-added extra 'fixed' alert conditions, to allow default message to automatically print the number of consecutive LHs or HLs pivots reached
릴리즈 노트
-added condition to alert on realtime bar. Default is toggled OFF, which means alerts come in one bar later, but it avoids repainting issues.
-added simple alerts for 'pivot high confirmed' or 'pivot low confirmed'; irrespective of consecutive number, these will alert on any pivot high or low being confirmed.
consecutivecountertrendhigherlowslowerhighspivothighpivotlowPivot points and levelsretracementstopraidsweepsTrend Analysis

오픈 소스 스크립트

진정한 TradingView 정신에 따라, 이 스크립트의 저자는 트레이더들이 이해하고 검증할 수 있도록 오픈 소스로 공개했습니다. 저자에게 박수를 보냅니다! 이 코드는 무료로 사용할 수 있지만, 출판물에서 이 코드를 재사용하는 것은 하우스 룰에 의해 관리됩니다. 님은 즐겨찾기로 이 스크립트를 차트에서 쓸 수 있습니다.

차트에 이 스크립트를 사용하시겠습니까?


You can buy me a coffee here...

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

면책사항