A semaphore signal indicator based in the idea from "325 golden strategies" collection.
If all three conditions are met, then you should sell at the next day opening; For example, if Х=20 and Y=3, then the 20-day closing average should be higher (for buying) than the average calculated 3 days ago. It simply means that the 20-day closing average goes up. Next, today's closing price should be lower than the closing price 3 days ago. It helps to determine if there would be a pullback before entering the market.
Finally, the price should also be higher than 23 days ago (even if it is lower than 3 days ago). That way we check for an increasing moving average. The method will work until a turn signal appears or the market goes too far against the position without a turn signal.
Fig. 1. The Simple Trading System indicator
Translated from Russian by MetaQuotes Software Corp.
Original code: https://www.mql5.com/ru/code/12580
The HighestLowestRange (HLR) indicator with the timeframe selection option available in the input parameters.FATL-SATL Balance
A middle line between the SATL and FATL digital trend filtering indicators.