A semaphore signal indicator using the algorithm of indicator 2XMA_Ichimoku_Oscillator.
The indicator uses the SmoothAlgorithms.mqh library classes (copy them to <terminal_data_directory>\MQL5\Include). The classes were described in detail in the Averaging Price Series for Intermediate Calculations Without Using Additional Buffers article.
Fig.1. Indicator 2XMA_Ichimoku_Signal