OPEN-SOURCE SCRIPT
QT-1.2

QT یک اندیکاتور چندلایه برای تحلیل ساختار زمانی/چرخهای بازار است که چند منطق کلیدی را بهصورت یکپارچه روی چارت نمایش میدهد:
باکسهای چرخهای (Cycle Boxes): تفکیک دقیق چرخهها در تایمفریمهای مختلف (سالانه، ماهانه، هفتگی، روزانه، 90 دقیقه و Micro) با استایل و رنگبندی قابل تنظیم، جهت درک سریع محدودههای زمانی و ساختار بازار.
SSMT (Smart/Structured SMT) چندلایه: شناسایی SMT بر اساس شکست سقف/کف کوارتر قبلی بین چند نماد (Symbol A/B و خود چارت) با سه سطح نمایش (Same / +1 / +2) و سه حالت خروجی (Trigger-only / Prev+Trigger / Line-only). منطق حذف/لغو سیگنالها و پاکسازی خودکار، برای جلوگیری از شلوغی و سیگنالهای منقضی طراحی شده است.
Negative-Correlation SSMT (اختیاری): پشتیبانی از نمایش SMT برای نمادهای همبستگی معکوس با نرمالسازی دادهها (Invert) تا منطق SMT دقیقاً مطابق نسخه اصلی، روی سری معکوس اجرا شود.
PSP Divergence Markers: نمایش اختلاف جهت کندلها بین نمادها (یا حالت Swing در PSP Mode) با مارکرهای سبک و قابل تنظیم، همراه با محدودیت تعداد مارکها برای کنترل منابع.
True Opens by Q2 (TMO/TWO/TDO/TSO/TMSO): ترسیم خطوط «True Open» برای Q2 چرخههای مختلف (ماهانه/هفتگی/روزانه/90m/Micro) با بهروزرسانی پیشرونده و اتصال دقیق به زمان داخل کندل از طریق داده 1 دقیقهای.
این ابزار برای تریدرهایی طراحی شده که به ساختار زمانی، رفتار بینمارکتی (Intermarket) و تایید/عدم تایید شکستها اهمیت میدهند و میخواهند تمام اجزا را در یک اسکریپت سبک و کنترلشده داشته باشند.
English (Description)
QT is a multi-layer, cycle-aware market structure indicator that consolidates several core logics into a single, clean overlay:
Cycle Boxes: Accurate time-cycle segmentation across multiple horizons (Yearly, Monthly, Weekly, Daily, 90m, and Micro) with configurable styling/colors to quickly contextualize price action inside its time structure.
Multi-layer SSMT (Structured SMT): Detects SMT by comparing current breaks vs. the previous quarter’s high/low across multiple symbols (Chart / Symbol A / Symbol B), with three display layers (Same / +1 / +2) and three output modes (Trigger-only / Prev+Trigger / Line-only). Built-in invalidation/cleanup logic helps reduce clutter and expired signals.
Optional Negative-Correlation SSMT: Supports inverse-correlation instruments via series normalization (inversion), allowing the same SSMT engine to run on the inverted series while preserving the original SSMT behavior and rules.
PSP Divergence Markers: Highlights candle-direction mismatches between symbols (or swing-based PSP mode) using lightweight, customizable markers and resource limits for performance control.
True Opens by Q2 (TMO/TWO/TDO/TSO/TMSO): Plots True Open levels for Q2 across cycles (Monthly/Weekly/Daily/90m/Micro), including progressive extensions and precise intra-bar timestamp attachment using 1-minute data when needed.
QT is built for traders who focus on time structure, intermarket confirmation/denial, and disciplined SMT-based signaling, while keeping everything unified, performant, and configurable.
باکسهای چرخهای (Cycle Boxes): تفکیک دقیق چرخهها در تایمفریمهای مختلف (سالانه، ماهانه، هفتگی، روزانه، 90 دقیقه و Micro) با استایل و رنگبندی قابل تنظیم، جهت درک سریع محدودههای زمانی و ساختار بازار.
SSMT (Smart/Structured SMT) چندلایه: شناسایی SMT بر اساس شکست سقف/کف کوارتر قبلی بین چند نماد (Symbol A/B و خود چارت) با سه سطح نمایش (Same / +1 / +2) و سه حالت خروجی (Trigger-only / Prev+Trigger / Line-only). منطق حذف/لغو سیگنالها و پاکسازی خودکار، برای جلوگیری از شلوغی و سیگنالهای منقضی طراحی شده است.
Negative-Correlation SSMT (اختیاری): پشتیبانی از نمایش SMT برای نمادهای همبستگی معکوس با نرمالسازی دادهها (Invert) تا منطق SMT دقیقاً مطابق نسخه اصلی، روی سری معکوس اجرا شود.
PSP Divergence Markers: نمایش اختلاف جهت کندلها بین نمادها (یا حالت Swing در PSP Mode) با مارکرهای سبک و قابل تنظیم، همراه با محدودیت تعداد مارکها برای کنترل منابع.
True Opens by Q2 (TMO/TWO/TDO/TSO/TMSO): ترسیم خطوط «True Open» برای Q2 چرخههای مختلف (ماهانه/هفتگی/روزانه/90m/Micro) با بهروزرسانی پیشرونده و اتصال دقیق به زمان داخل کندل از طریق داده 1 دقیقهای.
این ابزار برای تریدرهایی طراحی شده که به ساختار زمانی، رفتار بینمارکتی (Intermarket) و تایید/عدم تایید شکستها اهمیت میدهند و میخواهند تمام اجزا را در یک اسکریپت سبک و کنترلشده داشته باشند.
English (Description)
QT is a multi-layer, cycle-aware market structure indicator that consolidates several core logics into a single, clean overlay:
Cycle Boxes: Accurate time-cycle segmentation across multiple horizons (Yearly, Monthly, Weekly, Daily, 90m, and Micro) with configurable styling/colors to quickly contextualize price action inside its time structure.
Multi-layer SSMT (Structured SMT): Detects SMT by comparing current breaks vs. the previous quarter’s high/low across multiple symbols (Chart / Symbol A / Symbol B), with three display layers (Same / +1 / +2) and three output modes (Trigger-only / Prev+Trigger / Line-only). Built-in invalidation/cleanup logic helps reduce clutter and expired signals.
Optional Negative-Correlation SSMT: Supports inverse-correlation instruments via series normalization (inversion), allowing the same SSMT engine to run on the inverted series while preserving the original SSMT behavior and rules.
PSP Divergence Markers: Highlights candle-direction mismatches between symbols (or swing-based PSP mode) using lightweight, customizable markers and resource limits for performance control.
True Opens by Q2 (TMO/TWO/TDO/TSO/TMSO): Plots True Open levels for Q2 across cycles (Monthly/Weekly/Daily/90m/Micro), including progressive extensions and precise intra-bar timestamp attachment using 1-minute data when needed.
QT is built for traders who focus on time structure, intermarket confirmation/denial, and disciplined SMT-based signaling, while keeping everything unified, performant, and configurable.
Script de código abierto
Fiel al espíritu de TradingView, el creador de este script lo ha convertido en código abierto, para que los traders puedan revisar y verificar su funcionalidad. ¡Enhorabuena al autor! Aunque puede utilizarlo de forma gratuita, recuerde que la republicación del código está sujeta a nuestras Normas internas.
Exención de responsabilidad
La información y las publicaciones no constituyen, ni deben considerarse como asesoramiento o recomendaciones financieras, de inversión, de trading o de otro tipo proporcionadas o respaldadas por TradingView. Más información en Condiciones de uso.
Script de código abierto
Fiel al espíritu de TradingView, el creador de este script lo ha convertido en código abierto, para que los traders puedan revisar y verificar su funcionalidad. ¡Enhorabuena al autor! Aunque puede utilizarlo de forma gratuita, recuerde que la republicación del código está sujeta a nuestras Normas internas.
Exención de responsabilidad
La información y las publicaciones no constituyen, ni deben considerarse como asesoramiento o recomendaciones financieras, de inversión, de trading o de otro tipo proporcionadas o respaldadas por TradingView. Más información en Condiciones de uso.