Electrified

SuperTrend+

Electrified Aktualisiert   
Based upon popular SuperTrend (AKA: ATR Trailing Stop) indicator with the following differences and improvements:

  • Defaults to using Volume-Adjusted WMA (VAWMA) for ATR. (Can still be configured to behave exactly like classic SuperTrend.)
  • Can use SMA, EMA, WMA, VWMA, and VAWMA instead of just SMA.
  • Confirmation close bars for avoiding false breaks.

Details:
If the confirmation closing bars value is greater than zero (default of two bars), the trend will only reverse if the price closes outside the boundary for that number of bars (does not need to be consecutive) or if the opposite side of the bar exceeds the boundary.
The confirmation bar count will reset if the trend has resumed (opposite boundary is broken).

Confirmation examples:
  • In a down-trend, but the previous two bars close above the boundary.
  • In a down-trend, but the low of the previous bar exceeds the boundary.
  • In a down-trend, but the high of the previous bar exceeds the boundary when confirmation bars are set to zero.


Versionshinweise:
Updated chart.
Versionshinweise:
Updated chart.
Versionshinweise:
Improved thumbnail.
Versionshinweise:
Allow for non-volume levels to be registered for VAWMA. Ensures charts with no volume still display what should be the same as WMA.
Versionshinweise:
Added ability to use maximum deviation to clean the true-range values. Existing behavior is unchanged.
A maxDeviation value of 0 (the default) produces an unfiltered ATR. Anything other than zero will filter out the ATR outliers.
Open-source Skript

Ganz im Spirit von TradingView hat der Autor dieses Skripts es als Open-Source veröffentlicht, damit Trader es besser verstehen und überprüfen können. Herzlichen Glückwunsch an den Autor! Sie können es kostenlos verwenden, aber die Wiederverwendung dieses Codes in einer Veröffentlichung unterliegt den Hausregeln. Sie können es als Favoriten auswählen, um es in einem Chart zu verwenden.

Haftungsausschluss

Die Informationen und Veröffentlichungen sind nicht als Finanz-, Anlage-, Handels- oder andere Arten von Ratschlägen oder Empfehlungen gedacht, die von TradingView bereitgestellt oder gebilligt werden, und stellen diese nicht dar. Lesen Sie mehr in den Nutzungsbedingungen.

Möchten Sie dieses Skript auf einem Chart verwenden?