The indicator reads data of the Moving Average from the binary file and displays them in a separate subwindow. To get the file with data you need preliminary run the Demo_FileWriteDouble script. The indicator is correctly displayed on timeframes that are more or equal to timeframe on which the indicator was calculated.

Traduit du russe par MetaQuotes Ltd.
Code original : https://www.mql5.com/ru/code/1630
Demo_FileWriteDouble
The script demonstrates the example of using the FileWriteDouble() function
Demo_FileReadDatetime
The indicator demonstrates the example of using the FileReadDatetime() function
Demo_FileSize
The script demonstrates the example of using the FileSize() function
Demo_FileTell
The script demonstrates the example of using the FileTell() function