Ospe Autorobot
- Uzmanlar
- Sürüm: 1.2
- Etkinleştirmeler: 10
An SMA-directed recovery EA with configurable grid layers, lot sizing, basket trailing, and schedule controls.
Ospe Autorobot is a MetaTrader 5 Expert Advisor that uses a Simple Moving Average to choose the direction of the first trade in each cycle. After the cycle begins, the EA manages same-direction recovery layers at a configurable price distance. The cycle is managed with basket trailing and an optional final-layer hard loss limit.
The EA works on the current chart symbol. Its signal timeframe is selected independently in the inputs, so the chart timeframe does not change the signal calculation.
### How the strategy works
1. The EA reads the previous completed candle on the selected signal timeframe.
2. It opens a buy when that candle closes above the SMA, or a sell when it closes below the SMA.
3. If price moves against the active trade by the selected layer distance, the EA adds another trade in the same direction.
4. Layer volume can remain fixed, increase by a fixed amount, or multiply from the previous layer.
5. New entries stop when the maximum layer count is reached.
6. Basket trailing manages the exit after its account-currency trigger is reached.
7. The optional hard loss limit becomes active only after the final permitted layer has been reached.
### Main features
- SMA-directed first entry using a completed candle
- Fixed-distance same-direction recovery layers
- Three clear lot modes: Fixed Lot, Add Lot, and Multiply Lot
- User-defined maximum layer count
- Basket trailing trigger measured in account deposit currency
- Price-based basket trailing distance measured in symbol points
- Optional hard basket loss after the final layer
- Optional maximum-spread filter
- Free-margin check before every new market order
- Monday-to-Friday broker-time schedule
- Existing baskets continue to be managed outside entry hours
- Automatic lot normalization to the broker's minimum, maximum, and step
- State recovery after terminal or EA restart
- Compatible with MT5 hedging and netting accounts
- Uses only standard MT5 functionality; no DLL or external indicator is required
### Default configuration
- Initial lot: 0.01
- Layer distance: 300 points
- Maximum layers: 10
- Lot mode: Multiply Lot
- Lot multiplier: 1.50
- SMA period: 50
- Signal timeframe: M15
- Basket trailing trigger: 5.00 in account currency
- Trailing distance: 5 points
- Final-layer maximum loss: 10000.00 in account currency
- Maximum spread filter: disabled
- Trading schedule: Monday to Friday, 01:00 to 23:30 broker time
Defaults are starting values, not a promise of suitability for every symbol, broker, deposit, or market condition. Test and adjust the EA for the intended symbol and account before live use.
### Setup
1. Attach Ospe Autorobot to one chart for each symbol you want to trade.
2. Enable Algo Trading in MetaTrader 5.
3. Use a different magic number for each independent setup on the same symbol.
4. Confirm that the schedule matches your broker's server time.
5. Run a Strategy Tester test with your intended symbol, spread, deposit, and leverage.
6. Start on a demo account before considering live trading.
### Risk notice
Ospe Autorobot uses grid/recovery layering and can increase exposure while price moves against an open cycle. Multiplying lot sizes can produce rapid growth in margin use and drawdown. The hard loss control applies only after the maximum layer count is reached. Trading carries substantial risk, and no setting or historical test guarantees future performance. Use conservative volume, a defined layer limit, and capital you can afford to risk.
