OPEN-SOURCE SCRIPT
Buyer vs Seller Control Companion

Buyer vs Seller Control Companion (Overlay)
Crossover signal overlay based on candlestick wick analysis moving averages
Overview:
This companion indicator displays crossover signals directly on the price chart based on the same buyer vs seller control calculations. It identifies moments when the relationship between buying and selling pressure shifts by analyzing where prices close relative to their intraday ranges.
Calculation Method:
The indicator uses identical calculations to the main Buyer vs Seller Control indicator:

Visual Components:
Signal Logic:
Arrow Placement:
Settings:
Technical Notes:
Relationship to Main Indicator:
This overlay serves as a visual reference tool for crossover events detected in the underlying buyer vs seller control analysis.
Crossover signal overlay based on candlestick wick analysis moving averages
Overview:
This companion indicator displays crossover signals directly on the price chart based on the same buyer vs seller control calculations. It identifies moments when the relationship between buying and selling pressure shifts by analyzing where prices close relative to their intraday ranges.
Calculation Method:
The indicator uses identical calculations to the main Buyer vs Seller Control indicator:

Visual Components:
- Lime Triangle Up: Appears below price bars when buyer control SMA crosses above seller control SMA
- Fuchsia Triangle Down: Appears above price bars when seller control SMA crosses above buyer control SMA
Signal Logic:
Crossover events are detected when one moving average crosses above or below the other. These crossovers indicate potential shifts in the balance between buying and selling pressure as measured by candlestick closing positions relative to their wicks.
Arrow Placement:
- Upward Triangle: Positioned below the bar when buyer control moving average exceeds seller control moving average
- Downward Triangle: Positioned above the bar when seller control moving average exceeds buyer control moving average
- Size: Small triangular shapes to avoid cluttering the price chart
- Timing: Arrows appear only on bars where actual crossovers occur
Settings:
- Moving Average Period: Adjustable from 1-200 periods (default: 20)
Technical Notes:
- This overlay version works on any timeframe
- Arrows only appear when crossovers actually occur, not on every bar
- The indicator uses the same mathematical foundation as the main oscillator version
- Signal frequency depends on the chosen moving average period
- Shorter periods generate more frequent crossovers, longer periods generate fewer
Relationship to Main Indicator:
This companion overlay displays the exact crossover points that can be observed in the main Buyer vs Seller Control indicator. It provides the same information but presents it directly on the price chart for convenient reference without switching between indicator panes.
This overlay serves as a visual reference tool for crossover events detected in the underlying buyer vs seller control analysis.
Mã nguồn mở
Theo đúng tinh thần TradingView, người tạo ra tập lệnh này đã biến tập lệnh thành mã nguồn mở để các nhà giao dịch có thể xem xét và xác minh công năng. Xin dành lời khen tặng cho tác giả! Mặc dù bạn có thể sử dụng miễn phí, nhưng lưu ý nếu đăng lại mã, bạn phải tuân theo Quy tắc nội bộ của chúng tôi.
Get access to our indicators at: huntergatherers.tech
Thông báo miễn trừ trách nhiệm
Thông tin và ấn phẩm không có nghĩa là và không cấu thành, tài chính, đầu tư, kinh doanh, hoặc các loại lời khuyên hoặc khuyến nghị khác được cung cấp hoặc xác nhận bởi TradingView. Đọc thêm trong Điều khoản sử dụng.
Mã nguồn mở
Theo đúng tinh thần TradingView, người tạo ra tập lệnh này đã biến tập lệnh thành mã nguồn mở để các nhà giao dịch có thể xem xét và xác minh công năng. Xin dành lời khen tặng cho tác giả! Mặc dù bạn có thể sử dụng miễn phí, nhưng lưu ý nếu đăng lại mã, bạn phải tuân theo Quy tắc nội bộ của chúng tôi.
Get access to our indicators at: huntergatherers.tech
Thông báo miễn trừ trách nhiệm
Thông tin và ấn phẩm không có nghĩa là và không cấu thành, tài chính, đầu tư, kinh doanh, hoặc các loại lời khuyên hoặc khuyến nghị khác được cung cấp hoặc xác nhận bởi TradingView. Đọc thêm trong Điều khoản sử dụng.