OPEN-SOURCE SCRIPT
מעודכן Grok/Claude AI Neural Fusion Pro * Grok/Claude X Series

Grok/Claude AI Neural Fusion Pro
This is a TradingView indicator that combines multiple technical analysis methods into a unified scoring system to identify trading opportunities. Despite the "Neural" and "AI" branding, it's not actually using machine learning — it's a sophisticated blend of traditional indicators weighted together to produce a single decision-aiding score.
Core Philosophy
The indicator attempts to answer the question: "How bullish or bearish is the current market environment, and when should I consider entering a trade?"
It does this by calculating a "GXS Score" (ranging from -1 to +1) that aggregates five different market dimensions: trend strength, momentum, volume, price structure, and price action quality. Each dimension contributes to the final score based on user-defined weights.
The Dynamic Bands System
Rather than using standard Bollinger Bands, this indicator creates adaptive bands that expand and contract based on market conditions. The bands are built around a midpoint calculated from Heikin Ashi candles (smoothed price bars that filter out noise), then extended outward using ATR (Average True Range) multiplied by a dynamic factor.
What makes these bands "dynamic" is that the multiplier adjusts based on two factors: the Chaikin Oscillator (which measures buying/selling pressure through accumulation/distribution) and ADX (trend strength). When there's strong directional pressure or a powerful trend, the bands widen to accommodate larger price swings. In quieter markets, they tighten.
The Five Scoring Components
The GXS Score is built from five weighted components:
ComponentDefault WeightWhat It MeasuresTrend Strength30%ADX direction and magnitude — is there a real trend, and which way?Momentum25%RSI, MACD, Stochastic, CCI, Rate of Change, plus divergence detectionVolume20%On-Balance Volume slope and whether volume confirms price movementPrice Structure15%Where price sits within the bands, plus volatility regimePrice Action10%Ratio of bullish vs bearish candles over recent bars
Trend Strength Component
This component only contributes to the score when ADX indicates a trending market (above the threshold, default 24). If DI+ exceeds DI-, the score tilts bullish; if DI- dominates, it tilts bearish. In ranging markets, this component essentially zeros out, preventing false trend signals during choppy conditions.
Momentum Component
This is the most complex component, combining six sub-indicators. RSI is normalized around the 50 level. MACD histogram is standardized against its own volatility. Stochastic and CCI contribute bonus points at extreme levels (oversold/overbought). Rate of Change adds directional bias for strong moves. Finally, divergence detection looks for situations where price makes new highs/lows but RSI doesn't confirm — a classic reversal warning.
Volume Component
The indicator tracks On-Balance Volume (a cumulative measure of buying vs selling pressure) and compares it to its moving average. When OBV is rising above its average during an uptrend, that's confirmation. The volume rate of change also contributes — surging volume adds conviction to signals.
Price Structure Component
This measures where the current price sits within the dynamic bands. If price is in the bottom 20% of the band range, that's bullish (potential bounce zone). If it's in the top 20%, that's bearish (potential resistance). The component also factors in volatility regime — low volatility environments get a slight bullish bias (breakouts tend to follow compression), while high volatility gets a bearish bias (exhaustion risk).
Price Action Component
A simple measure of recent candle character. If 70%+ of the last 10 candles were bullish (closed higher than they opened), the score tilts positive. Heavy bearish candle dominance tilts it negative.
Signal Generation
Buy and sell signals are generated when price touches or breaches the dynamic bands, but only if several filters pass:
ADX Filter (optional): Requires the market to be trending, avoiding signals in choppy conditions
RSI Filter (optional): For buys, RSI must be oversold (below 30); for sells, RSI must be overbought (above 70)
Cooldown Period: Prevents signal spam by requiring a minimum number of bars between signals (default 6)
The indicator also tracks "zones" based purely on the GXS Score. When the score exceeds the buy threshold (default 0.12) during a trending market, a green cloud appears between the bands. When it drops below the sell threshold (default -0.12), a red cloud appears. These zones indicate favorable conditions even without a specific band-touch signal.
Trend Strength Meter
Separate from the GXS Score, the indicator calculates a "Trend Strength" percentage (0-100%) displayed in the info table. This combines ADX strength (40% weight), slope consistency (30% — how steady is the price direction), volume alignment (20% — is volume confirming the move), and momentum agreement (10% — are multiple indicators pointing the same direction). This helps traders gauge how reliable the current trend is.
Visual Elements
The indicator provides multiple visual layers that can be toggled on or off:
Dynamic bands (blue midline, red upper, green lower)
Signal clouds between the bands when in buy/sell zones
Background shading indicating bullish (green) or bearish (red) regime
Triangle arrows at signal points with configurable sizes
Price labels showing exact entry prices at signals
ADX strength dots at the bottom (white = weak, orange = moderate, blue = strong)
Info table with current readings for all key metrics
Debug panel (optional) showing individual component scores
Summary
This is essentially a "committee voting" system where multiple technical indicators each cast votes on market direction, and those votes are weighted and summed into a single score. The dynamic bands provide context for where price is relative to recent volatility, while the various filters help avoid low-quality signals. It's designed for traders who want a synthesized view of market conditions rather than watching a dozen separate indicators.
This is a TradingView indicator that combines multiple technical analysis methods into a unified scoring system to identify trading opportunities. Despite the "Neural" and "AI" branding, it's not actually using machine learning — it's a sophisticated blend of traditional indicators weighted together to produce a single decision-aiding score.
Core Philosophy
The indicator attempts to answer the question: "How bullish or bearish is the current market environment, and when should I consider entering a trade?"
It does this by calculating a "GXS Score" (ranging from -1 to +1) that aggregates five different market dimensions: trend strength, momentum, volume, price structure, and price action quality. Each dimension contributes to the final score based on user-defined weights.
The Dynamic Bands System
Rather than using standard Bollinger Bands, this indicator creates adaptive bands that expand and contract based on market conditions. The bands are built around a midpoint calculated from Heikin Ashi candles (smoothed price bars that filter out noise), then extended outward using ATR (Average True Range) multiplied by a dynamic factor.
What makes these bands "dynamic" is that the multiplier adjusts based on two factors: the Chaikin Oscillator (which measures buying/selling pressure through accumulation/distribution) and ADX (trend strength). When there's strong directional pressure or a powerful trend, the bands widen to accommodate larger price swings. In quieter markets, they tighten.
The Five Scoring Components
The GXS Score is built from five weighted components:
ComponentDefault WeightWhat It MeasuresTrend Strength30%ADX direction and magnitude — is there a real trend, and which way?Momentum25%RSI, MACD, Stochastic, CCI, Rate of Change, plus divergence detectionVolume20%On-Balance Volume slope and whether volume confirms price movementPrice Structure15%Where price sits within the bands, plus volatility regimePrice Action10%Ratio of bullish vs bearish candles over recent bars
Trend Strength Component
This component only contributes to the score when ADX indicates a trending market (above the threshold, default 24). If DI+ exceeds DI-, the score tilts bullish; if DI- dominates, it tilts bearish. In ranging markets, this component essentially zeros out, preventing false trend signals during choppy conditions.
Momentum Component
This is the most complex component, combining six sub-indicators. RSI is normalized around the 50 level. MACD histogram is standardized against its own volatility. Stochastic and CCI contribute bonus points at extreme levels (oversold/overbought). Rate of Change adds directional bias for strong moves. Finally, divergence detection looks for situations where price makes new highs/lows but RSI doesn't confirm — a classic reversal warning.
Volume Component
The indicator tracks On-Balance Volume (a cumulative measure of buying vs selling pressure) and compares it to its moving average. When OBV is rising above its average during an uptrend, that's confirmation. The volume rate of change also contributes — surging volume adds conviction to signals.
Price Structure Component
This measures where the current price sits within the dynamic bands. If price is in the bottom 20% of the band range, that's bullish (potential bounce zone). If it's in the top 20%, that's bearish (potential resistance). The component also factors in volatility regime — low volatility environments get a slight bullish bias (breakouts tend to follow compression), while high volatility gets a bearish bias (exhaustion risk).
Price Action Component
A simple measure of recent candle character. If 70%+ of the last 10 candles were bullish (closed higher than they opened), the score tilts positive. Heavy bearish candle dominance tilts it negative.
Signal Generation
Buy and sell signals are generated when price touches or breaches the dynamic bands, but only if several filters pass:
ADX Filter (optional): Requires the market to be trending, avoiding signals in choppy conditions
RSI Filter (optional): For buys, RSI must be oversold (below 30); for sells, RSI must be overbought (above 70)
Cooldown Period: Prevents signal spam by requiring a minimum number of bars between signals (default 6)
The indicator also tracks "zones" based purely on the GXS Score. When the score exceeds the buy threshold (default 0.12) during a trending market, a green cloud appears between the bands. When it drops below the sell threshold (default -0.12), a red cloud appears. These zones indicate favorable conditions even without a specific band-touch signal.
Trend Strength Meter
Separate from the GXS Score, the indicator calculates a "Trend Strength" percentage (0-100%) displayed in the info table. This combines ADX strength (40% weight), slope consistency (30% — how steady is the price direction), volume alignment (20% — is volume confirming the move), and momentum agreement (10% — are multiple indicators pointing the same direction). This helps traders gauge how reliable the current trend is.
Visual Elements
The indicator provides multiple visual layers that can be toggled on or off:
Dynamic bands (blue midline, red upper, green lower)
Signal clouds between the bands when in buy/sell zones
Background shading indicating bullish (green) or bearish (red) regime
Triangle arrows at signal points with configurable sizes
Price labels showing exact entry prices at signals
ADX strength dots at the bottom (white = weak, orange = moderate, blue = strong)
Info table with current readings for all key metrics
Debug panel (optional) showing individual component scores
Summary
This is essentially a "committee voting" system where multiple technical indicators each cast votes on market direction, and those votes are weighted and summed into a single score. The dynamic bands provide context for where price is relative to recent volatility, while the various filters help avoid low-quality signals. It's designed for traders who want a synthesized view of market conditions rather than watching a dozen separate indicators.
הערות שחרור
bug fixסקריפט קוד פתוח
ברוח האמיתית של TradingView, יוצר הסקריפט הזה הפך אותו לקוד פתוח, כך שסוחרים יוכלו לעיין בו ולאמת את פעולתו. כל הכבוד למחבר! אמנם ניתן להשתמש בו בחינם, אך זכור כי פרסום חוזר של הקוד כפוף ל־כללי הבית שלנו.
כתב ויתור
המידע והפרסומים אינם מיועדים להיות, ואינם מהווים, ייעוץ או המלצה פיננסית, השקעתית, מסחרית או מכל סוג אחר המסופקת או מאושרת על ידי TradingView. קרא עוד ב־תנאי השימוש.
סקריפט קוד פתוח
ברוח האמיתית של TradingView, יוצר הסקריפט הזה הפך אותו לקוד פתוח, כך שסוחרים יוכלו לעיין בו ולאמת את פעולתו. כל הכבוד למחבר! אמנם ניתן להשתמש בו בחינם, אך זכור כי פרסום חוזר של הקוד כפוף ל־כללי הבית שלנו.
כתב ויתור
המידע והפרסומים אינם מיועדים להיות, ואינם מהווים, ייעוץ או המלצה פיננסית, השקעתית, מסחרית או מכל סוג אחר המסופקת או מאושרת על ידי TradingView. קרא עוד ב־תנאי השימוש.