Auto Line

Auto Line is a multi-level analytical engine that automatically generates structural price levels based on a variety of frameworks such as:
Moving averages
Upper / Lower band logic
Previous High / Previous Low
Swing pivot highs and lows
Fibonacci Pivot levels
Multi-timeframe (HTF) inputs
Each level is evaluated using a Break Count grading system, which measures how frequently price has crossed the level.
This grading does not produce buy or sell signals—it simply visualizes how often the market has interacted with that price area.
Auto Line is a market structure reference tool, not a prediction or signal generator.
✨ Key Features
1) Nine Independent Level Engines (SET 1–9)
Each of the nine SETs can independently generate levels using one of the following methods:
SMA
Upper band
Lower band
Previous High / Previous Low
Swing Points
Fibonacci Pivot Levels
NONE (disabled)
Each SET has its own:
Length
Multiplier
HTF timeframe
This allows full customization of the level-generation logic.
2) Built-in Multi-Timeframe (HTF) Support
Every SET can request data from any higher timeframe via request.security().
Example usage:
SET1 → Daily
SET3 → Weekly
SET9 → Weekly Fibonacci
Thus, the user can visualize multiple timeframe structures on a single chart.
3) Break-Count Level Strength System
Auto Line evaluates the “strength” of each level using a break-count formula:
breaks = Number of times price crosses above/below the level
grade = 0–100 scale based on breaks
More breaks → higher grade → lower opacity (more faded)
This gives a visual sense of how frequently the market has interacted with a level.
It is not a probability measure and does not imply trade direction or outcome.
4) Swing-Based Structural Levels
The indicator detects swing highs and lows using left/right parameters and converts them into structural levels.
Includes:
Automatic swing labeling
Break-count evaluation
Optional display of all swing points (showPP)
5) Automatic Fibonacci Pivot Levels
When the Fibonacci option is selected:
P
R1 to R5
S1 to S5
are generated automatically and evaluated just like any other level.
6) Selective Output (A–E Pick Slots)
The user can selectively display specific SET outputs using pick slots:
Pick A → choose SET #1 to SET #9
Pick B → choose another SET
… up to five independent visible selections
Each pick can display either:
a single line level
or a full 11-level Fibonacci set (when applicable)
📌 Explanation of User Inputs
Swing Settings
Left / Right: Controls pivot swing sensitivity
Show PP: Option to show all swing labels on chart
SET Parameters (1 to 9)
Each SET contains:
Parameter Description
Method SMA / Upper / Lower / Prev High / Prev Low / Swings / Fibonacci
Length Used for SMA/Band logic
Multiplier Used for Upper/Lower band expansion
HTF Timeframe used for data calculation
Each SET behaves independently.
Display Options (Picks A–E)
Each pick allows selecting one SET to display.
Example:
Pick A = SET3
Pick B = SET5
Fibonacci levels generate up to 11 plots;
other methods produce a single structural line.
📌 How Level Strength Is Calculated (Technical Description)
Auto Line tracks how often price alternates above and below a level:
Determine whether price begins above or below the level
Count each time price crosses it
Convert break count into a grade:
grade = min(100, round((100 / fade) * breaks))
The grade affects opacity only, giving a visual representation of interaction frequency.
This grading does not represent trade probability or outcome.
📌 Repainting Behavior
Auto Line:
Uses confirmed historical bars
Uses security() for HTF data
Does not modify past values once bars are confirmed
Therefore, the indicator does not repaint.
However, structural levels such as:
Swings
Pivot Levels
HTF lines
will naturally update when new bars close, which is expected behavior for this style of indicator.
📌 Purpose of the Indicator
Auto Line is designed for:
Identifying structural price regions
Observing where the market most frequently interacts
Comparing levels across multiple frameworks
Creating a comprehensive multi-timeframe level map
It does not:
❌ predict future price
❌ provide buy/sell signals
❌ guarantee profitable outcomes
It is a supporting tool for market structure analysis.
📌 Notes & Considerations
Swings and pivot levels depend on chart range and may change as new bars appear
Too many SETs may clutter the chart—use pick slots to selectively display
Break-count is purely informational, not directional
סקריפט להזמנה בלבד
רק משתמשים שאושרו על ידי המחבר יכולים לגשת לסקריפט הזה. יהיה עליך לשלוח בקשת גישה ולקבל אישור לשימוש. בדרך כלל, הגישה ניתנת לאחר תשלום. למידע נוסף, עקוב אחר ההוראות של היוצר בהמשך או צור קשר עם c9indicator ישירות.
TradingView לא ממליצה לשלם עבור סקריפט או להשתמש בו אלא אם כן אתה סומך לחלוטין על המחבר שלו ומבין כיצד הוא פועל. ייתכן שתוכל גם למצוא חלופות חינמיות וקוד פתוח ב-סקריפטים הקהילתיים שלנו.
הוראות המחבר
כתב ויתור
סקריפט להזמנה בלבד
רק משתמשים שאושרו על ידי המחבר יכולים לגשת לסקריפט הזה. יהיה עליך לשלוח בקשת גישה ולקבל אישור לשימוש. בדרך כלל, הגישה ניתנת לאחר תשלום. למידע נוסף, עקוב אחר ההוראות של היוצר בהמשך או צור קשר עם c9indicator ישירות.
TradingView לא ממליצה לשלם עבור סקריפט או להשתמש בו אלא אם כן אתה סומך לחלוטין על המחבר שלו ומבין כיצד הוא פועל. ייתכן שתוכל גם למצוא חלופות חינמיות וקוד פתוח ב-סקריפטים הקהילתיים שלנו.