Type/to search

Heikin Ashi Percentile Interpolation Trading Strategy

Common strategy
Created: 2023-12-25 11:02:25
Last modified: 3 years ago
1
Follow
1802
Followers

img

Overview

This strategy generates trading signals based on Heikin Ashi candlesticks. Specifically, buy and sell signals are considered based on the crossover of the Heikin Ashi close price and the 75th percentile price level, as well as the Heikin Ashi close price being above certain moving averages.

Strategy Logic

The strategy uses Heikin Ashi candlesticks instead of regular candlesticks for analysis. The smoothed nature of Heikin Ashi candlesticks helps identify trends and reversals more clearly. Specifically, the strategy combines percentile channels and moving averages to generate trading signals:

  1. A long signal is generated when the Heikin Ashi close crosses above the 75th percentile level.
  2. A sell signal is triggered when the Heikin Ashi close crosses below the 5-period moving average.

Stop loss and trailing stop are also used to control downside risk per trade.

Advantages

  1. Heikin Ashi candles clearly identify trends and promptly spot reversals.
  2. Percentile channels help determine overbought/oversold conditions to time entries and exits.
  3. The use of stop loss and trailing stop proactively controls risk.

Risks

  1. Heikin Ashi candles have lag by design, which may result in missing best entry/exit prices.
  2. Percentile channels do not completely pinpoint trend reversals, leading to potential whipsaws.
  3. Improper stop loss placement could either cut profits short prematurely or allow unacceptable losses.

To mitigate the risks, parameters like moving average periods and stop loss percentages may need adjustment.

Enhancements

  1. Test different moving average combinations to find optimal parameters.
  2. Fine-tune percentile channel lengths to better identify price “hot zones”.
  3. Incorporate additional indicators to confirm signals and avoid false signals.
  4. Implement dynamic stop loss distances.

Conclusion

This strategy combines Heikin Ashi candles, percentile channels and moving averages to form a systematic approach, capable of identifying trends and controlling risk via stop loss. Further performance improvement can be expected by optimizing parameters and incorporating complementary indicators.

Source
Pine
/*backtest
start: 2023-12-17 00:00:00
end: 2023-12-24 00:00:00
period: 45m
basePeriod: 5m
exchanges: [{"eid":"Futures_Binance","currency":"BTC_USDT"}]
*/

//@version=5
strategy("HK Percentile Interpolation One",shorttitle = "HKPIO", overlay=false, default_qty_type = strategy.cash, default_qty_value = 5000, calc_on_order_fills = true, calc_on_every_tick = true)

// Input parameters
Strategy parameters
Strategy parameters
Stop Loss (%)
Trailing Stop (%)
Lookback Period
Yellow
Purple
Minimum Holding Period
Comment
All comments (0)
No data
No data
  • 1
Forums
PINE Language
Get the app
iPhone Download
© 2015 - ∞ INVENTOR PTE LTD (SG)