Type/to search

X48 - DayLight Hunter Strategy Optimization and Adaptation

Cryptocurrency
Created: 2023-12-18 12:19:41
Last modified: 2 years ago
1
Follow
1779
Followers

img

Overview

This strategy combines the classic Stochastic indicator and SMA indicator to achieve strong trend tracking capability. The core idea of the strategy is to identify trend direction signals with Stochastic indicator and filter with SMA indicator to improve signal quality. It also provides different risk modes to dynamically adjust risk and reward. In addition, the multi-timeframe judgement is utilized to optimize the entry timing and control trading risk.

Strategy Logic

  1. The strategy adopts an enhanced version of Stochastic indicator. The parameters include %K period, %K smoothing and %D smoothing to control the sensitivity.
  2. The SMA indicator parameters include Upper SMA and Lower SMA to filter signals for higher quality.
  3. Three risk modes are provided for selection based on risk preference, including Low Risk, Medium Risk and High Risk. The risk mode will impact the crossover threshold of Stochastic indicator to dynamically adjust risk and reward.
  4. Long signal is identified when Stoch crosses up the threshold and close price is below Lower SMA. Short signal is identified when Stoch crosses down the threshold and close price is above Upper SMA.
  5. Multi-timeframe judgement module verifies the signals across different time ranges to optimize entry timing and control trading risk.

Advantages

  1. The enhanced Stochastic indicator improves sensitivity for capturing market changes quickly.
  2. The dual SMA rail filtering mechanism effectively avoids fake signals and improves signal quality.
  3. Multiple risk modes allow users to flexibly adjust parameters based on their risk appetite.
  4. Multi-timeframe judgement optimizes the entry timing selection to reduce trading risk.
  5. The overall strategy framework is scientific, stable and adaptive.

Risks

  1. The strategy does not have a stop loss mechanism itself. Manual stop loss is needed to control the downside risk.
  2. High signal frequency may lead to over trading and increased transaction costs.
  3. The strategy is sensitive to parameters and risk mode settings which need optimization for best results.
  4. Large drawdowns may happen. It may not suitable for full position trading. Proper position sizing is important.

Solutions:

  1. Set proper stop loss ratio based on market volatility to maximize risk control.
  2. Adjust Stoch parameters to reduce signal frequency, or set minimum take profit to avoid unnecessary trades.
  3. Low Risk mode is recommended as baseline. Adjust other parameters based on backtest results.
  4. Control position sizing and average up exposure to reduce per trade risk.

Enhancement Opportunities

  1. Comprehensive parametric optimization on Stoch and SMA to find the optimal parameter combination.
  2. Increase the number of multi-timeframe judgements for more reference and better entry decisions.
  3. Introduce dynamic stop loss mechanisms like ATR Trailing Stop to better limit downside risk.
  4. Build signal filtration and confirmation mechanisms like volume to avoid traps.
  5. Add position sizing module to actively adjust position size based on market conditions to lower per trade risk exposure.

Summary

This strategy combines the strengths of Stochastic and SMA indicators to achieve strong trend tracking capability. The framework is solid and indicator application is fluid. By controlling parameters and risk modes, the nature of the indicators is restored for better stability. The multi-timeframe judgement also enhances adaptiveness across products and timeframes. Overall it has good versatility and huge potential for further optimizations and enhancements.

Source
Pine
/*backtest
start: 2023-11-17 00:00:00
end: 2023-12-17 00:00:00
period: 1h
basePeriod: 15m
exchanges: [{"eid":"Futures_Binance","currency":"BTC_USDT"}]
*/

//►►►► Description ►►►►
//1. The Original Pine Script
//- Stochastic
//- SMA
Strategy parameters
Strategy parameters
Position
size
color_Net
=== Mode Trade [Recommend Mode is ⭐Trend and ⭐Low Risk] ===
⚖️ Mode For Trade [Oneway / Hedge / ⭐Trend]
⚖️ Risk Signal Mode [⭐Low / Medium / High]
Stochastic Setting
%K Length
%K Smoothing
%D Smoothing
=== 🧮 SMA Filter Mode ===
🧮 SMA High and Low Filter Mode
SMA High
SMA Low
=====🆘🆘🆘 TAKE PROFIT & STOP LOSS BY [%] 🆘🆘🆘=====
🆘 Take Profit & Stop Loss By Percent (%)
🆘 TP [LONG] % >> [OneWay Only]
🆘 TP [SHORT] % >> [OneWay Only]
🆘 Stop Loss % [All Mode / 1st Position]
🆘 TakeProfit by PNL ($) eg. (0.1 = 0.1$)
🆘 Spread Point Size(Eg. 35 Point or 350 Point From Your Broker Digits)
===💮💮💮 Hedge / Martingale Mode 💮💮💮===
💯 Hedge Point Range / Martingale Range
✳️ Martingale For Hedge Multiply [default = 2]
════════⌚⌚ INPUT BACKTEST TIME RANGE ⌚⌚════════
Start
End
═ Bot Setting ═ n >> If You Dont Use Bot Just Pass It
Alert Message for BOT
TimeFrame Text Alert
= PNL MONITOR SETTING =
Monitor Profit&Loss
Comment
All comments (0)
No data
No data
  • 1
iPhone Download
Forums
PINE Language
© 2015 - ∞ INVENTOR PTE LTD (SG)