OPEN-SOURCE SCRIPT
LiLo Location Model

LiLo Location — Behavioral Market Positioning System
LiLo Location is a market positioning framework designed to simplify price interpretation into actionable behavioral guidance.
Instead of overwhelming traders with raw indicators, statistical models, or technical jargon, LiLo translates market conditions into intuitive states like:
CHEAP
FAIR
HOT
PANIC
MANIA
The goal is not prediction. The goal is positioning.
LiLo helps traders and investors answer one core question: “Where are we located within the broader market structure?”
What LiLo Does
LiLo combines multiple market measurements behind the scenes, including:
ATR volatility expansion
Z-score deviation
Bollinger Band Width Percentile (BBWP)
Trend structure
Higher timeframe Keltner positioning
Macro timeframe alignment
But the user never needs to see the math.
Instead, LiLo converts complex market data into:
Location
Trend
Volatility state
Behavioral guidance
Scaling context
Macro positioning
The result is a cleaner decision framework focused on behavior rather than signal chasing.
Core Philosophy
Traditional indicators attempt to answer:
“What will price do next?”
LiLo instead asks:
“How should behavior change based on where price currently is?”
That distinction is important.
LiLo is designed to reduce emotional decision-making by contextualizing price location within both local and macro structures.
Two Operating Modes
Scout Mode
Designed for:
traders researching entries
new buyers
watchlist scanning
market positioning
Scout Mode evaluates historical and macro price location.
Examples:
GOOD BUY ZONE
STOP CHASING
WAIT FOR DIP
NORMAL PRICE
This mode is intended for opportunity assessment.
Owning Mode
Designed for:
active holders
investors managing positions
scaling decisions
profit management
Owning Mode factors in:
your personal cost basis
unrealized gain/loss
market location
macro heat conditions
Examples:
UNDERWATER
WINNING
STRONG PROFIT
TRIM CAUTIOUSLY
This mode is intended for position management.
Macro Timeframe Anchoring
One of LiLo’s defining features is higher timeframe anchoring.
Lower timeframes can become noisy and emotionally reactive during strong trends.
To stabilize interpretation, LiLo automatically pairs the current chart timeframe with a higher macro timeframe.
Examples:
Current TF Macro TF
15m 2H
1H 6H
4H 1D
1D 3D
3D 1W
1W 2W
2W 1M
This helps prevent:
calling tops too early
overreacting to local volatility
fighting long-term trend structure
Users can select:
Auto Crypto
Auto TradFi
Manual timeframe mode
Location Dots
LiLo includes lightweight visual markers designed to highlight:
potential exhaustion
local extremes
reversal attempts
behavioral warning zones
Green dots represent:
potential value/exhaustion lows
Red dots represent:
potential heat/exhaustion highs
The dots are intentionally minimalist.
They are not intended to function as buy/sell signals.
They are contextual warnings designed to support broader market positioning.
Dashboard Overview
The LiLo dashboard summarizes:
Metric Purpose
Location Relative market heat
Macro Higher timeframe positioning
TF Pair Active timeframe relationship
Trend Directional structure
Volatility Compression vs expansion
Guidance Behavioral interpretation
Plan Suggested posture
Add / Trim Scaling context
Best Use Cases
LiLo works best for:
swing trading
macro positioning
long-term investing
trend participation
avoiding emotional chasing
scaling decisions
identifying overheated conditions
spotting potential value zones
Important Notes
LiLo is:
a positioning framework
a contextual market model
a behavioral guidance system
LiLo is NOT:
a prediction engine
a guaranteed reversal detector
financial advice
a mechanical trading system
No indicator can perfectly identify tops or bottoms.
LiLo is designed to improve context, discipline, and decision quality.
Recommended Workflow
Scout Mode
Use Scout Mode to:
scan markets
identify value zones
avoid emotional chasing
assess macro conditions
Owning Mode
Use Owning Mode to:
manage active positions
evaluate profit exposure
reduce emotional decision-making
identify overheated conditions
Suggested Trading Style
LiLo performs best when combined with:
patience
trend awareness
higher timeframe analysis
disciplined scaling
risk management
It is intentionally designed to simplify interpretation while preserving underlying structural depth.
The philosophy is simple:
Understand location first.
Decisions become easier afterward.
LiLo Location is a market positioning framework designed to simplify price interpretation into actionable behavioral guidance.
Instead of overwhelming traders with raw indicators, statistical models, or technical jargon, LiLo translates market conditions into intuitive states like:
CHEAP
FAIR
HOT
PANIC
MANIA
The goal is not prediction. The goal is positioning.
LiLo helps traders and investors answer one core question: “Where are we located within the broader market structure?”
What LiLo Does
LiLo combines multiple market measurements behind the scenes, including:
ATR volatility expansion
Z-score deviation
Bollinger Band Width Percentile (BBWP)
Trend structure
Higher timeframe Keltner positioning
Macro timeframe alignment
But the user never needs to see the math.
Instead, LiLo converts complex market data into:
Location
Trend
Volatility state
Behavioral guidance
Scaling context
Macro positioning
The result is a cleaner decision framework focused on behavior rather than signal chasing.
Core Philosophy
Traditional indicators attempt to answer:
“What will price do next?”
LiLo instead asks:
“How should behavior change based on where price currently is?”
That distinction is important.
LiLo is designed to reduce emotional decision-making by contextualizing price location within both local and macro structures.
Two Operating Modes
Scout Mode
Designed for:
traders researching entries
new buyers
watchlist scanning
market positioning
Scout Mode evaluates historical and macro price location.
Examples:
GOOD BUY ZONE
STOP CHASING
WAIT FOR DIP
NORMAL PRICE
This mode is intended for opportunity assessment.
Owning Mode
Designed for:
active holders
investors managing positions
scaling decisions
profit management
Owning Mode factors in:
your personal cost basis
unrealized gain/loss
market location
macro heat conditions
Examples:
UNDERWATER
WINNING
STRONG PROFIT
TRIM CAUTIOUSLY
This mode is intended for position management.
Macro Timeframe Anchoring
One of LiLo’s defining features is higher timeframe anchoring.
Lower timeframes can become noisy and emotionally reactive during strong trends.
To stabilize interpretation, LiLo automatically pairs the current chart timeframe with a higher macro timeframe.
Examples:
Current TF Macro TF
15m 2H
1H 6H
4H 1D
1D 3D
3D 1W
1W 2W
2W 1M
This helps prevent:
calling tops too early
overreacting to local volatility
fighting long-term trend structure
Users can select:
Auto Crypto
Auto TradFi
Manual timeframe mode
Location Dots
LiLo includes lightweight visual markers designed to highlight:
potential exhaustion
local extremes
reversal attempts
behavioral warning zones
Green dots represent:
potential value/exhaustion lows
Red dots represent:
potential heat/exhaustion highs
The dots are intentionally minimalist.
They are not intended to function as buy/sell signals.
They are contextual warnings designed to support broader market positioning.
Dashboard Overview
The LiLo dashboard summarizes:
Metric Purpose
Location Relative market heat
Macro Higher timeframe positioning
TF Pair Active timeframe relationship
Trend Directional structure
Volatility Compression vs expansion
Guidance Behavioral interpretation
Plan Suggested posture
Add / Trim Scaling context
Best Use Cases
LiLo works best for:
swing trading
macro positioning
long-term investing
trend participation
avoiding emotional chasing
scaling decisions
identifying overheated conditions
spotting potential value zones
Important Notes
LiLo is:
a positioning framework
a contextual market model
a behavioral guidance system
LiLo is NOT:
a prediction engine
a guaranteed reversal detector
financial advice
a mechanical trading system
No indicator can perfectly identify tops or bottoms.
LiLo is designed to improve context, discipline, and decision quality.
Recommended Workflow
Scout Mode
Use Scout Mode to:
scan markets
identify value zones
avoid emotional chasing
assess macro conditions
Owning Mode
Use Owning Mode to:
manage active positions
evaluate profit exposure
reduce emotional decision-making
identify overheated conditions
Suggested Trading Style
LiLo performs best when combined with:
patience
trend awareness
higher timeframe analysis
disciplined scaling
risk management
It is intentionally designed to simplify interpretation while preserving underlying structural depth.
The philosophy is simple:
Understand location first.
Decisions become easier afterward.
Mã nguồn mở
Theo đúng tinh thần TradingView, tác giả của tập lệnh này đã công bố nó dưới dạng mã nguồn mở, để các nhà giao dịch có thể xem xét và xác minh chức năng. Chúc mừng tác giả! Mặc dù bạn có thể sử dụng miễn phí, hãy nhớ rằng việc công bố lại mã phải tuân theo Nội quy.
Thông báo miễn trừ trách nhiệm
Thông tin và các ấn phẩm này không nhằm mục đích, và không cấu thành, lời khuyên hoặc khuyến nghị về tài chính, đầu tư, giao dịch hay các loại khác do TradingView cung cấp hoặc xác nhận. Đọc thêm tại Điều khoản Sử dụng.
Mã nguồn mở
Theo đúng tinh thần TradingView, tác giả của tập lệnh này đã công bố nó dưới dạng mã nguồn mở, để các nhà giao dịch có thể xem xét và xác minh chức năng. Chúc mừng tác giả! Mặc dù bạn có thể sử dụng miễn phí, hãy nhớ rằng việc công bố lại mã phải tuân theo Nội quy.
Thông báo miễn trừ trách nhiệm
Thông tin và các ấn phẩm này không nhằm mục đích, và không cấu thành, lời khuyên hoặc khuyến nghị về tài chính, đầu tư, giao dịch hay các loại khác do TradingView cung cấp hoặc xác nhận. Đọc thêm tại Điều khoản Sử dụng.