A tick Expert Advisor. Comparing the price on the previous tick and the current price.
Attention! Tests only in the "Every tick based on real ticks" mode.
Algorithm: two static variables:
The static variable retains its value after leaving the function.
Translated from Russian by MetaQuotes Software Corp.
Original code: https://www.mql5.com/ru/code/17277
Comparing open prices of the zero and third bar.NRTR GATOR
Derived from the NRTR indicator, provided with a new visual display.