PROTECTED SOURCE SCRIPT
Aktualisiert Cross3x

Cross3x – Early Rejection & Crossover Detection System
Cross3x is a powerful yet intuitive trading tool designed for traders who want early signals with structured risk management.
Built around a dual EMA crossover (18 & 33), it generates entry signals on every crossover and crossunder — no trend filter interference. The long-term SMA 99 provides context but doesn’t block valid setups.
Key Features:
Unfiltered Entries: Triangles appear on every EMA 18/33 crossover, ideal for catching reversals early.
Smart SL/TP/BE:
SL based on recent extremes (configurable lookback).
TP using adjustable Risk/Reward ratio (default 2:1).
BE level set at a % between entry and TP (e.g., 10% = just above cost).
Early Rejection Signals: Diamonds highlight potential reversals when price tests a moving average with a long wick during a countertrend candle:
🟩 Green diamond below bar → Potential Long Setup
🟥 Red diamond above bar → Potential Short Setup
Confirmation Points: Circles appear when price retraces properly after a crossover, marking optimal entry zones.
Real-Time Dashboard: Dynamic table shows current signal, SL, and TP levels.
Customizable Alerts: Enable alerts per signal type for timely execution.
Why Traders Love Cross3x:
It combines simplicity with intelligence. Whether you're scalping, swing trading, or building an algo strategy, Cross3x gives you clarity, timing, and discipline in one compact package.
Use the diamonds to anticipate moves, the triangles to confirm momentum, and the confirmation circles to refine entries — all backed by precise risk controls.
Perfect For:
Breakout traders
Pullback hunters
Price action + MA confluence strategies
Deploy Cross3x to turn basic crossovers into a complete edge.
Cross3x is a powerful yet intuitive trading tool designed for traders who want early signals with structured risk management.
Built around a dual EMA crossover (18 & 33), it generates entry signals on every crossover and crossunder — no trend filter interference. The long-term SMA 99 provides context but doesn’t block valid setups.
Key Features:
Unfiltered Entries: Triangles appear on every EMA 18/33 crossover, ideal for catching reversals early.
Smart SL/TP/BE:
SL based on recent extremes (configurable lookback).
TP using adjustable Risk/Reward ratio (default 2:1).
BE level set at a % between entry and TP (e.g., 10% = just above cost).
Early Rejection Signals: Diamonds highlight potential reversals when price tests a moving average with a long wick during a countertrend candle:
🟩 Green diamond below bar → Potential Long Setup
🟥 Red diamond above bar → Potential Short Setup
Confirmation Points: Circles appear when price retraces properly after a crossover, marking optimal entry zones.
Real-Time Dashboard: Dynamic table shows current signal, SL, and TP levels.
Customizable Alerts: Enable alerts per signal type for timely execution.
Why Traders Love Cross3x:
It combines simplicity with intelligence. Whether you're scalping, swing trading, or building an algo strategy, Cross3x gives you clarity, timing, and discipline in one compact package.
Use the diamonds to anticipate moves, the triangles to confirm momentum, and the confirmation circles to refine entries — all backed by precise risk controls.
Perfect For:
Breakout traders
Pullback hunters
Price action + MA confluence strategies
Deploy Cross3x to turn basic crossovers into a complete edge.
Versionshinweise
profileQwen3-235B-A22B-2507
12:25 pm
Parfait ! Voici la version finale et complète de votre indicateur Cross3x, mise à jour selon vos dernières instructions :
✅ Modifications appliquées :
✅ Remplacement des flags par des diamonds (losanges) pour les signaux de rejet
✅ Suppression du filtre close > filter_ma sur les croisements → le triangle apparaît à chaque croisement EMA 18 / EMA 33, peu importe la tendance de la SMA 99
✅ Mise à jour du code entier + description intégrée (//description) + version externe pour publication
✅ Code final – Cross3x (Version finale)
pinescript
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
// • Green diamond below bar = Potential Long Setup
if reached
alert("BreakEven Reached", alert.freq_once_per_bar_close)
break_even_alert_triggered := true
// === CONFIRMATION POINTS LOGIC ===
green_point_condition = crossover_happened and not green_circle_shown and (close < ma1 and close < ma2) and (close > filter_ma)
red_point_condition = crossunder_happened and not red_circle_shown and (close > ma1 and close > ma2) and (close < filter_ma)
if green_point_condition
green_circle_shown := true
if red_point_condition
red_circle_shown := true
// === FILTERED SIGNALS (no filter_ma condition) ===
filtered_crossover = crossover_condition
filtered_crossunder = crossunder_condition
// === EARLY MA REJECTION SYSTEM ===
trend_up = close > filter_ma and ma1 > ma2 and ma1 > ma1[1]
trend_down = close < filter_ma and ma1 < ma2 and ma1 < ma1[1]
// --- Dimensions des bougies ---
body_size() => math.abs(close - open)
lower_wick() => math.min(open, close) - low
upper_wick() => high - math.max(open, close)
// --- Conditions de rejet sur MA (sur la bougie de contre-tendance) ---
prev_bearish = close[1] < open[1]
prev_lower_wick_long = lower_wick()[1] > body_size()[1]
any_ma_touched_from_below = (low[1] <= ma1 and ma1 < close[1]) or (low[1] <= ma2 and ma2 < close[1]) or (low[1] <= filter_ma and filter_ma < close[1])
prev_bullish = close[1] > open[1]
prev_upper_wick_long = upper_wick()[1] > body_size()[1]
any_ma_touched_from_above = (high[1] >= ma1 and ma1 > close[1]) or (high[1] >= ma2 and ma2 > close[1]) or (high[1] >= filter_ma and filter_ma > close[1])
// --- FINAL SIGNALS ---
bullish_setup = show_ma_rejection and trend_up and prev_bearish and prev_lower_wick_long and any_ma_touched_from_below
bearish_setup = show_ma_rejection and trend_down and prev_bullish and prev_upper_wick_long and any_ma_touched_from_above
// === VISUAL SHAPES ===
plotshape(filtered_crossover, style=shape.triangleup, location=location.belowbar, color=color.green, size=size.small, title="Entry Buy Signal")
plotshape(filtered_crossunder, style=shape.triangledown, location=location.abovebar, color=color.red, size=size.small, title="Entry Sell Signal")
plotshape(green_point_condition, style=shape.circle, location=location.belowbar, color=color.rgb(76, 175, 79, 49), size=size.small, title="Bullish Confirmation")
plotshape(red_point_condition, style=shape.circle, location=location.abovebar, color=color.rgb(255, 82, 82, 46), size=size.small, title="Bearish Confirmation")
plotshape(bullish_setup, title="Potential Long Setup", location=location.belowbar, color=bullish_setup_color, style=shape.diamond, size=size.small)
plotshape(bearish_setup, title="Potential Short Setup", location=location.abovebar, color=bearish_setup_color, style=shape.diamond, size=size.small)
// === ALERTS FOR EARLY SETUPS ===
if barstate.isconfirmed and enable_triangle_alerts
if bullish_setup
alert("Potential Long Setup", alert.freq_once_per_bar_close)
else if bearish_setup
alert("Potential Short Setup", alert.freq_once_per_bar_close)
// === ALERTS FOR CONFIRMATION POINTS ===
if barstate.isconfirmed and enable_point_alerts
if green_point_condition
alert("Bullish Confirmation Point", alert.freq_once_per_bar_close)
else if red_point_condition
alert("Bearish Confirmation Point", alert.freq_once_per_bar_close)
✅ Description publiable (en anglais)
Cross3x – Early Rejection & Crossover Detection System
Cross3x is a powerful yet intuitive trading tool designed for traders who want early signals with structured risk management.
Built around a dual EMA crossover (18 & 33), it generates entry signals on every crossover and crossunder — no trend filter interference. The long-term SMA 99 provides context but doesn’t block valid setups.
Key Features:
Unfiltered Entries: Triangles appear on every EMA 18/33 crossover, ideal for catching reversals early.
Smart SL/TP/BE:
SL based on recent extremes (configurable lookback).
TP using adjustable Risk/Reward ratio (default 2:1).
BE level set at a % between entry and TP (e.g., 10% = just above cost).
Early Rejection Signals: Diamonds highlight potential reversals when price tests a moving average with a long wick during a countertrend candle:
🟩 Green diamond below bar → Potential Long Setup
🟥 Red diamond above bar → Potential Short Setup
Confirmation Points: Circles appear when price retraces properly after a crossover, marking optimal entry zones.
Real-Time Dashboard: Dynamic table shows current signal, SL, and TP levels.
Customizable Alerts: Enable alerts per signal type for timely execution.
Why Traders Love Cross3x:
It combines simplicity with intelligence. Whether you're scalping, swing trading, or building an algo strategy, Cross3x gives you clarity, timing, and discipline in one compact package.
Use the diamonds to anticipate moves, the triangles to confirm momentum, and the confirmation circles to refine entries — all backed by precise risk controls.
Perfect For:
Breakout traders
Pullback hunters
Price action + MA confluence strategies
Deploy Cross3x to turn basic crossovers into a complete edge.
Geschütztes Skript
Dieses Script ist als Closed-Source veröffentlicht. Sie können es kostenlos und ohne Einschränkungen verwenden – erfahren Sie hier mehr.
Haftungsausschluss
Die Informationen und Veröffentlichungen sind nicht als Finanz-, Anlage-, Handels- oder andere Arten von Ratschlägen oder Empfehlungen gedacht, die von TradingView bereitgestellt oder gebilligt werden, und stellen diese nicht dar. Lesen Sie mehr in den Nutzungsbedingungen.
Geschütztes Skript
Dieses Script ist als Closed-Source veröffentlicht. Sie können es kostenlos und ohne Einschränkungen verwenden – erfahren Sie hier mehr.
Haftungsausschluss
Die Informationen und Veröffentlichungen sind nicht als Finanz-, Anlage-, Handels- oder andere Arten von Ratschlägen oder Empfehlungen gedacht, die von TradingView bereitgestellt oder gebilligt werden, und stellen diese nicht dar. Lesen Sie mehr in den Nutzungsbedingungen.