Real author:
LeMan
Semaphore signal indicator triggering when the BinaryWave indicator changes direction.
The indicator uses SmoothAlgorithms.mqh library classes (copy it to <terminal_data_folder>\MQL5\Include). The use of the classes was thoroughly described in the article "Averaging Price Series for Intermediate Calculations Without Using Additional Buffers".

Fig.1. The BinaryWaveSign indicator