Step 1 — Open Your Trading Chart
Open the chart for the instrument you want to trade.
Examples:
-
EURUSD
-
GBPUSD
-
XAUUSD
Step 2 — Attach the EA
You can either:
-
Drag the EA from the Navigator onto the chart
OR -
Right-click the EA → Attach to a chart
Step 3 — Configure the EA
In the EA settings window:
-
Configure your preferred inputs
-
Open the Common tab
-
Enable:
-
Allow Algo Trading
-
-
Click OK
Step 4 — Enable Algo Trading
Make sure the MT5 Algo Trading button is enabled (green).
If Algo Trading is OFF:
-
the panel may appear
-
but trading functions will not work
IMPORTANT NOTE
The EA operates on one chart/symbol per instance.
For multi-symbol trading:
-
attach a separate EA instance to each chart.
INPUT PARAMETERS (EA SETTINGS)
Risk Management
Enable automatic lot sizing
Default: true
If enabled, the EA calculates lot size automatically based on:
-
account balance
-
risk %
-
stop loss distance
If disabled:
-
a fixed lot size is used.
Risk per trade (%)
Default: 1.0
Defines how much account balance is risked per trade.
Example:
-
1.0 = Risk 1% of balance between Entry and Stop Loss.
Fixed lot size
Default: 0.10
Used only when automatic lot sizing is disabled.
Execution Settings
Trade comment
Default: Empty
Optional text added to all EA orders.
Enable popup alerts
Default: false
Shows MT5 popup alerts for important EA events.
Break-Even Settings
BE Trigger Mode
Pips
Break-even activates after price moves a set number of pips.
TP Percent
Break-even activates after price reaches a percentage of the TP distance.
BE trigger distance
Default: 10.0 pips
Used when trigger mode = Pips.
BE trigger by TP %
Default: 50%
Used when trigger mode = TP Percent.
Profit locked at BE
Default: 1.0 pip
When BE activates:
-
SL moves to Entry + locked profit.
Trailing Stop Settings
Trail Trigger Mode
Pips
Trailing starts after X pips profit.
TP Percent
Trailing starts after X% of TP distance.
Start trailing after
Default: 15 pips
Trail trigger by TP %
Default: 50%
Trailing distance
Default: 10 pips
Distance between price and trailing stop.
Trailing step size
Default: 2 pips
Minimum movement before SL updates.
Partial Close Settings
Partial Close #1
-
Enabled by default
-
Trigger: 50% TP
-
Close: 25%
Partial Close #2
-
Enabled by default
-
Trigger: 80% TP
-
Close: 25%
SL Partial Close
-
Enabled by default
-
Trigger: 50% of SL distance
-
Close: 25%
Used to reduce exposure during losing trades.
Default Manual Partial Close %
Default: 50%
Used by the manual:
Close X%
button.
RR Tool Colours
Default Colours
-
Take Profit → Green
-
Stop Loss → Red
-
Entry → Blue
RR Tool Appearance
RR Label Font Size
Default: 8
RR Tool Width
Default: 280 px
Panel Position
Horizontal Position
Default: 12
Vertical Position
Default: 48
The panel can also be dragged manually during runtime.
STEP-BY-STEP — PLANNING A TRADE
Step 1 — Open the Panel
The panel opens automatically when the EA loads.
If closed:
-
click the small [RR] button.
Step 2 — Choose Direction
Click:
-
▲ LONG
or -
▼ SHORT
This activates the RR overlay.
Step 3 — Set Price Levels
You can:
Method A — Drag the blocks
Move TP, Entry, and SL blocks directly.
Method B — Drag chart lines
Move the horizontal lines on the chart.
Method C — Type prices manually
Enter values directly in the panel.
Method D — Use the Set button
Click:
-
Set
then click anywhere on the chart.
Step 4 — Review Trade Analysis
The panel automatically calculates:
-
R:R ratio
-
Risk amount
-
Reward amount
-
Lot size
-
Order type
-
Quality score
RR Quality Guide
-
POOR → Below 1.0
-
OK → 1.0–1.49
-
GOOD → 1.5–1.99
-
GREAT → 2.0+
Step 5 — Automatic Order Detection
The EA automatically determines:
-
Market Order
-
Limit Order
-
Stop Order
based on Entry position relative to market price.
Step 6 — Execute Trade
Click:
-
BUY
or -
SELL
The EA places the order with:
-
calculated lot size
-
stop loss
-
take profit
Step 7 — Reset or Cancel
Reset
Resets prices while keeping overlay visible.
Cancel
Removes all RR objects from chart.
ORDER MANAGEMENT PAGE
Access via the ⚙ gear icon.
Features include:
-
Auto Break-Even
-
Auto Trailing
-
Manual BE
-
Manual Trailing
-
Partial Close
-
Cancel Pending Orders
-
Close All Positions
-
Virtual SL/TP
VIRTUAL SL/TP
When enabled:
-
broker SL/TP is removed
-
EA manages exits internally
Useful for hiding SL/TP from broker.
⚠ IMPORTANT:
MT5 must remain open while Virtual SL/TP is active.
LOT SIZE CALCULATION
When Auto-Lot is enabled:
Risk Amount = Balance × Risk % Lot Size = Risk Amount ÷ (Stop Pips × Pip Value)
The EA automatically:
-
adjusts for broker digits
-
respects min/max lot sizes
-
normalizes volume step
PANEL NAVIGATION
| Button | Function |
|---|---|
| ⚙ | Open Management Page |
| ✕ | Collapse Panel |
| [RR] | Reopen Panel |
| Header Bar | Drag Panel |
QUICK-START CHECKLIST
- EA compiled without errors
- Algo Trading enabled
- EA attached correctly
- Risk % configured
- Magic Number configured
- Break-even reviewed
- Trailing settings reviewed
- Partial close settings reviewed
- Tested on demo account first
FINAL NOTES
RR TradePanel EA was built to simplify:
-
risk management
-
trade execution
-
RR planning
-
automated management
Always test thoroughly on a demo account before trading live funds.


