OPEN-SOURCE SCRIPT
Candle High/Low & Mid Marker by Avish000

Candle High/Low & Mid Marker by Avish000
This indicator is designed to highlight high-probability trading zones when price interacts with the 200 EMA, helping traders spot precise entry levels using a structured, rule-based approach.
⚙️ Core Concept
When price crosses the 200 EMA, the indicator automatically marks key levels from the crossing candle:
🎯 Midpoint (50%) → Ideal limit entry zone
🔴 High (for bearish candles) → Potential stop loss level
🟢 Low (for bullish candles) → Potential stop loss level
It visually maps the exact candle structure so you don’t have to calculate anything manually.
🚀 Key Features
📈 200 EMA Cross Detection
Identifies both bullish and bearish crosses using closing price
📏 Dynamic High/Low Levels
Bearish candle → marks High
Bullish candle → marks Low
📍 Midpoint Level (50%)
Automatically calculates and plots the candle’s midpoint
Useful for limit order entries
➖ Clean Visual Dashes
Horizontal lines extend into the future for easy tracking
🏷️ Smart Labels
Displays:
H: for High
L: for Low
M: for Midpoint
Fully customizable colors, size, and font
⏱️ Multi-Timeframe Support
EMA can be calculated from a different timeframe (default: 3 min)
🎯 How to Use
Wait for price to cross the 200 EMA
Observe the marked levels:
Enter near Midpoint (M)
Place SL at High/Low (H/L)
Combine with your own strategy (RR, confirmations, etc.)
⚠️ Notes
Works best in trending markets
Avoid using in sideways/choppy conditions
Recommended for scalping and intraday setups
💡 Ideal For
Price action traders
EMA-based strategies
Scalpers looking for structured entries
🔧 Customization
Adjust EMA length
Change label styles, colors, and fonts
Control dash width and visibility
This indicator is designed to highlight high-probability trading zones when price interacts with the 200 EMA, helping traders spot precise entry levels using a structured, rule-based approach.
⚙️ Core Concept
When price crosses the 200 EMA, the indicator automatically marks key levels from the crossing candle:
🎯 Midpoint (50%) → Ideal limit entry zone
🔴 High (for bearish candles) → Potential stop loss level
🟢 Low (for bullish candles) → Potential stop loss level
It visually maps the exact candle structure so you don’t have to calculate anything manually.
🚀 Key Features
📈 200 EMA Cross Detection
Identifies both bullish and bearish crosses using closing price
📏 Dynamic High/Low Levels
Bearish candle → marks High
Bullish candle → marks Low
📍 Midpoint Level (50%)
Automatically calculates and plots the candle’s midpoint
Useful for limit order entries
➖ Clean Visual Dashes
Horizontal lines extend into the future for easy tracking
🏷️ Smart Labels
Displays:
H: for High
L: for Low
M: for Midpoint
Fully customizable colors, size, and font
⏱️ Multi-Timeframe Support
EMA can be calculated from a different timeframe (default: 3 min)
🎯 How to Use
Wait for price to cross the 200 EMA
Observe the marked levels:
Enter near Midpoint (M)
Place SL at High/Low (H/L)
Combine with your own strategy (RR, confirmations, etc.)
⚠️ Notes
Works best in trending markets
Avoid using in sideways/choppy conditions
Recommended for scalping and intraday setups
💡 Ideal For
Price action traders
EMA-based strategies
Scalpers looking for structured entries
🔧 Customization
Adjust EMA length
Change label styles, colors, and fonts
Control dash width and visibility
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.