All indicators

ANN RSI SUPER TREND STRATEGY

Nov 26, 2019

Static chart image
SignalsOscillatorsMachine LearningMoving AveragesVolatility

The ANN RSI SUPER TREND STRATEGY indicator provides a quantitative approach to trend following by combining Artificial Neural Network (ANN) data processing with a volatility-based SuperTrend mechanism. It aims to filter market noise and identify high-probability trend reversals by analyzing the relationship between RSI, MACD, and volume through a neural network layer.

Usage

The strategy is designed for automated or manual trend-following across various asset classes. It generates "Buy" and "Sell" signals based on the crossover of price and a dynamic stop line calculated from ANN-derived RSI values.

  • Long Signals: Occur when the price breaks above the volatility-adjusted short stop. This is highlighted by a green line and a "Buy" label.
  • Short Signals: Occur when the price breaks below the volatility-adjusted long stop. This is highlighted by a red line and a "Sell" label.

Users can utilize the backtesting parameters to evaluate the strategy's performance over specific historical periods.

Details

This tool utilizes a simplified Artificial Neural Network (ANN) architecture to process multiple market inputs, including volume tangents, Bollinger Band boundaries, and MACD histograms. The outputs of this neural layer are transformed using a Tanh activation function to produce a "seed" value. This seed is then processed via a Relative Strength Index (RSI) calculation, which serves as the multiplier for a SuperTrend-style trailing stop. This implementation combines the adaptive nature of neural networks with the disciplined risk management of trailing stops.

Settings

Backtest Period

  • Buy quantity: Sets the number of units to trade per signal.
  • Backtest Start/Stop: Defines the specific date and time range for strategy execution.

ANN & Indicators

  • RSI Length: The lookback period for the internal RSI calculation used by the neural network.
  • MACD Fast/Slow/Signal Length: Parameters for the MACD component used as an ANN input.

SuperTrend RSI Logic

  • RSI Period: The period for the final RSI calculation that determines the trend volatility.
  • RSI Multiplier: Controls the distance of the trailing stop from the price; higher values result in wider stops.
  • Take Wicks into Account?: Determines whether the strategy uses candle wicks or just closing prices to trigger trend flips.
  • Show Buy/Sell Labels?: Toggles the visibility of visual signal labels on the chart.

FAQ

How do I use the ANN RSI SUPER TREND STRATEGY?

Apply the strategy to your chart and adjust the RSI Multiplier and RSI Period to fit the volatility of your specific timeframe and asset.

Can I use this for automated trading?

Yes, the script includes strategy.entry functions for TradingView's backtester and alerts that can be linked to third-party automation tools.

How can I access ANN RSI SUPER TREND STRATEGY?

You can get access on the LuxAlgo Library for charting platforms like TradingView, MetaTrader (MT4/MT5), and NinjaTrader for free.

Free indicator

Get free access to this indicator on the platforms below.

TradingView
NinjaTrader
MetaTrader 4/5

Unlock the entire LuxAlgo Library

Every indicator, every strategy, full charts, and complete access to Quant — our AI agent.