AlphaTrend Strategy
A trend-following strategy built on AlphaTrend, a line that follows an ATR-based band and switches between support and resistance depending on money flow (MFI). It goes long when AlphaTrend crosses above its own line from two bars back and short when it crosses below, and each flip closes the opposite trade. How to use: add it to a chart and open Backtest. Inputs are the ATR multiplier (1.0), the common period (14) used for both ATR and MFI, a switch to allow or block shorts, and an optional intraday square-off time for intraday testing. A higher multiplier gives a wider, slower line with fewer trades. It suits trending stocks and indexes and can whipsaw in sideways markets.