OPEN-SOURCE SCRIPT

Parametric Multiplier Backtester

85
🧪 An experimental educational tool for visual market analysis and idea testing through the multiplication and interaction of core technical parameters. It allows you to observe in real time how the combination of indicators affects the resulting curve and the potential efficiency of trading strategies.

📖 Detailed Description
1. Philosophy & Purpose of the Tool

This backtester is not created to search for the “Holy Grail,” but for deep learning and analysis. It is intended for:

👶 Beginner traders – to visually understand how basic indicators work and interact with each other.

🧠 Experienced analysts – to search for new ideas and non-obvious relationships between different aspects of the market (trend, volatility, momentum, volume).

The core idea is combining parameters through multiplication.
👉 Why multiplication? Unlike simple addition, multiplication strengthens signals only when several factors align in the same direction. If at least one parameter shows weakness (close to zero in normalized form), it suppresses the overall result, serving as a filter for false signals.

2. How does it work?

Step 1: Parameter Selection
The tool gathers data from 9 popular indicators: 📈 Price, RSI, ADX, Momentum, ROC, ATR, Volume, Acceleration, Slope.

Step 2: Normalization
Since these indicators differ in nature and scale (e.g., RSI from 0–100 vs ATR in points), they are brought to a unified range. Each parameter is normalized within a given period (Normalization Period). This is the key step for proper functioning.

Step 3: Multiplication
The parameters enabled by the user are multiplied, creating a new derived value — Product Line. This line is an aggregated reflection of the selected market model.

Step 4: Smoothing
The resulting line can be noisy. The Smooth Product Line function (via SMA) reduces noise and highlights the main trend.

Step 5: Interpretation
The smoothed Product Line is compared with its own moving average (Mean Line). Crossovers generate trading signals.

3. What conclusions can be drawn from multiplying parameters?

⚡ RSI × Momentum × Volume – Strength of momentum confirmed by volume. High values may indicate strong, volume-backed moves.

📊 ADX × ATR – Strength of trend and its volatility. High values may signal the beginning of a strong trending move with high volatility.

🚀 Price × Slope × Acceleration – Combined speed and acceleration of the trend. Shows not only where price is going, but with what acceleration.

❌ Disabling parameters – By turning parameters on/off (e.g., Volume), you can instantly see how important each factor is for the current market situation.

4. Real-Time Mode & Instant Feedback

The main educational value of this tool is interactivity:

🔄 Turn indicators on/off in real time.
⏱ Change their periods and instantly observe how the Product Line shape and behavior changes.
📉 Immediately see how these changes affect historical trading signals (blue/red arrows) and strategy performance metrics (Profit Factor, Net Profit, etc.).

This process develops “market intuition” and helps understand which settings work better under different conditions (trend vs range).

5. Default Settings & Recommendations

⚙️ Default settings are optimized for demonstration on the 4H timeframe of the SOLUSDT crypto pair.

Parameter Settings: Switch group (Use RSI, Use ADX, etc.).

Normalization Period (20): Lower = more sensitive, Higher = smoother.

Smooth Product Line (true): Enabled by default for clarity.

Smoothing Period (200): Main sensitivity setting.

Trend Filter: Optional 200-SMA filter. Strategy trades only in the main trend direction.

⚠️ Important Warning: This is an experimental & educational tool. The signals it generates are the result of a mathematical model and are not a ready-to-use trading strategy. Always backtest ideas and apply risk management before risking real money.

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.