INVITE-ONLY SCRIPT

Uptrick: ATR Model

227
Introduction
The Uptrick: ATR Model is a multi-regime directional tool designed to adapt to various trading styles and timeframes. It combines trend assessment, market state evaluation, visual overlays, and signal filtering into a single, highly configurable system. This indicator is intended to help traders interpret directional conditions, structure their entries and exits, and view real-time shifts in market context, all without relying on external scripts or multiple chart layers.

Core Functionality
At its foundation, the Uptrick: ATR Model builds a framework that responds to user-defined structure and market behavior. Through a wide range of inputs, traders can adjust the internal responsiveness, signal frequency, and volatility interaction of the system. The core behavior of the model can be shaped via:
  • Custom starting date for signal activation
  • Flexible smoothing structure
  • Adjustable expansion control for range boundaries
  • Signal persistence settings to limit noise
  • Conditional plotting of directional signals
  • Real-time bar coloring and overlays
  • Custom routing between long, short, and neutral positioning

This indicator is not tied to a single interpretation of market movement. Instead, it adapts to how the user defines structural behavior, volatility confirmation, and trend alignment.

Multi-Regime Architecture
The script includes four unique operating regimes, each offering a distinct model of interpreting market conditions:
  • Trend Mode
    This regime focuses on trend state transitions over time. Signal behavior is aligned with directional market shifts and transitions are plotted with visual labels. Optional filters and persistence settings help control signal quality and responsiveness.
  • Cloud Close Mode
    Cloud Close mode detects transitions when price interacts with dynamic boundaries. Signals are generated when the asset moves in or out of these ranges. This regime supports state memory to avoid repeated signals and emphasizes confirmation over reactivity.
  • Lightning Trend Mode
    This mode evaluates momentum alignment across selected structures. Its behavior is based on composite assessments and dynamically reflects changes in directional agreement. This regime is well-suited for intraday or high-resolution users seeking visual confirmation of trend shifts.
  • Final Verdict Mode
    A meta-regime that combines the output of the other three modes into a single directional consensus. A live decision table is displayed on-screen, showing the current verdict of each regime and a final, averaged output. This mode is designed for high-conviction or conservative traders who prefer confirmation across multiple systems.

Each regime can be enabled through a single selector, and the indicator adapts its signal behavior and bar coloring to reflect the active mode.

Signal System and Visual Feedback
The indicator generates Long, Short, or Cash (neutral/exit) signals depending on the active regime, directional configuration, and filter conditions. Signal shapes are plotted only once per state transition and are color-coded for clarity.

Users can define:
  • Whether signals should support both long and short, or long-only
  • Whether repeated signals are allowed (pyramiding control)
  • Whether to enforce a minimum number of confirming bars before a signal is allowed (persistence)

Signals are accompanied by real-time bar coloring, giving users an instant visual cue of the current state without relying on shape markers alone. These signals adjust based on the selected regime and are subject to any active confirmation filters.

Confirmation Filters
To reduce noise and improve the relevance of each signal, the model includes two optional filters:
  • Strength Filter
    [Applies a condition based on the asset’s momentum. When enabled, signals will only fire if this condition aligns with the trade direction. Includes parameters for sensitivity and smoothness.
  • Trend Filter
    Applies a directional filter based on a broader trend context. Signals will only trigger when this larger structure supports the directional bias. This filter is useful for avoiding signals during counter-trend moves or consolidations.

Both filters can be toggled independently. When disabled, the model will operate with fewer restrictions.

Dynamic Structure Customization
Users can control how the internal structure of the model behaves using:
  • Source selection (e.g., close, open, high, etc.)
  • Smoothing configuration using a tiered structure with up to three stages
  • Custom length inputs to adjust responsiveness
  • Selectable method options for each layer
  • Expansion settings to adjust the distance of dynamic boundaries
  • Signal persistence threshold to delay entries until confirmation is met

This modular control allows traders to define whether they want faster reaction to movement or more conservative, delayed responses depending on their strategy.

Final Verdict Table
The Final Verdict table is a live display that summarizes the signal output of the three core regimes (Trend, Cloud Close, and Lightning Trend). It includes:
  • Regime names and their current directional state
  • Directional scores for each regime
  • A final averaged score and directional label

The table is updated every bar and is fully customizable:
  • Position on screen (top left, center, bottom right, etc.)
  • Text size for readability
  • Color-coded state labels for fast interpretation

This feature is designed to offer structured decision support by showing consensus or divergence across all logic models in real time.

ekran görüntüsü

Static Levels Module
An optional module allows the user to anchor a high point (typically an all-time high) from a user-defined historical date. From that anchor, multiple levels are projected downward using fixed ratios. These levels are:
  • Automatically updated when new highs occur
  • Visualized using horizontal step-lines
  • Fully customizable in terms of count, color, and source

These levels serve as contextual guides and can assist with price projection, risk management, or discretionary confluence zones.

ekran görüntüsü

Directional Control
The model supports both Long & Short and Long Only signal modes. In Long Only mode, exit signals are routed to neutral (Cash) instead of Short. This allows users to align the indicator with personal strategy, risk appetite, or portfolio rules. Neutral signals are also plotted with distinct labels and coloring to indicate a directional reset.

Input Summary
All components of the script are user-configurable through the following inputs:
Start date selector to restrict signal generation
  • Source selection for core price input
  • Custom lengths and responsiveness settings
  • Smoothing structure with optional stacking
  • Expansion control for range width
  • Signal persistence threshold
  • Signal type selector (long-only or long & short)
  • Regime selector between four logic systems
  • Filters: strength-based and trend-based
  • Verdict table display settings (position and size)
  • Static levels: anchor date, count, source, and visual customization


Originality
What sets the Uptrick: ATR Model apart is its integration of multiple directional systems into a single, configurable interface. Each regime is distinct and interprets market behavior from a unique perspective, while the Final Verdict mode offers a consolidated view that few tools provide in a fully visual and non-redundant format. The Lightning Trend scoring engine and modular structural design offer a level of control and flexibility uncommon in single-layer indicators. The combination of signal gating, decision tables, and state tracking creates a cohesive, structured environment for directional evaluation.

Summary
The Uptrick: ATR Model is a complete directional and volatility analysis system designed for customizable trend evaluation, signal clarity, and strategic filtering. It adapts to different trader needs through its configurable regimes, state-aware signals, dynamic overlays, and visual decision tools. It is suitable for discretionary traders seeking structured guidance, as well as systematic users who require configurable state management and signal control.

Disclaimer
This tool is provided for informational and research purposes only. It does not constitute investment advice or a recommendation to buy or sell any financial instrument. All trading involves risk, and past performance does not guarantee future results. Users are solely responsible for their own decisions.

Feragatname

Bilgiler ve yayınlar, TradingView tarafından sağlanan veya onaylanan finansal, yatırım, işlem veya diğer türden tavsiye veya tavsiyeler anlamına gelmez ve teşkil etmez. Kullanım Şartları'nda daha fazlasını okuyun.