OPEN-SOURCE SCRIPT

Trend-Following Combo-SuperTrend, EMA, Aroon, DMI, Laguerre RSI

Aktualisiert
This is a trend-following indicator which condenses two SuperTrend indicators -- one based on analysis over a shorter period of time (1.5, 7), and one based on analysis over a longer period of time (1.65, 100) -- into a single indicator which appears on your chart only when both the shorter- and longer-term analysis indicates a "SuperTrend" in the same direction.

Additionally, potential trade entry indicators are displayed in the form of up and down arrows when (by default) three of the following five indicators suggest that the market is trending in the same direction as both the shorter- and longer-term SuperTrend indicators:

  • EMA Crossover (8, 15)
  • Aroon Indicator (8)
  • Aroon Oscillator (8)
  • Directional Movement Index (DI +/-) (8)
  • Laguerre RSI (13)


You may update the parameters of any of the indicators to match your own preferences.

Additionally, you may also adjust the "Threshold" of indicators that must be in agreement with the SuperTrend to show a potential trade entry arrow. Bear in mind that if you set the Indicator Threshold too low, you will see more frequent trade entry arrows, many of which will not be profitable if taken. Similarly, set this value too high, and you will see fewer trade entry arrows that may not appear until after most of the "juice" in the trend has evaporated. Ideal values for the threshold seem to be between 2-4, depending on the symbol you are trading.

The following image shows all of the indicators referenced above on a 5-minute chart of the SPY during a single trading day:
Snapshot

And, here is the same period of time showing only the Trend-Following Combo indicator with default settings:
Snapshot

This indicator would not have been possible save for work contributed by the following:
Versionshinweise
Defined minimum and maximum values for the Indicator Threshold parameter.
Versionshinweise
I've added a feature that enables the indicator, by default, to confirm the direction of the SuperTrend on a chart of a different timeframe before showing any potential trade entry arrows. This may be disabled by unchecking the Get trend confirmation from longer timeframe? box in the indicator settings. The Confirmation Timeframe (1 day by default) may also be adjusted in the indicator settings.
Versionshinweise
Updated indicator thumbnail.
Versionshinweise
Updated indicator thumbnail to reflect settings I use when trading equities and index ETFs intraday.
Versionshinweise
null
Aroonaroon_oscillatorDirectional Movement Index (DMI)DMIExponential Moving Average (EMA)laguerreLaguerre Relative Strength Index (Laguerre RSI)Relative Strength Index (RSI)supertrend

Open-source Skript

Ganz im Sinne von TradingView hat dieser Autor sein/ihr Script als Open-Source veröffentlicht. Auf diese Weise können nun das Script auch andere Trader verstehen und prüfen. Vielen Dank an den Autor! Sie können das Script kostenlos verwenden. Die Nutzung dieses Codes in einer Veröffentlichung wird in unseren Hausregeln reguliert. Sie können es als Favoriten auswählen, um es in einem Chart zu verwenden.

Möchten Sie dieses Skript auf einem Chart verwenden?

Haftungsausschluss