Intraday scalping Expert Advisor “Sniper” using the Martingale system (you can disable it). The main goal is to catch a few dozen points on sharp price jumps with high market volatility, mainly on the news. If the “Sniper” missed and the deal closed with a loss, the next position will open with an increase in the lot (optional). It can work with both market and pending orders, by default – Stop orders. Most of the time, the Expert Advisor is in standby mode, so you should not expect quick results from it immediately. Meets the FIFO rules. Only one market order can be opened for a symbol at a time.
Attention! This Expert Advisor works at the speed of the movement of quotes, and for its smooth operation it needs a VPS server. The recommended minimum deposit is 1000 units of the base currency. The Expert Advisor should be used on highly liquid currency pairs with a small spread / commission (for example, EURUSD, GBPUSD, AUDUSD, USDJPY, USDCHF, USDCAD, NZDUSD).
It is desirable to test / optimize the Expert Advisor with the quality of 99% ticks modeling, real spread (floating) and simulation of dynamic slippage.
- OrdersExecution – selection of the order execution type:
- MarketExecution – market execution, Stop Loss and Take Profit will be set after the order is executed;
- InstantExecution – exact execution, Stop Loss and Take Profit will be set immediately when the order is sent.
- OrdersType-select the type of order placement:
- Stop-pending Stop orders;
- Limit-pending Limit orders;
- Instant – market execution.
- startTime, EndTime – work by time, if 00:00, then it is not used;
- Lot – initial trading lot;
- Martingale-the multiplier of the previous lot, if the last trade was closed with a loss, it is not used at -1;
- Distance – the distance that the price should travel in the allotted time period;
- Timer – the time in seconds after which the data for opening positions will be updated;
- Slippage – the maximum allowable slippage;
- MaxSpread – the maximum allowable spread;
- StopLoss-stop loss, not used at -1;
- TakeProfit – take profit, not used at -1;
- Breakeven – breakeven of positions, not used at -1;
- TrailingStop – trailing stop, not used at -1;
- MagicNumber – a magic number, at -1, the Expert Advisor will work with absolutely all orders;
- OrdersComment-comment on transactions.
[spoiler title=”Read More…”]
- MarketExecution – market execution, Stop Loss and Take Profit will be set after the order is executed;
- InstantExecution – exact execution, Stop Loss and Take Profit will be set immediately when the order is sent.
- Stop-pending Stop orders;
- Limit-pending Limit orders;
- Instant – market execution.
[/spoiler]