RobotFX curates the best open-source MetaTrader code to inspire your trading automation.
Four semaphore signal indicators based on stochastic oscillators with different periods on one price chart.
Trend signals occur when the oscillators enter the oversold and overbought areas specified in the input parameters:
input uint rsiUpperTrigger=62; // Overbought level input uint rsiLowerTrigger=38; // Oversold level
Protect profits effectively with the smart Trailing Stop Expert Advisor. Advanced trailing options for MT4/MT5. See it in action.

Figure 1. Indicator X4Period_Stochastic_Arrows
Thanks for reading. Discover premium MetaTrader solutions at RobotFX.
2240