The Expert Advisor allows to trade using the keyboard. The Buy, Sell and Close trade operations are supported. It allows to set/change: Trade Volume (lots), Stop Loss, Take Profit, Slippage.
After launch of the Expert Advisor, it will show the current parameters (Lot, StopLoss, TakeProfit, Slippage) and list of available commands (Fig. 1):
Figure 1. Main menu
In parameters menu the following commands (Fig. 2) are supported:
Figure 2. Selection of input parameter
When input parameter is selected, it will work in the input mode (fig. 3).
In input mode the following commands are available:
Figure 3. Input parameter value
Translated from Russian by MetaQuotes Software Corp.
Original code: https://www.mql5.com/ru/code/281
This is the simplified implementation of multicurrency mode in MetaTrader 5. It isn't necessary to consider the details how does it work. It has minimum settings and simple structure. It can be used in Strategy Tester.Nonparametric Zig Zag, Out of Price Walk
Nonparametric zigzag. The monotonicity condition for the ascending segment of the zigzag: the High of the any subsequent bar should not be lower than any Low of the ascending segment.