Type/to search

Heiken Ashi and Super Trend Strategy

Cryptocurrency
Created: 2023-11-02 16:15:18
Last modified: 3 years ago
1
Follow
1779
Followers

img

Overview

The Heiken Ashi and Super Trend strategy is a trend-following strategy that combines the Heiken Ashi candlesticks and the Super Trend indicator. It aims to identify trend direction, trade with the trend, and exit quickly when the trend reverses, to minimize losses from non-trend trades.

Strategy Logic

Heiken Ashi candles are a special type of candlesticks that use the average of open, close, high and low prices to plot candle bodies, filtering out market noise and making the pattern clearer. The Super Trend indicator consists of two lines forming dynamic support and resistance to determine the trend direction.

The strategy first calculates the Heiken Ashi candles, then computes the Super Trend indicator based on the Heiken Ashi candles. Trading signals are generated when the price breaks through the Super Trend lines. Specifically, the strategy uses Heiken Ashi candles to calculate the true range, then derives the upper and lower bands of Super Trend using the range and average price. Long signals are generated when the price breaks above the lower band, and short signals when the price breaks below the upper band.

The Super Trend parameters are also optimized for best results, improving the sensitivity of the indicator. Also, a stop loss mechanism is implemented to control risks while locking profits.

Advantage Analysis

  • Heiken Ashi candles filter out noise for clearer signals.
  • Super Trend rapidly catches trend changes and generates timely signals.
  • Parameter optimization improves reliability of the indicator.
  • Built-in stop loss mechanism effectively controls risks.
  • High degree of automation by combining trend following and automated trading.

Risk Analysis

  • High automation requires close monitoring to avoid abnormalities.
  • Heiken Ashi may miss very small reversal signals when filtering noise.
  • Super Trend may generate false signals, causing premature entry or stop loss.
  • Improper stop loss placement can also lead to unnecessary losses.
  • Insufficient backtesting data may cause overfitting. Live results may deviate significantly from backtest.

Optimization Directions

  • Test more parameter combinations to further optimize Super Trend.
  • Add other indicators to confirm Super Trend signals and reduce false signals.
  • Optimize stop loss strategy to minimize unnecessary stops while locking profits.
  • Incorporate machine learning algorithms to train judgment of real trends using big data.
  • Use longer timeframes and more diverse historical data for backtesting to improve reliability.

Summary

The Heiken Ashi and Super Trend strategy is a trend following strategy. It identifies trend direction and trades with the major trend, while quickly stopping out on reversals. The strategy integrates Heiken Ashi's noise filtering and Super Trend's rapid trend change detection. Parameter optimization and stop loss design allow maximizing returns while controlling risks. Future optimizations may include further parameter tuning, additional signal confirmation, expanded backtesting data, etc. to enhance the strategy's stability and reliability.

Source
Pine
/*backtest
start: 2022-10-26 00:00:00
end: 2023-11-01 00:00:00
period: 1d
basePeriod: 1h
exchanges: [{"eid":"Futures_Binance","currency":"BTC_USDT"}]
*/

//@version=5

strategy("Heiken Ashi & Super Trend_ARM", overlay=true,  pyramiding=1,initial_capital = 10000, default_qty_type= strategy.percent_of_equity, default_qty_value = 100, calc_on_order_fills=false, slippage=0,commission_type=strategy.commission.percent,commission_value=0.02)
Strategy parameters
Strategy parameters
Factor
ATR Length
TP [%]
BACKTEST
start year
start month
start day
stop year
stop month
stop day
Comment
All comments (0)
No data
No data
  • 1
iPhone Download
Forums
PINE Language
© 2015 - ∞ INVENTOR PTE LTD (SG)