The Expert Advisor looks for a negative spread and trades using it. The EA waits until Ask is less than Bid, then opens Sell and closes the position immediately.
I heard that negative spread appears very rarely, please write in the comments if you encounter one. People on the forums recommend trading stocks of Google, Amazon and other big companies.
Translated from Russian by MetaQuotes Software Corp.
Original code: https://www.mql5.com/ru/code/13678
The Acceleration/Deceleration Indicator (AC) measures acceleration and deceleration of the current driving force.Average Directional Movement Index (ADX)
The Average Directional Movement Index Indicator (ADX) helps to determine if there is a price trend.