.png)







.png)
1) What the cBot does (trading logic)
Main signal: “Anomalous Candle”
The bot checks the last CLOSED candle (so it trades at the open of the next candle) and calculates:
- Candle length =
Range (High-Low)orBody (|Close-Open|) - Expected length = average length of the previous N candles
- A candle is considered “anomalous” if:
candle_length >= average * Multiplier- and
candle_length >= MinCandlePips
Trading mode (Strategy Mood)
- SunshineMode (trend-following)
Bullish anomalous candle ⇒ BUY
Bearish anomalous candle ⇒ SELL - DoomsdayMode (contrarian)
Bullish anomalous candle ⇒ SELL (possible “exhaustion”)
Bearish anomalous candle ⇒ BUY
2) Trend Filter: how it detects “fresh” vs “mature” trends
I added a trend filter based on:
- Fast EMA and Slow EMA (e.g., 50 and 200) for direction
- “Cross age”: how many bars ago the last EMA cross happened
- Optional: minimum ADX (via DMS) to avoid sideways markets
TrendPhase
- Either: allows both fresh and mature trends
- FreshOnly: allows ONLY newly-started trends (recent cross)
- MatureOnly: allows ONLY established/confirmed trends (old cross)
📌 Recommended pairings
- SunshineMode + FreshOnly → to ride newly-started trends
- DoomsdayMode + MatureOnly → to exploit “overstretch” moves in mature trends (higher chance of mean reversion)
3) Exits & trade management (very important)
Separate SL / TP for LONG and SHORT
You have separate parameters:
SL Long / TP LongSL Short / TP Short
Separate Break Even (Long/Short)
When the trade reaches BE Trigger (pips) profit, the stop is moved to:
- LONG:
Entry + Offset - SHORT:
Entry - Offset
Separate Trailing Stop (Long/Short)
After TS Start (pips):
- LONG: stop follows the Bid with distance
TS Distance - SHORT: stop follows the Ask with distance
TS Distance
and the stop is updated only if it improves by at leastTS Step
Time Exit
Regardless of anything else, the bot can close positions after:
Hold Duration+Hold Unit(seconds/minutes/hours)
4) Prop Firm Guard (Daily DD / Total DD / Equity DD)
If enabled, the bot monitors drawdown %:
- Daily DD %: compared to the day’s starting equity/balance (day =
Server. Time .Date) - Total DD %: compared to equity/balance at bot start
- Equity DD % from Peak: from the highest equity peak reached
If any limit is hit:
✅ Kill switch: the bot stops trading and closes positions (only its own, or the entire account—your choice).
Very important tip:
- If you also trade manually or run other bots on the same account, set
Kill Switch Scope = ThisBotOnlyso it won’t close everything.
5) How to use it (Quick Start)
- Open cTrader → Automate
- Create/compile the cBot
- Attach it to the chart of the instrument you want to trade
- Choose:
- Timeframe (the chart timeframe!)
Strategy Mood- “anomalous candle” parameters
- trend filter (recommended ON)
- risk settings (SL/TP, BE/TS)
- prop guard if you’re in a prop firm
- Start with Demo, then forward test and backtest.
6) Suggested settings (guidelines)
There’s no universal “perfect” setup, but here’s a solid baseline:
Forex majors (M15–H1)
- Lookback: 20
- Multiplier: 1.6–2.2
- MinCandlePips: 8–20 (depends on pair/timeframe)
- Trend:
- EMA 50/200
- FreshBars 15–30
- MatureBars 50–120
- ADX min 18–25
Indices (e.g., US500/US100) (M5–M30)
- MinCandlePips needs to be higher (often 30–150+ depending on broker/timeframe)
- Multiplier often works better around 1.4–1.9 (indices can be more “explosive”)
7) Key advice (don’t skip)
- Closed-candle logic: cleaner signals → fewer intrabar “spike” false positives.
- Spread & slippage: BE and trailing can fail if the broker has minimum stop distances or wide spread.
- Max positions: keep it low at first (1–2) until you have real forward-test data.
- DoomsdayMode (contrarian) is more sensitive: it often needs
- a wider SL, or
- a more conservative TP and a tighter/more reactive trailing stop.
- If you trade a prop firm:
- enable PropGuard
- avoid
EntireAccountscope if you also trade manually.
For Discord and Telegram: you can find the official links directly on my profile page.
If you want, I can also prepare:
- a sales-page ready description (marketing style), and
- a more technical user manual version.
.jpg)
.jpg)
.png)
 (2).png)
.png)
.jpg)
.png)
.jpg)
.jpg)
 (1).png)
.png)
.png)
.jpg)
.png)
.png)
.png)
.png)
.png)

.png)









.jpeg)




![„[Stellar Strategies] SP500 Gap Closure cBot 1.0“-Logo](https://market-prod-23f4d22-e289.s3.amazonaws.com/62a77232-02a9-423b-a5e4-bd2c2bc8db97_cT_cs_4141285_US500_2025-03-21_17-12-57.png)