OPEN-SOURCE SCRIPT
Gabriel UCS 31 Timeframes Scanner Game Changer

This is a separate companion indicator — add it to the same chart alongside the strategy. It scans 31 timeframes simultaneously using the identical 10-factor confluence engine:
What it shows: A color-coded table with one row per timeframe — 10s through 1M — each showing:
• Net P&L % (simulated cumulative return)
• Trade count
• Win rate %
• Verdict: ✓ PROFIT (green) or ✗ LOSS (red)
How it works: Each timeframe gets its own request.security() call running the full confluence engine + a simplified trade simulator (entry at signal, exit at ATR stop or target). It's not identical to the Strategy Tester (no commission, no scale-out), but it correctly identifies which intervals have positive expectancy for your threshold setting.
Usage: Load it on chosen Symbol, glance at the table — every green row is worth backtesting with the full strategy. Saves you from manually clicking through 60+ intervals.
Caveat: TradingView may limit some sub-minute timeframes depending on your plan and the symbol's data availability. If a row shows 0 trades, that timeframe likely has no data.
only accepts time-based intervals (seconds, minutes, hours, days, weeks, months). It cannot request tick or range chart data. Those chart types are proprietary to TradingView's charting engine and have no timeframe string you can pass programmatically.
What you can do for ticks/ranges: The scanner covers everything from 10s to 1M automatically. For tick and range intervals, you'd still need to manually switch the strategy (not the scanner) to each one — but the scanner narrows your search dramatically. If 25 of 31 time-based intervals are red, the odds of tick/range being profitable are low for that symbol.
What it shows: A color-coded table with one row per timeframe — 10s through 1M — each showing:
• Net P&L % (simulated cumulative return)
• Trade count
• Win rate %
• Verdict: ✓ PROFIT (green) or ✗ LOSS (red)
How it works: Each timeframe gets its own request.security() call running the full confluence engine + a simplified trade simulator (entry at signal, exit at ATR stop or target). It's not identical to the Strategy Tester (no commission, no scale-out), but it correctly identifies which intervals have positive expectancy for your threshold setting.
Usage: Load it on chosen Symbol, glance at the table — every green row is worth backtesting with the full strategy. Saves you from manually clicking through 60+ intervals.
Caveat: TradingView may limit some sub-minute timeframes depending on your plan and the symbol's data availability. If a row shows 0 trades, that timeframe likely has no data.
only accepts time-based intervals (seconds, minutes, hours, days, weeks, months). It cannot request tick or range chart data. Those chart types are proprietary to TradingView's charting engine and have no timeframe string you can pass programmatically.
What you can do for ticks/ranges: The scanner covers everything from 10s to 1M automatically. For tick and range intervals, you'd still need to manually switch the strategy (not the scanner) to each one — but the scanner narrows your search dramatically. If 25 of 31 time-based intervals are red, the odds of tick/range being profitable are low for that symbol.
Açık kaynak kodlu komut dosyası
Gerçek TradingView ruhuyla, bu komut dosyasının mimarı, yatırımcıların işlevselliğini inceleyip doğrulayabilmesi için onu açık kaynaklı hale getirdi. Yazarı tebrik ederiz! Ücretsiz olarak kullanabilseniz de, kodu yeniden yayınlamanın Topluluk Kurallarımıza tabi olduğunu unutmayın.
Feragatname
Bilgiler ve yayınlar, TradingView tarafından sağlanan veya onaylanan finansal, yatırım, alım satım veya diğer türden tavsiye veya öneriler anlamına gelmez ve teşkil etmez. Kullanım Koşulları bölümünde daha fazlasını okuyun.
Açık kaynak kodlu komut dosyası
Gerçek TradingView ruhuyla, bu komut dosyasının mimarı, yatırımcıların işlevselliğini inceleyip doğrulayabilmesi için onu açık kaynaklı hale getirdi. Yazarı tebrik ederiz! Ücretsiz olarak kullanabilseniz de, kodu yeniden yayınlamanın Topluluk Kurallarımıza tabi olduğunu unutmayın.
Feragatname
Bilgiler ve yayınlar, TradingView tarafından sağlanan veya onaylanan finansal, yatırım, alım satım veya diğer türden tavsiye veya öneriler anlamına gelmez ve teşkil etmez. Kullanım Koşulları bölümünde daha fazlasını okuyun.