OPEN-SOURCE SCRIPT

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

Обновлено
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:
снимок

And, here is the same period of time showing only the Trend-Following Combo indicator with default settings:
снимок

This indicator would not have been possible save for work contributed by the following:
Информация о релизе
Defined minimum and maximum values for the Indicator Threshold parameter.
Информация о релизе
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.
Информация о релизе
Updated indicator thumbnail.
Информация о релизе
Updated indicator thumbnail to reflect settings I use when trading equities and index ETFs intraday.
Информация о релизе
null
Aroonaroon_oscillatorDirectional Movement Index (DMI)DMIExponential Moving Average (EMA)laguerreLaguerre Relative Strength Index (Laguerre RSI)Relative Strength Index (RSI)supertrend

Скрипт с открытым кодом

В истинном духе TradingView автор этого скрипта опубликовал его с открытым исходным кодом, чтобы трейдеры могли понять, как он работает, и проверить на практике. Вы можете воспользоваться им бесплатно, но повторное использование этого кода в публикации регулируется Правилами поведения. Вы можете добавить этот скрипт в избранное и использовать его на графике.

Хотите использовать этот скрипт на графике?

Отказ от ответственности