OPEN-SOURCE SCRIPT
更新済 Koda Break of Structure

Koda Break of Structure — How to Use
🔹 What this indicator does (in plain English)
It shows you:
• Market structure (trend direction)
• Where liquidity sits (targets)
• When structure breaks (BOS)
• Where price is cheap or expensive (discount/premium)
• When lower timeframe entries align with higher timeframe bias
👉 In short: it helps you trade with structure + liquidity instead of guessing
________________________________________
🧩 1. Understanding Each Component
✅ A. Structure (Foundation)
What you see:
• H = swing high
• L = swing low
• BOS UP = bullish break
• BOS DOWN = bearish break
What it means:
• Price breaking highs = bullish control
• Price breaking lows = bearish control
👉 This tells you who is in control
________________________________________
💧 B. Liquidity (Targets)
What you see:
• Dashed lines → swing highs/lows
• EQH → equal highs (buy-side liquidity)
• EQL → equal lows (sell-side liquidity)
Behavior:
• Lines disappear when price hits them
What it means:
• Price is drawn to liquidity
• These are your targets
👉 “Price doesn’t move randomly — it moves to take liquidity”
________________________________________
🎯 C. Targets (After BOS)
After a break of structure:
• The indicator draws a target line
Logic:
• Bullish BOS → next high liquidity
• Bearish BOS → next low liquidity
👉 This is your profit objective
________________________________________
🧭 D. HTF Bias (Direction Filter)
Displayed in dashboard:
• Bullish
• Bearish
• Range
What it means:
• You only trade with this direction
👉 This is your macro filter
________________________________________
⚖️ E. Premium / Discount Zones
What you see:
• Upper box = Premium (expensive)
• Lower box = Discount (cheap)
• Midline = equilibrium
What it means:
• Buy in discount
• Sell in premium
👉 This is your location edge
________________________________________
⚡ F. LTF Entries (Execution)
What you see:
• LTF Long
• LTF Short
What it means:
• Entry is triggered when:
o HTF bias aligns
o Price is in correct zone
o Micro structure breaks
👉 This is your trigger
________________________________________
🔥 2. The Complete Trading Model
🟢 Bullish Setup (Longs)
1. HTF Bias = Bullish
2. Price pulls into Discount zone
3. Liquidity gets taken (EQL or lows)
4. You get:
o BOS UP or LTF Long
Entry:
• On LTF Long signal
Target:
• Next liquidity (auto drawn)
________________________________________
🔴 Bearish Setup (Shorts)
1. HTF Bias = Bearish
2. Price moves into Premium zone
3. Liquidity gets taken (EQH or highs)
4. You get:
o BOS DOWN or LTF Short
Entry:
• On LTF Short signal
Target:
• Next liquidity
________________________________________
🧠 3. Key Concepts (This is where edge comes from)
🔑 1. Liquidity comes first
Don’t enter before liquidity is taken.
Bad:
❌ Entering before sweep
Good:
✅ Sweep → then structure break → then entry
________________________________________
🔑 2. Location > Signal
A perfect signal in the wrong zone = bad trade
• Long in premium = weak
• Short in discount = weak
________________________________________
🔑 3. HTF bias is non-negotiable
If HTF is bullish:
• Ignore shorts
If HTF is bearish:
• Ignore longs
________________________________________
🔑 4. Targets are not random
They are:
• equal highs/lows
• swing highs/lows
👉 That’s where price is going
________________________________________
⚠️ 4. Common Mistakes
❌ “It’s lagging”
→ pivots confirm after the fact (normal)
❌ “No signals”
→ conditions not aligned:
• wrong zone
• wrong bias
• no break
❌ “Too many lines”
→ lower your pivot length or liquidity limit
________________________________________
⚙️ 5. Best Settings (Recommended)
Setting Value
Swing Length 5
HTF 4H (intraday)
LTF Entry 3
EQ Tolerance 0.02–0.1
________________________________________
🚀 6. Best Timeframes
Style Setup
Scalping 1m–5m (HTF = 15m/1H)
Intraday 5m–15m (HTF = 1H/4H)
Swing 1H–4H (HTF = Daily)
________________________________________
🧪 7. Example Flow (Real Use)
1. HTF = Bullish
2. Price drops into discount
3. Forms equal lows (EQL)
4. Sweeps them
5. Breaks structure up (BOS UP)
6. LTF Long appears
7. Target = previous high
👉 That’s a textbook trade
________________________________________
🧠 Final Thought
This indicator is not just signals — it’s a framework:
• Structure = direction
• Liquidity = destination
• PD zones = location
• Entries = timing
👉 When all 4 align → that’s your edge
2 days ago
Release Notes
Koda Break of Structure — How to Use
🔹 What this indicator does (in plain English)
It shows you:
• Market structure (trend direction)
• Where liquidity sits (targets)
• When structure breaks (BOS)
• Where price is cheap or expensive (discount/premium)
• When lower timeframe entries align with higher timeframe bias
👉 In short: it helps you trade with structure + liquidity instead of guessing
________________________________________
🧩 1. Understanding Each Component
✅ A. Structure (Foundation)
What you see:
• H = swing high
• L = swing low
• BOS UP = bullish break
• BOS DOWN = bearish break
What it means:
• Price breaking highs = bullish control
• Price breaking lows = bearish control
👉 This tells you who is in control
________________________________________
💧 B. Liquidity (Targets)
What you see:
• Dashed lines → swing highs/lows
• EQH → equal highs (buy-side liquidity)
• EQL → equal lows (sell-side liquidity)
Behavior:
• Lines disappear when price hits them
What it means:
• Price is drawn to liquidity
• These are your targets
👉 “Price doesn’t move randomly — it moves to take liquidity”
________________________________________
🎯 C. Targets (After BOS)
After a break of structure:
• The indicator draws a target line
Logic:
• Bullish BOS → next high liquidity
• Bearish BOS → next low liquidity
👉 This is your profit objective
________________________________________
🧭 D. HTF Bias (Direction Filter)
Displayed in dashboard:
• Bullish
• Bearish
• Range
What it means:
• You only trade with this direction
👉 This is your macro filter
________________________________________
⚖️ E. Premium / Discount Zones
What you see:
• Upper box = Premium (expensive)
• Lower box = Discount (cheap)
• Midline = equilibrium
What it means:
• Buy in discount
• Sell in premium
👉 This is your location edge
________________________________________
⚡ F. LTF Entries (Execution)
What you see:
• LTF Long
• LTF Short
What it means:
• Entry is triggered when:
o HTF bias aligns
o Price is in correct zone
o Micro structure breaks
👉 This is your trigger
________________________________________
🔥 2. The Complete Trading Model
🟢 Bullish Setup (Longs)
1. HTF Bias = Bullish
2. Price pulls into Discount zone
3. Liquidity gets taken (EQL or lows)
4. You get:
o BOS UP or LTF Long
Entry:
• On LTF Long signal
Target:
• Next liquidity (auto drawn)
________________________________________
🔴 Bearish Setup (Shorts)
1. HTF Bias = Bearish
2. Price moves into Premium zone
3. Liquidity gets taken (EQH or highs)
4. You get:
o BOS DOWN or LTF Short
Entry:
• On LTF Short signal
Target:
• Next liquidity
________________________________________
🧠 3. Key Concepts (This is where edge comes from)
🔑 1. Liquidity comes first
Don’t enter before liquidity is taken.
Bad:
❌ Entering before sweep
Good:
✅ Sweep → then structure break → then entry
________________________________________
🔑 2. Location > Signal
A perfect signal in the wrong zone = bad trade
• Long in premium = weak
• Short in discount = weak
________________________________________
🔑 3. HTF bias is non-negotiable
If HTF is bullish:
• Ignore shorts
If HTF is bearish:
• Ignore longs
________________________________________
🔑 4. Targets are not random
They are:
• equal highs/lows
• swing highs/lows
👉 That’s where price is going
________________________________________
⚠️ 4. Common Mistakes
❌ “It’s lagging”
→ pivots confirm after the fact (normal)
❌ “No signals”
→ conditions not aligned:
• wrong zone
• wrong bias
• no break
❌ “Too many lines”
→ lower your pivot length or liquidity limit
________________________________________
⚙️ 5. Best Settings (Recommended)
Setting Value
Swing Length 5
HTF 4H (intraday)
LTF Entry 3
EQ Tolerance 0.02–0.1
________________________________________
🚀 6. Best Timeframes
Style Setup
Scalping 1m–5m (HTF = 15m/1H)
Intraday 5m–15m (HTF = 1H/4H)
Swing 1H–4H (HTF = Daily)
________________________________________
🧪 7. Example Flow (Real Use)
1. HTF = Bullish
2. Price drops into discount
3. Forms equal lows (EQL)
4. Sweeps them
5. Breaks structure up (BOS UP)
6. LTF Long appears
7. Target = previous high
👉 That’s a textbook trade
________________________________________
🧠 Final Thought
This indicator is not just signals — it’s a framework:
• Structure = direction
• Liquidity = destination
• PD zones = location
• Entries = timing
👉 When all 4 align → that’s your edge
2 days ago
Release Notes
🧠 Koda Break of Structure — How to Use
🔥 The correct way to use it
Use BOS UP as confirmation, not entry
Ideal sequence:
1. Price dips into discount (green zone)
2. Liquidity gets swept (lows / EQL)
3. THEN you see BOS UP
4. THEN you look for entry
👉 That’s a high-quality setup
________________________________________
❌ Bad usage
• Buying after BOS UP in premium (red zone)
→ high chance of pullback
________________________________________
🧪 Example
Good:
• HTF bullish
• Price in discount
• Sweeps lows
• BOS UP
👉 Buy
Bad:
• Price already high (premium)
• BOS UP
👉 Chasing → risky
________________________________________
🧠 Simple rule
• BOS UP = bullish intent
• BOS DOWN = bearish intent
🔹 What this indicator does (in plain English)
It shows you:
• Market structure (trend direction)
• Where liquidity sits (targets)
• When structure breaks (BOS)
• Where price is cheap or expensive (discount/premium)
• When lower timeframe entries align with higher timeframe bias
👉 In short: it helps you trade with structure + liquidity instead of guessing
________________________________________
🧩 1. Understanding Each Component
✅ A. Structure (Foundation)
What you see:
• H = swing high
• L = swing low
• BOS UP = bullish break
• BOS DOWN = bearish break
What it means:
• Price breaking highs = bullish control
• Price breaking lows = bearish control
👉 This tells you who is in control
________________________________________
💧 B. Liquidity (Targets)
What you see:
• Dashed lines → swing highs/lows
• EQH → equal highs (buy-side liquidity)
• EQL → equal lows (sell-side liquidity)
Behavior:
• Lines disappear when price hits them
What it means:
• Price is drawn to liquidity
• These are your targets
👉 “Price doesn’t move randomly — it moves to take liquidity”
________________________________________
🎯 C. Targets (After BOS)
After a break of structure:
• The indicator draws a target line
Logic:
• Bullish BOS → next high liquidity
• Bearish BOS → next low liquidity
👉 This is your profit objective
________________________________________
🧭 D. HTF Bias (Direction Filter)
Displayed in dashboard:
• Bullish
• Bearish
• Range
What it means:
• You only trade with this direction
👉 This is your macro filter
________________________________________
⚖️ E. Premium / Discount Zones
What you see:
• Upper box = Premium (expensive)
• Lower box = Discount (cheap)
• Midline = equilibrium
What it means:
• Buy in discount
• Sell in premium
👉 This is your location edge
________________________________________
⚡ F. LTF Entries (Execution)
What you see:
• LTF Long
• LTF Short
What it means:
• Entry is triggered when:
o HTF bias aligns
o Price is in correct zone
o Micro structure breaks
👉 This is your trigger
________________________________________
🔥 2. The Complete Trading Model
🟢 Bullish Setup (Longs)
1. HTF Bias = Bullish
2. Price pulls into Discount zone
3. Liquidity gets taken (EQL or lows)
4. You get:
o BOS UP or LTF Long
Entry:
• On LTF Long signal
Target:
• Next liquidity (auto drawn)
________________________________________
🔴 Bearish Setup (Shorts)
1. HTF Bias = Bearish
2. Price moves into Premium zone
3. Liquidity gets taken (EQH or highs)
4. You get:
o BOS DOWN or LTF Short
Entry:
• On LTF Short signal
Target:
• Next liquidity
________________________________________
🧠 3. Key Concepts (This is where edge comes from)
🔑 1. Liquidity comes first
Don’t enter before liquidity is taken.
Bad:
❌ Entering before sweep
Good:
✅ Sweep → then structure break → then entry
________________________________________
🔑 2. Location > Signal
A perfect signal in the wrong zone = bad trade
• Long in premium = weak
• Short in discount = weak
________________________________________
🔑 3. HTF bias is non-negotiable
If HTF is bullish:
• Ignore shorts
If HTF is bearish:
• Ignore longs
________________________________________
🔑 4. Targets are not random
They are:
• equal highs/lows
• swing highs/lows
👉 That’s where price is going
________________________________________
⚠️ 4. Common Mistakes
❌ “It’s lagging”
→ pivots confirm after the fact (normal)
❌ “No signals”
→ conditions not aligned:
• wrong zone
• wrong bias
• no break
❌ “Too many lines”
→ lower your pivot length or liquidity limit
________________________________________
⚙️ 5. Best Settings (Recommended)
Setting Value
Swing Length 5
HTF 4H (intraday)
LTF Entry 3
EQ Tolerance 0.02–0.1
________________________________________
🚀 6. Best Timeframes
Style Setup
Scalping 1m–5m (HTF = 15m/1H)
Intraday 5m–15m (HTF = 1H/4H)
Swing 1H–4H (HTF = Daily)
________________________________________
🧪 7. Example Flow (Real Use)
1. HTF = Bullish
2. Price drops into discount
3. Forms equal lows (EQL)
4. Sweeps them
5. Breaks structure up (BOS UP)
6. LTF Long appears
7. Target = previous high
👉 That’s a textbook trade
________________________________________
🧠 Final Thought
This indicator is not just signals — it’s a framework:
• Structure = direction
• Liquidity = destination
• PD zones = location
• Entries = timing
👉 When all 4 align → that’s your edge
Open-source script
In true TradingView spirit, the creator of this script has made it open-source, so that traders can review and verify its functionality. Kudos to the author! While you can use it for free, remember that republishing the code is subject to our House Rules.
TonoMiakoda
Disclaimer
The information and publications are not meant to be, and do not constitute, financial, investment, trading, or other types of advice or recommendations supplied or endorsed by TradingView. Read more in the Terms of Use.
0 comments
🔹 What this indicator does (in plain English)
It shows you:
• Market structure (trend direction)
• Where liquidity sits (targets)
• When structure breaks (BOS)
• Where price is cheap or expensive (discount/premium)
• When lower timeframe entries align with higher timeframe bias
👉 In short: it helps you trade with structure + liquidity instead of guessing
________________________________________
🧩 1. Understanding Each Component
✅ A. Structure (Foundation)
What you see:
• H = swing high
• L = swing low
• BOS UP = bullish break
• BOS DOWN = bearish break
What it means:
• Price breaking highs = bullish control
• Price breaking lows = bearish control
👉 This tells you who is in control
________________________________________
💧 B. Liquidity (Targets)
What you see:
• Dashed lines → swing highs/lows
• EQH → equal highs (buy-side liquidity)
• EQL → equal lows (sell-side liquidity)
Behavior:
• Lines disappear when price hits them
What it means:
• Price is drawn to liquidity
• These are your targets
👉 “Price doesn’t move randomly — it moves to take liquidity”
________________________________________
🎯 C. Targets (After BOS)
After a break of structure:
• The indicator draws a target line
Logic:
• Bullish BOS → next high liquidity
• Bearish BOS → next low liquidity
👉 This is your profit objective
________________________________________
🧭 D. HTF Bias (Direction Filter)
Displayed in dashboard:
• Bullish
• Bearish
• Range
What it means:
• You only trade with this direction
👉 This is your macro filter
________________________________________
⚖️ E. Premium / Discount Zones
What you see:
• Upper box = Premium (expensive)
• Lower box = Discount (cheap)
• Midline = equilibrium
What it means:
• Buy in discount
• Sell in premium
👉 This is your location edge
________________________________________
⚡ F. LTF Entries (Execution)
What you see:
• LTF Long
• LTF Short
What it means:
• Entry is triggered when:
o HTF bias aligns
o Price is in correct zone
o Micro structure breaks
👉 This is your trigger
________________________________________
🔥 2. The Complete Trading Model
🟢 Bullish Setup (Longs)
1. HTF Bias = Bullish
2. Price pulls into Discount zone
3. Liquidity gets taken (EQL or lows)
4. You get:
o BOS UP or LTF Long
Entry:
• On LTF Long signal
Target:
• Next liquidity (auto drawn)
________________________________________
🔴 Bearish Setup (Shorts)
1. HTF Bias = Bearish
2. Price moves into Premium zone
3. Liquidity gets taken (EQH or highs)
4. You get:
o BOS DOWN or LTF Short
Entry:
• On LTF Short signal
Target:
• Next liquidity
________________________________________
🧠 3. Key Concepts (This is where edge comes from)
🔑 1. Liquidity comes first
Don’t enter before liquidity is taken.
Bad:
❌ Entering before sweep
Good:
✅ Sweep → then structure break → then entry
________________________________________
🔑 2. Location > Signal
A perfect signal in the wrong zone = bad trade
• Long in premium = weak
• Short in discount = weak
________________________________________
🔑 3. HTF bias is non-negotiable
If HTF is bullish:
• Ignore shorts
If HTF is bearish:
• Ignore longs
________________________________________
🔑 4. Targets are not random
They are:
• equal highs/lows
• swing highs/lows
👉 That’s where price is going
________________________________________
⚠️ 4. Common Mistakes
❌ “It’s lagging”
→ pivots confirm after the fact (normal)
❌ “No signals”
→ conditions not aligned:
• wrong zone
• wrong bias
• no break
❌ “Too many lines”
→ lower your pivot length or liquidity limit
________________________________________
⚙️ 5. Best Settings (Recommended)
Setting Value
Swing Length 5
HTF 4H (intraday)
LTF Entry 3
EQ Tolerance 0.02–0.1
________________________________________
🚀 6. Best Timeframes
Style Setup
Scalping 1m–5m (HTF = 15m/1H)
Intraday 5m–15m (HTF = 1H/4H)
Swing 1H–4H (HTF = Daily)
________________________________________
🧪 7. Example Flow (Real Use)
1. HTF = Bullish
2. Price drops into discount
3. Forms equal lows (EQL)
4. Sweeps them
5. Breaks structure up (BOS UP)
6. LTF Long appears
7. Target = previous high
👉 That’s a textbook trade
________________________________________
🧠 Final Thought
This indicator is not just signals — it’s a framework:
• Structure = direction
• Liquidity = destination
• PD zones = location
• Entries = timing
👉 When all 4 align → that’s your edge
2 days ago
Release Notes
Koda Break of Structure — How to Use
🔹 What this indicator does (in plain English)
It shows you:
• Market structure (trend direction)
• Where liquidity sits (targets)
• When structure breaks (BOS)
• Where price is cheap or expensive (discount/premium)
• When lower timeframe entries align with higher timeframe bias
👉 In short: it helps you trade with structure + liquidity instead of guessing
________________________________________
🧩 1. Understanding Each Component
✅ A. Structure (Foundation)
What you see:
• H = swing high
• L = swing low
• BOS UP = bullish break
• BOS DOWN = bearish break
What it means:
• Price breaking highs = bullish control
• Price breaking lows = bearish control
👉 This tells you who is in control
________________________________________
💧 B. Liquidity (Targets)
What you see:
• Dashed lines → swing highs/lows
• EQH → equal highs (buy-side liquidity)
• EQL → equal lows (sell-side liquidity)
Behavior:
• Lines disappear when price hits them
What it means:
• Price is drawn to liquidity
• These are your targets
👉 “Price doesn’t move randomly — it moves to take liquidity”
________________________________________
🎯 C. Targets (After BOS)
After a break of structure:
• The indicator draws a target line
Logic:
• Bullish BOS → next high liquidity
• Bearish BOS → next low liquidity
👉 This is your profit objective
________________________________________
🧭 D. HTF Bias (Direction Filter)
Displayed in dashboard:
• Bullish
• Bearish
• Range
What it means:
• You only trade with this direction
👉 This is your macro filter
________________________________________
⚖️ E. Premium / Discount Zones
What you see:
• Upper box = Premium (expensive)
• Lower box = Discount (cheap)
• Midline = equilibrium
What it means:
• Buy in discount
• Sell in premium
👉 This is your location edge
________________________________________
⚡ F. LTF Entries (Execution)
What you see:
• LTF Long
• LTF Short
What it means:
• Entry is triggered when:
o HTF bias aligns
o Price is in correct zone
o Micro structure breaks
👉 This is your trigger
________________________________________
🔥 2. The Complete Trading Model
🟢 Bullish Setup (Longs)
1. HTF Bias = Bullish
2. Price pulls into Discount zone
3. Liquidity gets taken (EQL or lows)
4. You get:
o BOS UP or LTF Long
Entry:
• On LTF Long signal
Target:
• Next liquidity (auto drawn)
________________________________________
🔴 Bearish Setup (Shorts)
1. HTF Bias = Bearish
2. Price moves into Premium zone
3. Liquidity gets taken (EQH or highs)
4. You get:
o BOS DOWN or LTF Short
Entry:
• On LTF Short signal
Target:
• Next liquidity
________________________________________
🧠 3. Key Concepts (This is where edge comes from)
🔑 1. Liquidity comes first
Don’t enter before liquidity is taken.
Bad:
❌ Entering before sweep
Good:
✅ Sweep → then structure break → then entry
________________________________________
🔑 2. Location > Signal
A perfect signal in the wrong zone = bad trade
• Long in premium = weak
• Short in discount = weak
________________________________________
🔑 3. HTF bias is non-negotiable
If HTF is bullish:
• Ignore shorts
If HTF is bearish:
• Ignore longs
________________________________________
🔑 4. Targets are not random
They are:
• equal highs/lows
• swing highs/lows
👉 That’s where price is going
________________________________________
⚠️ 4. Common Mistakes
❌ “It’s lagging”
→ pivots confirm after the fact (normal)
❌ “No signals”
→ conditions not aligned:
• wrong zone
• wrong bias
• no break
❌ “Too many lines”
→ lower your pivot length or liquidity limit
________________________________________
⚙️ 5. Best Settings (Recommended)
Setting Value
Swing Length 5
HTF 4H (intraday)
LTF Entry 3
EQ Tolerance 0.02–0.1
________________________________________
🚀 6. Best Timeframes
Style Setup
Scalping 1m–5m (HTF = 15m/1H)
Intraday 5m–15m (HTF = 1H/4H)
Swing 1H–4H (HTF = Daily)
________________________________________
🧪 7. Example Flow (Real Use)
1. HTF = Bullish
2. Price drops into discount
3. Forms equal lows (EQL)
4. Sweeps them
5. Breaks structure up (BOS UP)
6. LTF Long appears
7. Target = previous high
👉 That’s a textbook trade
________________________________________
🧠 Final Thought
This indicator is not just signals — it’s a framework:
• Structure = direction
• Liquidity = destination
• PD zones = location
• Entries = timing
👉 When all 4 align → that’s your edge
2 days ago
Release Notes
🧠 Koda Break of Structure — How to Use
🔥 The correct way to use it
Use BOS UP as confirmation, not entry
Ideal sequence:
1. Price dips into discount (green zone)
2. Liquidity gets swept (lows / EQL)
3. THEN you see BOS UP
4. THEN you look for entry
👉 That’s a high-quality setup
________________________________________
❌ Bad usage
• Buying after BOS UP in premium (red zone)
→ high chance of pullback
________________________________________
🧪 Example
Good:
• HTF bullish
• Price in discount
• Sweeps lows
• BOS UP
👉 Buy
Bad:
• Price already high (premium)
• BOS UP
👉 Chasing → risky
________________________________________
🧠 Simple rule
• BOS UP = bullish intent
• BOS DOWN = bearish intent
🔹 What this indicator does (in plain English)
It shows you:
• Market structure (trend direction)
• Where liquidity sits (targets)
• When structure breaks (BOS)
• Where price is cheap or expensive (discount/premium)
• When lower timeframe entries align with higher timeframe bias
👉 In short: it helps you trade with structure + liquidity instead of guessing
________________________________________
🧩 1. Understanding Each Component
✅ A. Structure (Foundation)
What you see:
• H = swing high
• L = swing low
• BOS UP = bullish break
• BOS DOWN = bearish break
What it means:
• Price breaking highs = bullish control
• Price breaking lows = bearish control
👉 This tells you who is in control
________________________________________
💧 B. Liquidity (Targets)
What you see:
• Dashed lines → swing highs/lows
• EQH → equal highs (buy-side liquidity)
• EQL → equal lows (sell-side liquidity)
Behavior:
• Lines disappear when price hits them
What it means:
• Price is drawn to liquidity
• These are your targets
👉 “Price doesn’t move randomly — it moves to take liquidity”
________________________________________
🎯 C. Targets (After BOS)
After a break of structure:
• The indicator draws a target line
Logic:
• Bullish BOS → next high liquidity
• Bearish BOS → next low liquidity
👉 This is your profit objective
________________________________________
🧭 D. HTF Bias (Direction Filter)
Displayed in dashboard:
• Bullish
• Bearish
• Range
What it means:
• You only trade with this direction
👉 This is your macro filter
________________________________________
⚖️ E. Premium / Discount Zones
What you see:
• Upper box = Premium (expensive)
• Lower box = Discount (cheap)
• Midline = equilibrium
What it means:
• Buy in discount
• Sell in premium
👉 This is your location edge
________________________________________
⚡ F. LTF Entries (Execution)
What you see:
• LTF Long
• LTF Short
What it means:
• Entry is triggered when:
o HTF bias aligns
o Price is in correct zone
o Micro structure breaks
👉 This is your trigger
________________________________________
🔥 2. The Complete Trading Model
🟢 Bullish Setup (Longs)
1. HTF Bias = Bullish
2. Price pulls into Discount zone
3. Liquidity gets taken (EQL or lows)
4. You get:
o BOS UP or LTF Long
Entry:
• On LTF Long signal
Target:
• Next liquidity (auto drawn)
________________________________________
🔴 Bearish Setup (Shorts)
1. HTF Bias = Bearish
2. Price moves into Premium zone
3. Liquidity gets taken (EQH or highs)
4. You get:
o BOS DOWN or LTF Short
Entry:
• On LTF Short signal
Target:
• Next liquidity
________________________________________
🧠 3. Key Concepts (This is where edge comes from)
🔑 1. Liquidity comes first
Don’t enter before liquidity is taken.
Bad:
❌ Entering before sweep
Good:
✅ Sweep → then structure break → then entry
________________________________________
🔑 2. Location > Signal
A perfect signal in the wrong zone = bad trade
• Long in premium = weak
• Short in discount = weak
________________________________________
🔑 3. HTF bias is non-negotiable
If HTF is bullish:
• Ignore shorts
If HTF is bearish:
• Ignore longs
________________________________________
🔑 4. Targets are not random
They are:
• equal highs/lows
• swing highs/lows
👉 That’s where price is going
________________________________________
⚠️ 4. Common Mistakes
❌ “It’s lagging”
→ pivots confirm after the fact (normal)
❌ “No signals”
→ conditions not aligned:
• wrong zone
• wrong bias
• no break
❌ “Too many lines”
→ lower your pivot length or liquidity limit
________________________________________
⚙️ 5. Best Settings (Recommended)
Setting Value
Swing Length 5
HTF 4H (intraday)
LTF Entry 3
EQ Tolerance 0.02–0.1
________________________________________
🚀 6. Best Timeframes
Style Setup
Scalping 1m–5m (HTF = 15m/1H)
Intraday 5m–15m (HTF = 1H/4H)
Swing 1H–4H (HTF = Daily)
________________________________________
🧪 7. Example Flow (Real Use)
1. HTF = Bullish
2. Price drops into discount
3. Forms equal lows (EQL)
4. Sweeps them
5. Breaks structure up (BOS UP)
6. LTF Long appears
7. Target = previous high
👉 That’s a textbook trade
________________________________________
🧠 Final Thought
This indicator is not just signals — it’s a framework:
• Structure = direction
• Liquidity = destination
• PD zones = location
• Entries = timing
👉 When all 4 align → that’s your edge
Open-source script
In true TradingView spirit, the creator of this script has made it open-source, so that traders can review and verify its functionality. Kudos to the author! While you can use it for free, remember that republishing the code is subject to our House Rules.
TonoMiakoda
Disclaimer
The information and publications are not meant to be, and do not constitute, financial, investment, trading, or other types of advice or recommendations supplied or endorsed by TradingView. Read more in the Terms of Use.
0 comments
リリースノート
Koda Break of Structure — Smart Market Structure & Liquidity Framework________________________________________
Overview
Koda Break of Structure is a complete price action framework built around market structure, liquidity, and execution timing.
Rather than generating random signals, it helps traders understand why price moves and where it is likely to go next.
This script combines:
• Structural trend identification
• Liquidity mapping (equal highs/lows & swings)
• Break of structure (BOS) confirmation
• Premium / Discount positioning
• Lower timeframe execution signals
The goal is simple: align direction, location, and timing into one model
________________________________________
What Makes This Script Different
Most indicators isolate one concept (trend, entries, or levels).
Koda BOS integrates four core market mechanics into one system:
1. Structure (Who’s in control)
2. Liquidity (Where price is going)
3. Location (Where trades make sense)
4. Execution (When to enter)
This creates a rule-based framework, not just signals.
Additionally:
• Targets are derived from real liquidity pools, not arbitrary levels
• Entries are filtered by HTF bias + PD zones + structure shifts
• Signals only appear when conditions align, reducing noise
________________________________________
Core Concepts Behind the Calculations
Market Structure
The script identifies swing highs/lows and tracks when price breaks them.
• Break above previous highs → bullish intent
• Break below previous lows → bearish intent
This defines trend control using objective price data.
________________________________________
Liquidity Mapping
Liquidity is calculated using:
• Equal highs (EQH)
• Equal lows (EQL)
• Key swing levels
These represent areas where stop orders accumulate.
The script assumes:
Price is drawn toward liquidity before continuing direction
________________________________________
Target Projection
After a confirmed break of structure:
• Bullish BOS → target = next buy-side liquidity
• Bearish BOS → target = next sell-side liquidity
This gives traders objective profit targets, not guesses.
________________________________________Premium / Discount Logic
The script divides price into zones:
• Discount = below equilibrium → better for longs
• Premium = above equilibrium → better for shorts
This is based on the idea that institutions accumulate at value and distribute at extremes.
________________________________________
Higher Timeframe Bias
HTF bias is derived from broader structure conditions and filters all trades.
• Bullish → only long setups
• Bearish → only short setups
This prevents trading against dominant market flow.
________________________________________
Lower Timeframe Execution
Entry signals are only generated when:
• HTF bias aligns
• Price is in the correct zone (PD)
• Liquidity has been interacted with
• Micro structure confirms direction
This ensures entries are context-driven, not reactive.
________________________________________
How to Use the Indicator
Bullish Model
1. Confirm HTF bias is bullish
2. Wait for price to enter discount
3. Look for liquidity sweep (lows / EQL)
4. Wait for BOS UP or LTF Long signal
5. Target next liquidity level
________________________________________
Bearish Model
1. Confirm HTF bias is bearish
2. Wait for price to enter premium
3. Look for liquidity sweep (highs / EQH)
4. Wait for BOS DOWN or LTF Short signal
5. Target next liquidity level
________________________________________
Key Trading Principles
• Liquidity comes first → don’t enter before the sweep
• Location matters more than signals
• HTF bias is non-negotiable
• Targets are liquidity-based, not random
________________________________________
Important Notes
• Structure (pivots) confirms after movement — this is intentional, not lag
• Lack of signals usually means conditions are not aligned
• Too many levels can be reduced via settings
________________________________________
Best Use Cases
• Scalping, intraday, and swing trading
• Traders using price action or liquidity concepts
• Anyone looking for a structured, rules-based approach
________________________________________
Final Thought
This script is not designed to predict —
it is designed to interpret market behavior through structure and liquidity.
• Structure = direction
• Liquidity = destination
• Zones = location
• Entries = timing
When all four align, you gain a measurable edge.
オープンソーススクリプト
TradingViewの精神に則り、このスクリプトの作者はコードをオープンソースとして公開してくれました。トレーダーが内容を確認・検証できるようにという配慮です。作者に拍手を送りましょう!無料で利用できますが、コードの再公開はハウスルールに従う必要があります。
免責事項
これらの情報および投稿は、TradingViewが提供または承認する金融、投資、取引、またはその他の種類の助言もしくは推奨であることを意図したものではなく、またこれらに該当するものでもありません。詳細は利用規約をご覧ください。
オープンソーススクリプト
TradingViewの精神に則り、このスクリプトの作者はコードをオープンソースとして公開してくれました。トレーダーが内容を確認・検証できるようにという配慮です。作者に拍手を送りましょう!無料で利用できますが、コードの再公開はハウスルールに従う必要があります。
免責事項
これらの情報および投稿は、TradingViewが提供または承認する金融、投資、取引、またはその他の種類の助言もしくは推奨であることを意図したものではなく、またこれらに該当するものでもありません。詳細は利用規約をご覧ください。