The indicator reads data of the price movement directions from the file and displays them as the broken line in the chart main window. To get the file with data you need preliminary run the Demo_FileWriteInteger script.
Translated from Russian by MetaQuotes Software Corp.
Original code: https://www.mql5.com/ru/code/1636
The script demonstrates the example of using the FileWriteInteger() functionDemo_FileTell
The script demonstrates the example of using the FileTell() function