PROTECTED SOURCE SCRIPT
[DEM] MLR Signal (With Backtesting)

[DEM] MLR Signal (With Backtesting) is designed to generate buy signals using a machine learning regression model that analyzes multiple technical indicators from a reference symbol (default NDX) to predict market direction and identify optimal entry points. It also includes a comprehensive backtesting framework to evaluate the historical performance of these signals. The indicator overlays directly on the price chart, plotting signals and displaying performance statistics in a table while coloring bars green for bullish predictions and red for bearish predictions. The MLR model processes ten input features including RSI, MACD components, moving average relationships, and price momentum changes, applying predetermined coefficients to generate a prediction score that determines market bias, with buy signals triggered only when specific sequential patterns of bullish predictions occur (requiring particular arrangements of consecutive bullish and bearish predictions over recent bars) to filter for higher-confidence entry opportunities while tracking signal accuracy and returns through integrated backtesting.
Protected script
This script is published as closed-source. However, you can use it freely and without any limitations – learn more here.
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.
Protected script
This script is published as closed-source. However, you can use it freely and without any limitations – learn more here.
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.