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の精神に則り、このスクリプトの作者は、トレーダーが理解し検証できるようにオープンソースで公開しています。作者に敬意を表します!無料で使用することができますが、このコードを投稿で再利用するには、ハウスルールに準拠する必要があります。 お気に入りに登録してチャート上でご利用頂けます。

チャートでこのスクリプトを利用したいですか?

免責事項