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() function
The script demonstrates the example of using the FileTell() function
Calculator-panel to calculate profit/loss. Data is calculated either when moving lines, or changing the parameters in input fields of the entry price, lot, profit or loss in pips or in deposit currency
Another variation on reversed, pivot points