Trendoscope

Next Pivot Projection [Trendoscope]

Trendoscope Wizard 업데이트됨   
Still experimental. Extending further on the divergence backtest results - in this script we try to project next 2 pivots (including one unconfirmed pivot)

🎲 Previous experiments
1. Divergence-Backtester
2. Divergence-Backtester-V2

🎲 Additions
  • Apart from collecting the stats on number of occurrences of HH, HL, LH, LL - this script also keeps track of average ratio for each levels and average bars.
  • Based on these data, we try to calculate the next pivot projections including possible bar and price.
  • Cloud covering the candles indicate historical levels of average HH, HL, LH, LL projections.

Hover on projection labels to find more details in tooltips.

🎲 Overall method in a nutshell

🎲 Going bit deeper
🎯 Unconfirmed Pivot and its projection - Last pivot of the zigzag is always unconfirmed. Meaning, it can potentially repaint based on further price movements. But, projection of the unconfirmed pivot will not change as it will be based on previous two pivots - both of which are confirmed.


🎯 Next Pivot Projection - Next pivot is projected based on last two pivots - which include last unconfirmed pivot. Hence, these projections can potentially repaint based on the last pivot repaint.


🎯 Historical projections displayed as cloud - Historical projection values are displayed as cloud around pivots.
A cloud above represents area from average lower high range to average higher high range. Cloud color is green if average ratio of pivot high is more than 1. Red Otherwise.
A cloud below represents area from average higher low range to average lower low range. Cloud color is red if average ratio of pivot high is more than 1. Green otherwise



릴리즈 노트:
Small update - cloud fill is based on the historical ratio of HH/LH and LL/HL instead of basing that on the average ratio. Average ratio can be misleading - it would have been nice to get the median instead. But, it is not easy to achieve this. Will keep trying to improve further ;)
릴리즈 노트:
Fixed a bug highlighted by @zeallot

The stats were adding once per bar. But, only need to add when there is pivot change.
릴리즈 노트:
Further corrections.
릴리즈 노트:
Added option to remove fills representing bullish and bearish sentiments

오픈 소스 스크립트

이 스크립트의 오써는 참된 트레이딩뷰의 스피릿으로 이 스크립트를 오픈소스로 퍼블리쉬하여 트레이더들로 하여금 이해 및 검증할 수 있도록 하였습니다. 오써를 응원합니다! 스크립트를 무료로 쓸 수 있지만, 다른 퍼블리케이션에서 이 코드를 재사용하는 것은 하우스룰을 따릅니다. 님은 즐겨찾기로 이 스크립트를 차트에서 쓸 수 있습니다.

면책사항

이 정보와 게시물은 TradingView에서 제공하거나 보증하는 금융, 투자, 거래 또는 기타 유형의 조언이나 권고 사항을 의미하거나 구성하지 않습니다. 자세한 내용은 이용 약관을 참고하세요.

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