Translated from Russian by MetaQuotes Software Corp.
Original code: https://www.mql5.com/ru/code/8661
Attempt to more or less fully automate the opening of Buy and Sell ordersDoubler
Simple Expert Advisor that simultaneously opens two positions in different directions, provided that the stop loss of the losing position triggers 5 points earlier than the take profit of the profitable one.
The MACD is not required to be present on the chart. However, if a standard MACD is attached, the divergence lines will be drawn both on the chart and in the indicator window, and the indicator will use the MACD settings.Example of plotting a function spectrum using the FFT library
Example of plotting a function spectrum using the FFT library