LuxAlgo

Multi-Length Stochastic Average [LuxAlgo]

LuxAlgo Wizard 업데이트됨   
This indicator returns the average of stochastic oscillators with periods ranging from 4 to length. This allows for a slightly more reactive oscillator as well as having information regarding the position of the price relative to rolling maximums/minimums of different periods.

We introduce settings that allow for pre and post-smoothing, with selectable smoothing methods and periods for both steps.

Settings

  • Length: Period of the indicator, determine the maximum period of the stochastic oscillator used in the average
  • Source: Source input of the indicator
  • Pre-Smoothing (1st Input): Degree of smoothing applied to the source input
  • Pre-Smoothing (2nd Input): Pre-Smoothing Method
  • Post-Smoothing (1st Input): Degree of smoothing applied to the final oscillator output
  • Post-Smoothing (2nd Input): Post-Smoothing Method

Smoothing methods include a simple moving average, a triangular moving average, and a least-squares moving average (this method can induce overshoots during the post-smoothing step). The user can also select "None".

Usages

The "multi-length" aspect of technical indicators is something that hasn't been deeply explored yet such indicators can give us information regarding both short-term and long-term information which was the motivation for the creation of the indicator.

The Multi-length Stochastic Average allows us to quantify the price position relative to a multitude of highest/lowest levels.


In the example above the oscillator returns the average of stochastic oscillators with periods ranging from 4 to 20, as well as multiple rolling minimums with periods ranging from 4 to 20. We can see that when the price is equal to all rolling minimums the oscillator is equal to 0, the oscillator would return 100 if the price were equal to all rolling maximums with periods in that same range.

The oscillator can be interpreted like any scaled oscillator and can be used to estimate trend direction as well as trend strength.


Here we only make of use pre-smoothing by using a period 20 simple moving average. The indicator graphical elements such as colors/circles can help us determine potential directions trends might take.


Circles are displayed when the oscillator crosses over/under the 20/80 level. Such conditions offer better timing than waiting for the oscillator to be greater/lower than 50 and are less subjective to noise than simply looking at the direction taken by the oscillator. However, it can suffer from potential retracements in a trend more easily, this is illustrated in the chart above.
릴리즈 노트:
Minor change
릴리즈 노트:
Minor changes.

Get access to our exclusive tools: luxalgo.com

Join our 150k+ community: discord.gg/lux

All content provided by LuxAlgo is for informational & educational purposes only. Past performance does not guarantee future results.
오픈 소스 스크립트

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

면책사항

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

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