CLOUDPips Sora Setup Guide
This guide explains Sora's on-chart display and every setting in the Inputs tab. If you're just getting started, the defaults are fine — adjust them once you understand the system better.
When Sora enters a trade
Sora checks for a signal each time a candle closes on its entry timeframe (M5 by default), and opens a trade only when every condition is met:
- An enabled candlestick pattern appears (by default, Bullish Engulfing for buys and Bearish Engulfing for sells).
- Supertrend on the entry timeframe points the same way as the signal.
- Supertrend on every higher timeframe you've set (H1 and D1 by default) points the same way too.
- ADX on the entry timeframe is above the minimum level (25 by default), meaning the market is trending enough.
Every trade opens with a stop loss and take profit attached. If any condition fails, Sora waits — so some days there are no trades at all. That's normal.
Control panel (top left)
Status shows what the bot is doing.
| Status | Meaning | What to do |
|---|---|---|
RUNNING |
Working normally, waiting for signals | Nothing |
PAUSED |
Not opening new trades | Press START when you want it to resume |
HIT PROFIT |
Profit Limit reached; all positions closed and the bot stopped | Press START to begin a new cycle |
DD STOPPED |
Drawdown Limit reached; all positions closed and the bot stopped | Review your settings, then press START when ready |
CHECKING... |
Verifying license eligibility (free version) | Wait a moment |
CONNECTION ERROR |
Can't reach the license server | Check the WebRequest setting and your internet. See Install a CLOUDPips EA |
NOT REGISTERED |
This account isn't registered for free access | Check the account is under our partner (XM / HFM: send your account number on LINE) |
EXPIRED |
This account's license has expired | Contact us |
When the license check fails, the free version retries automatically every 10 minutes, and checks again each new day. Once it passes, the bot resumes on its own.
Risk per Trade — the risk per trade you've set (or the lot size, if you use a fixed lot).
Trend Filter (ADX) — whether the trend-strength filter is On or Off.
AUTO STOP TRADE — the % set for Profit Limit and Drawdown Limit, or Off.
MAX TRADES — the maximum number of buy / sell positions open at once, or Off.
ACCOUNT — the currency in brackets is USD or USC (Cent account), detected automatically.
- Balance / Equity — your balance, and account value including floating profit and loss.
- Net — Sora's total profit or loss on this chart (closed plus still open).
- Gain — Net as a % of the balance before Sora started trading.
- Drawdown — the largest drop in balance from Sora's closed trades.
Figures under ACCOUNT count only Sora's trades on this symbol (identified by the Magic Number). Trades you open yourself, or those from other EAs, aren't included — except Balance and Equity, which cover the whole account.
PAUSE BOT / START button
- Press PAUSE BOT to stop opening new trades. Open positions stay, with their SL/TP unchanged.
- While stopped, the button reads START — press it to resume. If the bot stopped because of Profit Limit or Drawdown Limit, START begins a new cycle, using your current balance as the starting point for the profit target.
- If the license check doesn't pass, the button shows DISABLED and can't be pressed.
CLOSE ALL POSITIONS button — closes all of Sora's positions on this symbol immediately at market price. The bot keeps running afterwards; press PAUSE BOT first if you don't want new trades.
Market Direction (top right)
This table shows the trend direction Sora uses to decide. It has 3 columns: timeframe, Supertrend direction, and ADX.
- Entry timeframe row(s) (e.g. M5) — shows
UP/DOWNplus the ADX value, followed byOK(passes) orWEAK(trend too weak — no trade). - Higher timeframe rows (e.g. H1, D1) — show
FILTERin gold in the right column, meaning these timeframes act as direction filters.
Sora opens a buy only when every row is UP, and a sell only when every row is DOWN. For example, if M5 and H1 are UP but D1 is DOWN, Sora won't buy even if a candlestick signal appears.
If Sora hasn't opened a trade for hours or days, look here first. Usually the directions disagree, or ADX shows WEAK.
Withdrawal Simulator (bottom right)
The profit-withdrawal simulation box. See How to Use the Withdrawal Simulator.
Settings (Inputs)
Timezone Settings
| Setting | Default | What it does |
|---|---|---|
Local_GMT_Offset |
7.0 | Your time zone vs GMT (Thailand = 7). Decides when a "new day" starts for the withdrawal simulator and daily limits. |
Trade Direction
| Setting | Default | What it does |
|---|---|---|
TradeDirection |
BOTH | Which side may trade: both, buy only, or sell only |
Entry Timeframes
| Setting | Default | What it does |
|---|---|---|
TradeTimeframes |
M5 | Timeframes used to find entry signals. Several are allowed, comma-separated, e.g. M5,M15. The chart's own timeframe doesn't matter. |
Supertrend Trade Filter (Higher Timeframe Filter)
| Setting | Default | What it does |
|---|---|---|
Enable_HTF_Supertrend |
true | Turns on the higher-timeframe direction filter |
HTF_Timeframes |
H1,D1 | Higher timeframes that must point the same way as the signal |
Trend Strength Filter (ADX)
| Setting | Default | What it does |
|---|---|---|
Enable_ADXFilter |
true | Turns on the trend-strength filter. We recommend leaving it on. |
ADX_Period |
14 | ADX period |
ADX_MinLevel |
25.0 | ADX must be above this to enter (below = weak trend, no trade) |
ADX_MaxLevel |
0.0 | Highest ADX allowed to enter (0 = no limit). Use it to avoid trends that have already run far. |
ADX_RequireRising |
false | Require ADX to be rising vs the previous bar |
ADX_Shift |
1 | Which bar's ADX to use (1 = last closed bar) |
ADX_ShowOnDashboard |
true | Show the ADX value in the Market Direction table |
Money & Risk Management
| Setting | Default | What it does |
|---|---|---|
RiskPercent |
1.0 | Risk per trade as a % of balance — roughly what you lose if a trade hits its SL |
Fixed_Lot |
0.0 | Fixed lot size (0 = off; RiskPercent is used instead) |
Max_Lot |
0.0 | Maximum lot per trade (0 = no limit). Stops lots growing too large as your balance grows. |
Sora always rounds the lot down, so real risk never exceeds RiskPercent — with one exception: if the calculated lot is smaller than the broker's minimum lot, Sora uses the minimum lot, which means more risk than you set. That's why small accounts should use a Cent account.
A risk note worth reading: in Sora's backtest (XAUUSD M5, 2024–2026), the longest losing streak was 39 trades. A streak like that at 1% RiskPercent would cut your balance by about 32%; at 2%, by about 54%. Before raising your risk, ask yourself whether you could really sit through a drawdown like that. See Reading the Backtest Numbers.
Order Identification
| Setting | Default | What it does |
|---|---|---|
Magic_Number |
998877 | Sora's ID for its own trades, used to tell them apart from other trades |
If you change the Magic Number, the figures under ACCOUNT and in the Withdrawal Simulator start from zero, because Sora can no longer see its earlier history. Running Sora on several charts in one account (different symbols) with the same number is fine — trades are already separated by symbol.
Daily Profit Withdrawal Simulation
| Setting | Default | What it does |
|---|---|---|
Enable_WithdrawSim |
true | Shows the Withdrawal Simulator box |
Withdraw_Profit_Pct |
50.0 | % of each profitable day's profit to simulate withdrawing |
Stop Loss / Take Profit Settings (points)
| Setting | Default | What it does |
|---|---|---|
Enable_FixedSLTP |
true | Attach an SL and TP to every trade |
Fix_SL_Points |
1000 | Stop loss distance in points |
Fix_TP_Points |
2000 | Take profit distance in points |
Sora adjusts points to your broker's number of decimals automatically. For gold, 1,000 points is a price move of about $10, so the defaults set the TP at twice the SL.
Don't turn off the SL (setting Enable_FixedSLTP to false, or Fix_SL_Points to 0). Trades would have no stop loss, and lot sizing from RiskPercent would no longer work.
Equity Take Profit (Close All)
| Setting | Default | What it does |
|---|---|---|
Enable_EquityTP |
false | Close all positions at once when combined floating profit reaches a target |
Internal_EquityTP_Pct |
0 | Floating-profit target as a % of balance |
Unlike Profit Limit, Equity Take Profit closes positions and keeps trading — it doesn't stop the bot.
Supertrend System (per Timeframe)
| Setting | Default | What it does |
|---|---|---|
Enable_Supertrend |
true | Require signals to match Supertrend on the entry timeframe |
Supertrend_ATRPeriod |
22 | Supertrend ATR period |
Supertrend_Multiplier |
5.0 | ATR multiplier |
Supertrend_Source |
PRICE_OPEN | Price used in the calculation |
Supertrend_TakeWicks |
true | Include candle wicks in the calculation |
Supertrend_HistoryBars |
40 | Past bars used to warm up the calculation |
The backtest results on this site use these defaults. Changing them can change results a lot — backtest the new settings yourself first.
Candlestick Entry Patterns (Price Action)
Candlestick patterns used as entry signals. Only 2 are on by default:
DetectEngulfingBull= true — [BUY] Bullish EngulfingDetectEngulfingBear= true — [SELL] Bearish Engulfing
All other patterns are off (false) and can be turned on:
- [BUY] Hammer, Inverted Hammer, Marubozu Up, Tweezer Bottom, Bullish Harami, Morning Star, Three Outside Up, Three Inside Up, Three White Soldiers, Bullish 3-Line Strike
- [SELL] Hanging Man, Shooting Star, Marubozu Down, Tweezer Top, Bearish Harami, Evening Star, Three Outside Down, Three Inside Down, Three Black Crows, Bearish Three Line Strike
More patterns mean more signals, but those results haven't been tested the way the defaults have. If every pattern is off, Sora won't open any trades.
Automatic Stop System (Auto Stop)
| Setting | Default | What it does |
|---|---|---|
Enable_TargetProfit |
false | Stop trading when profit reaches a target |
TargetProfitPct |
0.0 | Profit target as a %, measured from the balance at the start of the cycle (uses equity) |
Enable_DrawdownCut |
false | Emergency drawdown cut |
MaxDrawdownPct |
0.0 | Close all positions and stop the bot when floating loss reaches this % of balance |
When either limit is reached, Sora closes all its positions and stops. The status shows HIT PROFIT or DD STOPPED until you press START.
We recommend turning on Drawdown Limit at a level you can genuinely live with, as a last safety net.
Order Count Limit
| Setting | Default | What it does |
|---|---|---|
Enable_AutoLimit |
false | Limit how many positions can be open at once |
Max_Buy_Trades |
0 | Maximum number of buy positions |
Max_Sell_Trades |
0 | Maximum number of sell positions |
Daily Loss / Profit Limits
| Setting | Default | What it does |
|---|---|---|
Enable_DailySLLimit |
false | Stop trading for the rest of the day after a number of stop losses |
Max_Daily_SL_Hits |
0 | Maximum losing trades per day |
Enable_DailyTPLimit |
false | Stop trading for the rest of the day after a number of take profits |
Max_Daily_TP_Hits |
0 | Maximum winning trades per day |
Days follow the time zone set in Local_GMT_Offset.
Entry Distance Filter
| Setting | Default | What it does |
|---|---|---|
Enable_DistanceFilter |
false | Don't open a new trade too close to an existing one |
Min_Distance_Points |
1000 | Minimum distance from an open position (points) |
Changing settings while running
- Double-click the EA's name in the top-right corner of the chart (or press
F7). - Edit the values in the Inputs tab → OK.
Sora remembers its state (e.g. PAUSED or HIT PROFIT) when you change settings, switch timeframe, or restart MT5. The state resets only when you remove Sora from the chart. Open positions stay open with their SL/TP in every case.
If you use MQL5 Virtual Hosting, Migrate again after changing settings. See Set Up a VPS.
Still stuck? Email us at support@cloudpips.io and we'll help you sort it out.

