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.
סקריפט קוד פתוח
ברוח האמיתית של TradingView, יוצר הסקריפט הזה הפך אותו לקוד פתוח, כך שסוחרים יוכלו לעיין בו ולאמת את פעולתו. כל הכבוד למחבר! אמנם ניתן להשתמש בו בחינם, אך זכור כי פרסום חוזר של הקוד כפוף ל־כללי הבית שלנו.
כתב ויתור
המידע והפרסומים אינם מיועדים להיות, ואינם מהווים, ייעוץ או המלצה פיננסית, השקעתית, מסחרית או מכל סוג אחר המסופקת או מאושרת על ידי TradingView. קרא עוד ב־תנאי השימוש.
סקריפט קוד פתוח
ברוח האמיתית של TradingView, יוצר הסקריפט הזה הפך אותו לקוד פתוח, כך שסוחרים יוכלו לעיין בו ולאמת את פעולתו. כל הכבוד למחבר! אמנם ניתן להשתמש בו בחינם, אך זכור כי פרסום חוזר של הקוד כפוף ל־כללי הבית שלנו.
כתב ויתור
המידע והפרסומים אינם מיועדים להיות, ואינם מהווים, ייעוץ או המלצה פיננסית, השקעתית, מסחרית או מכל סוג אחר המסופקת או מאושרת על ידי TradingView. קרא עוד ב־תנאי השימוש.