OPEN-SOURCE SCRIPT
Zaktualizowano Strategy MTF Scanner

Description:
Stop guessing which timeframe is best for your strategy. This tool performs a "Top-Down Analysis" instantly by running a unified strategy simulation across 5 different timeframes simultaneously.
Why Use This?
A strategy that fails on the 1-Hour chart might print massive returns on the 4-Hour chart due to reduced noise. This scanner calculates the Equity Curve, Max Drawdown, and Win Rate for 15m, 1H, 4H, Daily, and Weekly charts (customizable) and presents the winner in a dashboard.
Features:
Simultaneous Backtesting: Runs 5 independent simulations inside request.security.
Equity & Drawdown Tracking: See not just how much you make, but how much risk is required on each timeframe.
Instant Comparison: Identify "Fractal Resonance" where multiple timeframes align in profitability.
Strategy Logic (Fully Customizable):
The default entry logic is a generic EMA 9/21 Crossover with a Trend Filter.
Note: This is an open-source framework. You can modify the calc_strategy_results function in the source code to substitute the crossover with your own custom entry conditions (RSI, Stochastic, Price Action, etc.).
Workflow:
Stop guessing which timeframe is best for your strategy. This tool performs a "Top-Down Analysis" instantly by running a unified strategy simulation across 5 different timeframes simultaneously.
Why Use This?
A strategy that fails on the 1-Hour chart might print massive returns on the 4-Hour chart due to reduced noise. This scanner calculates the Equity Curve, Max Drawdown, and Win Rate for 15m, 1H, 4H, Daily, and Weekly charts (customizable) and presents the winner in a dashboard.
Features:
Simultaneous Backtesting: Runs 5 independent simulations inside request.security.
Equity & Drawdown Tracking: See not just how much you make, but how much risk is required on each timeframe.
Instant Comparison: Identify "Fractal Resonance" where multiple timeframes align in profitability.
Strategy Logic (Fully Customizable):
The default entry logic is a generic EMA 9/21 Crossover with a Trend Filter.
Note: This is an open-source framework. You can modify the calc_strategy_results function in the source code to substitute the crossover with your own custom entry conditions (RSI, Stochastic, Price Action, etc.).
Workflow:
- Load this scanner to identify the dominant timeframe (e.g., 4H).
- Switch your chart to the 4H timeframe.
- Use the Strategy Grid Optimizer to fine-tune the specific EMA and ATR settings for that timeframe.
Informacje o Wersji
⚠️ Important Note on Data Limits:TradingView restricts the number of bars a script can calculate (e.g., 10,000 to 20,000 bars).
On a Daily TF: 10,000 bars covers 30+ years.
On a 15m TF: 10,000 bars covers only ~4 months.
This scanner now includes a "TEST START" column. Always check this date! A timeframe showing "1000% Profit" over 6 months (15m) cannot be directly compared to "500% Profit" over 10 years (Daily). Use this tool to find the current dominant timeframe, but be aware of the historical depth.
Skrypt open-source
W zgodzie z duchem TradingView twórca tego skryptu udostępnił go jako open-source, aby użytkownicy mogli przejrzeć i zweryfikować jego działanie. Ukłony dla autora. Korzystanie jest bezpłatne, jednak ponowna publikacja kodu podlega naszym Zasadom serwisu.
Wyłączenie odpowiedzialności
Informacje i publikacje nie stanowią i nie powinny być traktowane jako porady finansowe, inwestycyjne, tradingowe ani jakiekolwiek inne rekomendacje dostarczane lub zatwierdzone przez TradingView. Więcej informacji znajduje się w Warunkach użytkowania.
Skrypt open-source
W zgodzie z duchem TradingView twórca tego skryptu udostępnił go jako open-source, aby użytkownicy mogli przejrzeć i zweryfikować jego działanie. Ukłony dla autora. Korzystanie jest bezpłatne, jednak ponowna publikacja kodu podlega naszym Zasadom serwisu.
Wyłączenie odpowiedzialności
Informacje i publikacje nie stanowią i nie powinny być traktowane jako porady finansowe, inwestycyjne, tradingowe ani jakiekolwiek inne rekomendacje dostarczane lub zatwierdzone przez TradingView. Więcej informacji znajduje się w Warunkach użytkowania.