OPEN-SOURCE SCRIPT

Michael 13/100 SMA Crossover (Time Filtered)

39
This indicator plots a simple moving average (SMA) crossover system using a 13-period SMA and a 100-period SMA. A Buy signal appears when the 13-period SMA crosses above the 100-period SMA, and a Sell signal appears when the 13-period SMA crosses below the 100-period SMA.

Signals are restricted to a specific active trading window between 08:00 and 17:00 GMT, helping to reduce noise during off-hours or low-liquidity periods. The moving averages themselves remain visible at all times, but Buy/Sell markers only appear when a crossover occurs during the defined session.

This tool helps traders identify trend shifts, momentum changes, and potential entry/exit points while avoiding signals during quieter market conditions.

Disclaimer

The information and publications are not meant to be, and do not constitute, financial, investment, trading, or other types of advice or recommendations supplied or endorsed by TradingView. Read more in the Terms of Use.