OPEN-SOURCE SCRIPT

Weighted Average Strength Index (WASI)

Weighted Average Strength Index (WASI)

The Weighted Average Strength Index (WASI) is a variation of the standard RSI. It uses the Weighted Moving Average (WMA) instead of the Running Moving Average (RMA), making it more responsive to recent price changes. The hypothesis is that this weighted calculation might better capture momentum shifts, providing traders with more timely insights.

How to Use:
  • Backtest WASI on your preferred assets and timeframes to evaluate its effectiveness for your strategy.
  • Use for trend following or mean reversion:
    - Overbought/Oversold (OB/OS) levels can signal potential mean-reversion opportunities.
    - Midline (50 level) crossovers can be used for trend-following strategies.
    - WASI and its moving average (MA) crossovers offer additional trend-following or reversal signals.


Parameters and Their Functions:
  • WASI Length: Determines the number of periods for WASI calculation. A longer length smooths the indicator but increases lag, while a shorter length makes it more sensitive. (When in doubt, go longer).
  • Source: The price source for the calculation (e.g., close, open, high, or low).
  • MA Type: Specifies the type of moving average applied to the WASI (options include SMA, EMA, WMA, HMA, and others).
  • MA Length: The number of periods for the moving average used on the WASI. Higher will lead to a smoother moving average.


Indicator Features:
  • Dynamic OB/OS Levels: Default overbought (70) and oversold (30) levels help identify potential reversal zones.
  • Midline Crossover: WASI crossing above or below the 50 level may indicate a trend shift.
  • WASI-MA Crossover: Crossovers between WASI and its moving average can signal trend-following or mean-reversion opportunities.


Disclaimer:
This indicator is a tool for analysis and should be used in conjunction with other forms of analysis or confirmation. Past performance does not guarantee future results.

meanreversionrangetradingrangingrelativestrengthRelative Strength Index (RSI)Trend AnalysistrendfollowingtrendtradingweightedmovingaverageWeighted Moving Average (WMA)wmas

오픈 소스 스크립트

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

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

면책사항