Type/to search

Neural Network Super Trend Strategy

Cryptocurrency
Created: 2023-09-14 16:49:38
Last modified: 3 years ago
1
Follow
1781
Followers

Strategy Logic

This strategy combines a neural network model, RSI indicator and Super Trend indicator for trading.

The logic is:

  1. Build a neural network model with inputs including volume change, Bollinger Bands, RSI etc.

  2. The network predicts future price change rate

  3. Calculate RSI values and combine with predicted price change

  4. Generate dynamic stop loss lines based on RSI

  5. Go short when price breaks above up stop loss; go long when price breaks below down stop

  6. Use Super Trend trend judgment for filtration

The strategy leverages neural networks' ability to model complex data, with additional signal verification from indicators like RSI and Super Trend to improve accuracy while controlling risk.

Advantages

  • Neural networks model multidimensional data to determine trends

  • RSI stops protect profits, Super Trend assists judgement

  • Multiple indicators combine to improve signal quality

Risks

  • Requires large datasets for neural network training

  • Fine-tuning of RSI and Super Trend parameters needed

  • Performance depends on model predictions, uncertainties exist

Summary

This strategy combines machine learning with traditional techniques for efficiency with risk controls. But parameters and model interpretability need improvement.

Source
Pine
/*backtest
start: 2023-08-14 00:00:00
end: 2023-09-13 00:00:00
period: 2h
basePeriod: 15m
exchanges: [{"eid":"Futures_Binance","currency":"BTC_USDT"}]
*/

//@version=4
//ANN taken from https://www.tradingview.com/script/Eq4zZsTI-ANN-MACD-BTC/
//it only work for BTC as the ANN is trained for this data only
//super trend https://www.tradingview.com/script/VLWVV7tH-SuperTrend/
Strategy parameters
Strategy parameters
Buy quantity
Backtest Start Year
Backtest Start Month
Backtest Start Day
Backtest Start Hour
Backtest Start Minute
Backtest Stop Year
Backtest Stop Month
Backtest Stop Day
length
MACD Fast Length
MACD Slow Length
MACD Signal Length
RSI Period
RSI Multiplier
Take Wicks into Account ?
Show Buy/Sell Labels ?
Comment
All comments (0)
No data
No data
  • 1
iPhone Download
Forums
PINE Language
© 2015 - ∞ INVENTOR PTE LTD (SG)