Expert Advisor with no custom indicator used, orders are opened pseudo-randomly. Equipped with a virtual trailing stop. After a loss the lot is increased by martingale with the specified parameters. Adapted for 4-5-digit quotes.
The EA opens deals in Market Execution mode. Take Profit and Stop Loss are placed after order execution and modified in accordance with the EA settings.
Translated from Russian by MetaQuotes Software Corp.
Original code: https://www.mql5.com/ru/code/14302
The script analyzes the market based on two criteria: the moving averages and the support and resistance levels.Lot-SL propotion
The function returns the lot size, which is calculated based on the stop loss size and the risk specified in the variable.