The Expert Advisor sets a grid of pending orders above and below the current price.
The EA algorithm is as follows: if there are no pending orders and no positions, the EA sets five pending Sell Limit and five pending Buy Limit orders. Then the EA monitors the market: if profit reaches the "Profit target" value or loss reaches "Maximum loss", all open positions are closed and remaining pending orders are deleted.
Translated from Russian by MetaQuotes Software Corp.
Original code: https://www.mql5.com/ru/code/19048
The Expert Advisor uses Burg's method for linear prediction.Pending orders DOWN
The scripts places multiple pending orders lower than the current price.