Indicators and Parameters Use 3 moving averages (fast, medium, and slow). The type of moving average must be selectable between: DEMA, EMA, HMA, SMA, TMA, WMA. These must be editable parameters in the configuration. Default configuration: Fast MA: 13 Medium MA: 48 Slow MA: 100 Trend Filter (and trade direction) Buy scenario (long only): Fast MA > Medium MA > Slow MA. Sell scenario (short only): Fast MA < Medium MA < Slow MA. If neither condition is met, do not trade. Strength Filter (EMA Spread) The strategy must measure the distance between the selected MAs and convert it to ticks. There must be a parameter called MinEMASpreadTicks that defines the minimum distance required to allow trades. There must also be a configuration parameter to select which MAs are used to calculate the spread. The options must be: Fast MA vs Medium MA Medium MA vs Slow MA Fast MA vs Slow MA The strategy must only allow trades if the distance between the selected MAs is greater than or equal to MinEMASpreadTicks. If the spread is smaller, no trades should be opened because the market is considered sideways. Pullback Trigger (Bounce) The strategy must allow choosing from the configuration how the trigger bar is defined and which MA is used for the pullback. First, there must be a parameter to select which MA is used as the bounce reference. The options must be: Fast MA Medium MA Slow MA Then there must be a parameter to select the trigger type. Trigger options: Touch MA: the candle touches or crosses the selected MA. Distance from MA: the candle reaches a specific distance before the selected MA. There must be a parameter called TriggerDistanceTicks that defines how many ticks before the MA the pullback is considered valid. Close back over MA: In a bullish trend: the candle touches/crosses the selected MA and closes above the MA. In a bearish trend: the candle touches/crosses the selected MA and closes below the MA. The candle that meets the selected trigger condition will be considered the trigger bar for the entry. In the case of the Close back over MA trigger, the candle that meets the condition will be considered the trigger bar and the entry must be placed using that candle as the reference. After the trigger bar, place a stop order at a distance. Parameter: EntryDistanceFromBarTicks. Buy: Buy Stop at High(trigger bar) + EntryDistanceFromBarTicks. Sell: Sell Stop at Low(trigger bar) − EntryDistanceFromBarTicks. Optional: cancel the order if it is not executed after X bars (parameter). Position Management (ATM or Risk Per Trade) The position management mode must be selectable. Only one mode can be active. ATM Mode The strategy must use an ATM Strategy Template to manage the trade. The ATM will manage: Stop Loss Profit Targets Trailing Stop Risk Per Trade USD Mode The strategy must automatically calculate the number of contracts based on the defined risk. Risk Per Trade USD This is the maximum amount of money the user wants to risk per trade. The strategy must calculate the number of contracts using: RiskPerTradeUSD stop distance in ticks The position size must be adjusted so that the maximum loss of the trade does not exceed the value defined in Risk Per Trade USD. Daily Risk Management Parameters: MaxTradesPerDay MaxStopLossesPerDay MaxConsecutiveLosses DailyProfitTargetUSD DailyLossLimitUSD Behavior: If any of these limits is reached, the strategy must: stop opening new trades cancel pending orders Trading Hours Parameters StartTime and EndTime to allow trading only within that time range. Outside those hours, do not open trades (and optionally cancel pending orders). Entry Control Only one active trade at a time (no pyramiding) and no duplicate pending orders. Backtest Parameter IsBacktesting to adjust behavior when running in Strategy Analyzer if needed. Alerts (optional) SendTelegramAlerts for notifications of entries and exits.