Script for checking the LeadLagRelationship indicator, it is intended for sending quotes with a delay.
How to check: run the script and indicator with a common communication channel on the same instrument. Set the delay parameter in the script. After accumulating sufficient data, the indicator should show the delay specified in the script.
Translated from Russian by MetaQuotes Software Corp.
Original code: https://www.mql5.com/ru/code/19337
PS Magicas - Three moving averages that give target and possible entries.CDictionary
An implementation of the dictionary (associative array) data structure in MQL5, based on CArrayObj and CList.