PROTECTED SOURCE SCRIPT

Adoptive Supertrend - Multi Pivots

This is extension to Adoptive Supertrend Pivots indicator published here:

Adoptive Supertrend - Pivots


In this version, we make use of both high time frame and lower time frame pivots for efficient trailing of stops in case of bull run such as BTC. If we take example of BTC, no new pivot lows formed from 25th December. This means, our trailing stop is also stuck at ridiculously low level of 20k whereas BTC has nearly hit high of 35k.

스냅샷

Our approach to solve this is by looking at lower time-frame pivots for deriving our trailing stop-loss if stop-loss is too wide from the close price. If the stop-loss isn't wide and new daily pivot lows are forming every now and then, then this indicator will work same as the earlier version of Pivots based Adoptive Supertrend.

There seems to be issue in calculating lower time-frame Pivots and moving stop based on that while being in higher time-frame. Hence, we need to shift to lower time frame chart while making all the calculations such as ATR are done on higher time-frame.

Hence, if you are looking to trade on daily chart, it is advisable to use this indicator on 1H, 2H or 4H chart while keeping parameter HTFResultion set to 1D

Parameters are explained as below:

  • HTF Resolution : Main resolution on which we need to apply supertrend calculation based on pivots. ATR and Pivot HTF are calculated on this resolution.
  • Stop Distance Threshold : This is the minimum stop distance from close price in terms of percentage after which we can look for lower time-frame pivots for calculation of trailing stop. If stop loss keeps less than this percent, then lower time frame pivots are not used for calculating trailing stop loss.
  • ATR Parameters : We use only higher time-frame ATR. Hence, ATR is calculated based on just one ATR Period for both cases. But, we can chose to have different ATR Multiplier for HTF and LTF. Using slightly higher ATR multiplier for lower time-frame than that of higher time-frame is advisable.
  • Pivot Lengths : You can use different pivot lengths for higher and lower time-frames. We have removed Left and right pivot lengths for keeping it simple. Both will have same value based on selected pivot length for respective time-frames. Using higher Pivot length for lower time-frame is advisable to avoid frequent trailing.
Average True Range (ATR)supertrendTrend AnalysisVolatility

보호된 스크립트입니다

이 스크립트는 클로즈 소스로 게시되며 자유롭게 사용할 수 있습니다. 당신은 스크립트를 차트에 사용하기 위해 그것을 즐겨찾기 할 수 있습니다. 소스 코드는 보거나 수정할 수 없습니다.

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

면책사항