OPEN-SOURCE SCRIPT
Nexus

Nexus is a swing trading indicator designed specifically for the 4-Hour and Daily timeframes.
Unlike standard indicators that react to every minor candle flicker, Nexus uses a "Macro" approach to filter out market noise and identify significant structural pivots.
It combines three distinct mathematical engines into one consensus signal:
The Anchor (Trend): A Rational Quadratic Kernel (Length 50) + Gann High/Low Activator (Length 20). This defines the heavy, long-term flow of the market.
The Guard (Risk): A modified UT Bot (ATR Trailing Stop). This manages volatility and provides your Stop Loss levels.
The Map (Structure): Smart Money Concepts (SMC) engine that detects Major Pivots, Fair Value Gaps (FVG), Break of Structure (BOS), and Change of Character (CHoCH).
Visual Legend
Dark Green/Red Line (The Baseline): This is the Kernel Regression line. It represents the "floor" or "ceiling" of the macro trend. If price is above this, the bias is Long. If below, the bias is Short.
Neon Green/Red Line (The Risk Line): This is your Trailing Stop. It moves tighter to price as the trend matures.
Large Triangles (or Custom Shape): These are your Entry Signals. They only appear when the Trend, Risk, and Momentum engines all align perfectly.
Small Circles (BOS): "Break of Structure." These appear when price breaks a high in an uptrend (or low in a downtrend). It means the trend is healthy and continuing.
Small Diamonds (CHoCH): "Change of Character." These appear when price breaks a significant structural level against the current trend. This is an early warning sign that a reversal might be coming.
Colored Boxes (FVG): Fair Value Gaps. These are magnetic zones where price often returns to "rebalance" before continuing.
How to Trade with Nexus
Recommended Timeframes: 4 Hour (4H) or Daily (1D).
1. The Entry
Wait for a Neon Buy/Sell Signal (Default: Triangle).
Check the Dashboard: Ensure the "ACTION" cell is colored (Green for Buy, Red for Sell) and matches your signal.
Strict Alternation: The script prevents "signal spam." Once a Buy signal fires, you will not see another Buy signal until the trend flips and produces a Sell signal.
2. Stop Loss Placement
Initial Stop: Place your Stop Loss slightly beyond the Neon Risk Line at the time of entry.
Trailing: As the trade progresses, move your Stop Loss along the Neon Line. If the candle closes on the wrong side of this line, the trade is invalid.
3. Take Profit & Exits
Target 1: The next opposing FVG Box (Support/Resistance magnet).
Target 2: A CHoCH Diamond appearing against your trade. This indicates the market structure has shifted, and you should consider locking in profits.
4. Filtering Chop
If the Baseline is flat and price is weaving through it, stay out.
The "Rec. TF" on the dashboard reminds you to stick to higher timeframes where these signals are most accurate.
Disclaimer
Trading financial assets involves a high level of risk and may not be suitable for all investors. The content provided here and the "Nexus" indicator are for educational and informational purposes only and do not constitute financial, investment, or trading advice. Past performance is not indicative of future results. You are solely responsible for your own trading decisions and should always practice risk management.
Unlike standard indicators that react to every minor candle flicker, Nexus uses a "Macro" approach to filter out market noise and identify significant structural pivots.
It combines three distinct mathematical engines into one consensus signal:
The Anchor (Trend): A Rational Quadratic Kernel (Length 50) + Gann High/Low Activator (Length 20). This defines the heavy, long-term flow of the market.
The Guard (Risk): A modified UT Bot (ATR Trailing Stop). This manages volatility and provides your Stop Loss levels.
The Map (Structure): Smart Money Concepts (SMC) engine that detects Major Pivots, Fair Value Gaps (FVG), Break of Structure (BOS), and Change of Character (CHoCH).
Visual Legend
Dark Green/Red Line (The Baseline): This is the Kernel Regression line. It represents the "floor" or "ceiling" of the macro trend. If price is above this, the bias is Long. If below, the bias is Short.
Neon Green/Red Line (The Risk Line): This is your Trailing Stop. It moves tighter to price as the trend matures.
Large Triangles (or Custom Shape): These are your Entry Signals. They only appear when the Trend, Risk, and Momentum engines all align perfectly.
Small Circles (BOS): "Break of Structure." These appear when price breaks a high in an uptrend (or low in a downtrend). It means the trend is healthy and continuing.
Small Diamonds (CHoCH): "Change of Character." These appear when price breaks a significant structural level against the current trend. This is an early warning sign that a reversal might be coming.
Colored Boxes (FVG): Fair Value Gaps. These are magnetic zones where price often returns to "rebalance" before continuing.
How to Trade with Nexus
Recommended Timeframes: 4 Hour (4H) or Daily (1D).
1. The Entry
Wait for a Neon Buy/Sell Signal (Default: Triangle).
Check the Dashboard: Ensure the "ACTION" cell is colored (Green for Buy, Red for Sell) and matches your signal.
Strict Alternation: The script prevents "signal spam." Once a Buy signal fires, you will not see another Buy signal until the trend flips and produces a Sell signal.
2. Stop Loss Placement
Initial Stop: Place your Stop Loss slightly beyond the Neon Risk Line at the time of entry.
Trailing: As the trade progresses, move your Stop Loss along the Neon Line. If the candle closes on the wrong side of this line, the trade is invalid.
3. Take Profit & Exits
Target 1: The next opposing FVG Box (Support/Resistance magnet).
Target 2: A CHoCH Diamond appearing against your trade. This indicates the market structure has shifted, and you should consider locking in profits.
4. Filtering Chop
If the Baseline is flat and price is weaving through it, stay out.
The "Rec. TF" on the dashboard reminds you to stick to higher timeframes where these signals are most accurate.
Disclaimer
Trading financial assets involves a high level of risk and may not be suitable for all investors. The content provided here and the "Nexus" indicator are for educational and informational purposes only and do not constitute financial, investment, or trading advice. Past performance is not indicative of future results. You are solely responsible for your own trading decisions and should always practice risk management.
오픈 소스 스크립트
트레이딩뷰의 진정한 정신에 따라, 이 스크립트의 작성자는 이를 오픈소스로 공개하여 트레이더들이 기능을 검토하고 검증할 수 있도록 했습니다. 작성자에게 찬사를 보냅니다! 이 코드는 무료로 사용할 수 있지만, 코드를 재게시하는 경우 하우스 룰이 적용된다는 점을 기억하세요.
면책사항
해당 정보와 게시물은 금융, 투자, 트레이딩 또는 기타 유형의 조언이나 권장 사항으로 간주되지 않으며, 트레이딩뷰에서 제공하거나 보증하는 것이 아닙니다. 자세한 내용은 이용 약관을 참조하세요.
오픈 소스 스크립트
트레이딩뷰의 진정한 정신에 따라, 이 스크립트의 작성자는 이를 오픈소스로 공개하여 트레이더들이 기능을 검토하고 검증할 수 있도록 했습니다. 작성자에게 찬사를 보냅니다! 이 코드는 무료로 사용할 수 있지만, 코드를 재게시하는 경우 하우스 룰이 적용된다는 점을 기억하세요.
면책사항
해당 정보와 게시물은 금융, 투자, 트레이딩 또는 기타 유형의 조언이나 권장 사항으로 간주되지 않으며, 트레이딩뷰에서 제공하거나 보증하는 것이 아닙니다. 자세한 내용은 이용 약관을 참조하세요.