SemiAutoTrader
- Utilitaires
- Version: 9.4
- Activations: 10
SemiAutoTrader is a manual trade execution and risk-management utility for MetaTrader 5.
You remain in control of the trade decision, direction, and stop-loss placement. SemiAutoTrader calculates position size from your selected risk, helps validate broker trading restrictions, and provides hotkey-based order execution and trade management.
It does not generate trading signals, predict market direction, or open trades autonomously.
How It Works
-
Choose a market or pending order type using its assigned hotkey
-
Select your risk mode and risk amount.
-
Position the stop-loss using the chart-based workflow.
-
The utility calculates the appropriate position size using the stop-loss distance and symbol specifications.
-
Review the displayed trade information and execute the order.
-
Manage the resulting position using the supported trade-management controls.
Key Features
-
Risk-based position sizing: Choose percentage-based risk or a fixed monetary amount.
-
Broker-aware calculations: Uses MetaTrader's OrderCalcProfit to calculate monetary risk for the proposed trade.
-
Volume safety: Rounds calculated volume down to the permitted volume step.
-
Minimum-lot protection: Can block a trade when the broker's minimum lot would exceed the requested risk.
-
Market execution: Buy and Sell orders.
-
Pending orders: Buy Limit, Sell Limit, Buy Stop and Sell Stop.
-
Hotkey controls: Keyboard shortcuts for order execution, breakeven, closing trades, deleting pending orders, showing or hiding the panel, and cancelling an armed order.
-
Optional Take Profit: Calculate Take Profit from a configurable risk/reward multiple.
-
Trade management: Breakeven, closing open positions, deleting pending orders, and a combined Close All action.
-
Ownership protection: Restrict trade-management actions to the utility's own trades when enabled.
-
Chart display: Configurable entry/stop line colours, line thickness, lot-size and cash risk/reward labels, and live profit/loss display.
-
Optional cost filter: Check estimated spread, commission, slippage and combined trading costs relative to stop-loss risk.
-
Broker and account validation: Checks applicable trading restrictions before submitting orders.
-
Restart and recovery handling: Supports recovery of active trade-management state.
Default Hotkeys
The following are the default keyboard assignments. Each key can be changed through its corresponding input.
| Function | Default key |
|---|---|
| Market Buy | B |
| Market Sell | S |
| Buy Limit | F |
| Sell Limit | G |
| Buy Stop | H |
| Sell Stop | N |
| Move Stop Loss to Breakeven | V |
| Show/Hide Hotkey Display | P |
| Close Open Positions | C |
| Delete Pending Orders | X |
| Close Positions and Delete Pending Orders | Z |
| Cancel Armed Order | Esc |
Hotkey assignments use ASCII key codes, except Escape, which uses code 27. Avoid assigning the same key to multiple functions.
Risk Settings
UsePercentRisk
Selects the risk calculation mode.
-
true : Use percentage of account balance.
-
false : Use a fixed monetary amount in the account currency.
Default: true
RiskPercent
Risk per trade as a percentage of account balance when percentage-based risk is enabled.
Default: 1.0
RiskDollar
Fixed monetary risk per trade, expressed in the account currency, when percentage-based risk is disabled.
Default: 50.0
EnforceMinLotSL
Blocks a trade if the requested risk would require a volume below the broker's minimum permitted lot size.
Default: true
TP_RR
Take Profit as a multiple of the stop-loss distance.
Default: 0.0
A value of 0 means no automatic Take Profit. Set a positive value to enable automatic Take Profit calculation.
Display Settings
BuyColor , SellColor , LimitColor , StopOrdColor
Configure the colours of Buy, Sell, Limit and Stop order lines.
LineWidth
Sets the thickness of entry and stop-loss lines.
Default: 2
ShowLineLabel
Controls whether chart lines display lot size and cash risk/reward information.
Default: true
ShowLivePnL
Controls whether live profit/loss is displayed next to open positions.
Default: true
PnlProfitColor , PnlLossColor
Set the colours used for live profit/loss display.
Cost Filter Settings
The cost filter is optional and is disabled by default.
UseCostFilter
Master switch for the trading-cost checks.
Default: false
When enabled, the selected component filters can check:
-
Spread
-
Estimated commission
-
Slippage allowance
-
Combined estimated costs
UseSpreadFilter
Include spread in the cost check.
Default: true
UseCommissionFilter
Include estimated commission in the cost check.
Default: true
UseSlippageFilter
Include the configured worst-case price deviation in the cost check.
Default: false
UseCombinedFilter
Check the combined total of the selected cost components.
Default: true
MaxSpreadPctOfSL
Maximum spread cost as a percentage of stop-loss risk.
Default: 20.0
MaxCommissionPctOfSL
Maximum estimated commission as a percentage of stop-loss risk.
Default: 20.0
MaxSlippagePctOfSL
Maximum slippage allowance as a percentage of stop-loss risk.
Default: 10.0
MaxTotalCostPctOfSL
Maximum combined estimated cost as a percentage of stop-loss risk.
Default: 25.0
Values above 100 are treated as 100.
CommissionPerLot
The broker's estimated one-way commission per lot, supplied by the user.
Default: 0.0
The utility cannot automatically read every broker's commission schedule. Enter an appropriate value if commission filtering is required.
Order Settings
TradeComment
The order comment stored with each trade.
Default: SemiAutoEA
MagicNumber
Identifier used to distinguish the utility's own trades.
Default: 202401
Change this value when running separate copies that need distinct trade identification.
Slippage
Maximum permitted price deviation for market orders, expressed in points.
Default: 10
This is an execution setting, not a prediction or guarantee of actual slippage.
Safety Settings
ManageOwnTradesOnly
When enabled, trade-management actions are restricted to positions and pending orders associated with the utility's configured symbol and magic number.
Default: true
When disabled, supported management actions may also affect manual trades and trades from other EAs on the same symbol. Use this setting with care.
DisarmOnMouseLeave
When enabled, automatically cancels an armed order when the mouse leaves the chart.
Default: false
Important Limitations
SemiAutoTrader is a manual execution and trade-management utility, not an autonomous trading strategy.
It does not provide trading signals, select entries, predict market direction, or guarantee profits.
Order execution is subject to broker conditions, available margin, liquidity, spread, slippage, market gaps and symbol-specific restrictions. A stop-loss does not guarantee execution at the exact requested price.
The cost filter uses estimates and does not guarantee the final cost of execution. Percentage-based risk uses account balance, and actual results can vary with execution conditions and account specifications.
Always test the utility on a demo account and verify its behaviour with your broker before using it in live trading.
