Ticks Seconds Alert
This indicator displays unidirectional continuous movements of price on an accrual basis in the form of a histogram.
The Period_Seconds sets the time for which to sum the continuous movements. The histograms are formed separately for the Ask and Bid prices. When a tick with the previous price for Ask or Bid arrives, the corresponding value is zeroed.
When the Ticks_Level level is reached, an alert is generated which displays the instrument name and the indicator value, and an arrow with the corresponding color appears on the main chart.
The indicator is useful as a signal of the beginning of the strong unidirectional price movements.
Important: the values in the tester are incorrect, as the ticks in the tester are generated.