The Expert Advisor does not use indicators. Trades on the breakdown of daily extremes by placing pending orders. It also closes a position using TakeProfit or Stoploss. Every hour Stoploss moves towards an open order. It is recommended to set the EA operation time at the beginning of the European trading session, the EA termination 5 hours after the opening of the European session (for example: TimeToOpen = 10 hours, TimeToClose = 15 hours). Tested on all history that I have in the terminal.
Oil of brand Brent;
Parameter sets in "Comments".
- Lots - fixed lot amount.
- LotSizePlus - volume increase of the next lot.
- MoneyManagement - lot size, which depends on the size of the deposit and the risk level set by the trader.
- Risk - the level of acceptable risk.
- Magic - a unique order number.
- TakeProfit - take profit of the first order.
- Step - the minimum difference in the price of orders in the grid.
- TimeToOpen - time of placing pending orders (Recommended opening time of the European session).
- TimeToClose - time of deleting pending orders (5 hours after the opening of the European session).
- lowminus - minimum price difference and the price of a pending order.
- highplus- the difference of the maximum price and the price of a pending order.
Добавлен стоплосс и трейлингстоп.
2. Добавлена новая переменная: (puf) - пройденное количество пунктов, для выставления Stoploss на безубыток.