Manual for GRat IndiTrade
MT5 & EA setup
1. Allow Algo Trading if automated trading in this terminal is required.
2. Open a chart with the desired symbol and timeframe. Add the required indicators to it and set the required parameters for them (for example, fast MA with a period of 10 and slow MA with a period of 20):

After launching the EA, the Condition Setting Panel will open:

4. On the chart in the Condition Setting Panel, set the condition (trading signal) to open buy. For example, when the fast MA crosses the slow MA upwards on the last closed candle:

5. Switch to Sell and set the condition (trading signal) to open sell. For example, when the fast MA crosses the slow MA down on the last closed candle:

Note: The arguments of the conditions can be not only indicators, but also the values of the current price and parameters of the candles (including average, maximum and minimum for a specified number of last candles):
Prices:
Candles:
On the right side, you can also set a constant value (Value), value shift
and multiplier
.
6. If necessary, you can set the conditions to close positions and orders. For example, if the price came back behind the slow MA:

7. You can set complex conditions. For example, let's add a RSI buy entry filter to buy only in oversold zones (30). To do this, add the RSI indicator to the chart, then add one more part (AND, +) to the buy open condition (Buy, Open):

If set to AND, then each part of the complex condition must be met; if OR, then at least one of the parts must be met.
8. Similarly, let's add a sell entry filter by RSI to sell only in overbought areas (70).

Robot is set up! Press
button to view the strategy description (list of configured conditions):

9. Save all settings in a chart template (.tpl).
10. GO! Run the created robot to start trading:

11. To launch the robot on another symbol and timeframe, for example GBPUSD, M30, just open the required chart, load the saved template on it and run the robot:

12. For visual testing of the robot, save the chart template with the configured robot and indicators (like in p.9 above) to 2 files: .. MQL5\Files\GRat_IndiTrade.tpl and .. MQL5\Profiles\Templates\tester.tpl. Then, in the Strategy Tester set the tester parameters in the Settings tab (check the visual mode), then the EA parameters in the Parameters tab (or load them from a set-file previously saved after p.3 above) and run the test:

A template with the settings of the robot discussed in this manual is attached.
Chat.
Examples


