Buy Sell Signal — Coin Fix Pro V2.3

The core structure is based on a classic ZigZag signal engine, enhanced with modern alert logic to minimize false signals, especially at local tops and bottoms.
How It Works
It uses a combination of Depth, Deviation, and Backstep parameters:
Depth: Defines the minimum swing length required to identify a valid pivot.
Deviation: Sets the minimum price change needed to confirm a reversal.
Backstep: Prevents signal clutter and repaints by controlling bar lookback.
This tri-parameter logic helps eliminate most noise and gives more reliable reversal points.
Positive direction = SELL signal, Negative direction = BUY signal.
Signals can be confirmed at bar close, reducing repaint risk.
Technical Features
BUY/SELL signals generated on bar close
TradingView alertcondition() supported
Automatic trend reversal detection
Fully customizable label colors and sizes
Compatible with both manual and automated strategies
Disclaimer
This indicator is not financial advice. Trading in leveraged markets involves high risk.
All actions and results are the responsibility of the user.
License: CC BY-NC-SA 4.0
Original Algorithm: Yash N. Gode
Modified by: CoinFix (© 2025)
Overview
This indicator listens to direction changes provided by yashgode9/signalLib to display Buy/Sell labels on trend reversals. Visual labels are user-configurable, and alert conditions are tied to bar close by default to mitigate repaint effects from intrabar updates.
How It Works
signalLib.signalLib(low, high, DEPTH, DEVIATION, BACKSTEP) extracts swing-based direction.
On direction change:
direction < 0 ⇒ Buy label
direction > 0 ⇒ Sell label
Repaint: With repaint=true, labels may move before the bar closes. Alerts use barstate.isconfirmed (when enabled) to trigger only on bar close.
Inputs
signalLib Config
DEPTH_ENGINE (default 30): Swing depth; higher ⇒ fewer but stronger pivots.
DEVIATION_ENGINE (default 5): Minimum deviation; reduces noise.
BACKSTEP_ENGINE (default 5): Lookback bars to avoid duplicate swings.
Visibility & Styling
Toggle Buy/Sell labels independently.
Label size, transparency, and colors are customizable.
Alerts
Conditions:
BUY_SIGNAL → “BUY signal (CoinFix Pro Signal)”
SELL_SIGNAL → “SELL signal (CoinFix Pro Signal)”
Confirmation: When “alerts on bar close” is enabled, alerts fire only after bar close.
How to Use: Create an alert → Condition: This indicator → select the desired condition.
Tips
Higher timeframes yield fewer but cleaner signals.
Increasing DEPTH/DEVIATION/BACKSTEP reduces false triggers but increases lag.
You can hide labels and rely solely on alerts if preferred.
Limitations
Swing-based detection can still produce clustered signals in choppy ranges.
Visual repaint can occur intrabar; alert firing is protected by bar-close confirmation.
Credits / License / Disclaimer
Original concept & library: Yash Nandkumar Gode
Modified by: CoinFix (© 2025).
License: CC BY-NC-SA 4.0 — Non-commercial use, attribution required, share-alike.
Disclaimer: For educational/analytical purposes only; not financial advice. Trading involves risk; users are responsible for their decisions.
Skript nur auf Einladung
Ausschließlich Nutzer mit einer Erlaubnis des Autors können Zugriff auf dieses Script erhalten. Sie müssen diese Genehmigung bei dem Autor beantragen. Dies umfasst üblicherweise auch eine Zahlung. Wenn Sie mehr erfahren möchten, dann sehen Sie sich unten die Anweisungen des Autors an oder kontaktieren Sie CoinFix direkt.
TradingView empfiehlt NICHT, für die Nutzung eines Scripts zu bezahlen, wenn Sie den Autor nicht als vertrauenswürdig halten und verstehen, wie das Script funktioniert. Sie können außerdem auch kostenlose Open-Source-Alternativen in unseren Community-Scripts finden.
Hinweise des Autors
Haftungsausschluss
Skript nur auf Einladung
Ausschließlich Nutzer mit einer Erlaubnis des Autors können Zugriff auf dieses Script erhalten. Sie müssen diese Genehmigung bei dem Autor beantragen. Dies umfasst üblicherweise auch eine Zahlung. Wenn Sie mehr erfahren möchten, dann sehen Sie sich unten die Anweisungen des Autors an oder kontaktieren Sie CoinFix direkt.
TradingView empfiehlt NICHT, für die Nutzung eines Scripts zu bezahlen, wenn Sie den Autor nicht als vertrauenswürdig halten und verstehen, wie das Script funktioniert. Sie können außerdem auch kostenlose Open-Source-Alternativen in unseren Community-Scripts finden.