diff --git a/croc_vibes.pine b/croc_vibes.pine index 5d97939..cccf4ee 100644 --- a/croc_vibes.pine +++ b/croc_vibes.pine @@ -3,7 +3,7 @@ // Danke für die Grundlagen und Basisversion: amper04, ray_duke, husky, Audidriver13│ //@version=5 -indicator("Croc Vibes V3.4 by Telgos", overlay=true) +indicator("Croc Vibes V3.5 by Telgos", overlay=true) // === Inputs === // --- Gruppe: Chart-Signale --- @@ -17,6 +17,7 @@ bb_kombi_long = input.source(title="BB Kombi long", defval=close, group="Chart-S lollipop_long = input.source(title="Lollipop long", defval=close, group="Chart-Signale") aw_rocket_long = input.source(title="AW-Rocket long", defval=close, group="Chart-Signale") bgrl_signal = input.source(title="Black Green Rocket Long", defval=close, group="Chart-Signale") +rotes_plus = input.source(title="Rotes Plus", defval=close, group="Chart-Signale") // --- Gruppe: Lochstreifen --- status_g = input.source(title="Status (1) Grün", defval=close, group="Lochstreifen") @@ -38,9 +39,6 @@ kerze_r = input.source(title="Kerzenfarbe (3) Rot", defval=close, group="Lochstr // --- Gruppe: MSI --- src1 = input.source(close, "Day OverBought 1", group="MSI") -src2 = input.source(close, "Week OverBought 2", group="MSI") -src3 = input.source(close, "Week OverBought 4", group="MSI") -MSI_einer_gruen = src1 < 0 or src2 <0 or src3 < 0 // --- Gruppe: Allgemeine Einstellungen --- show_blue_dot_labels = input.bool(true, title="Blaue Punkte Labels anzeigen", group="Allgemeine Einstellungen") @@ -69,7 +67,7 @@ stephan_zusatzbedingung_erfuellt = (cloud_punkt_long > 0) or (bb_kombi_long > 0) or (aw_rocket_long > 0) or (bgrl_signal > 0) -stephan_setup = MSI_einer_gruen and (wolke_g > 0) and (trend_s > 0) and (setter_r > 0) and stephan_zusatzbedingung_erfuellt +stephan_setup = not na(src1) and (wolke_g > 0) and (trend_s > 0) and (setter_r > 0) and stephan_zusatzbedingung_erfuellt // === Ulti Rally (V2-kompatibel) === Kerze_in_wolke_gr = signal_close - wolke_Line_rot @@ -78,6 +76,9 @@ ulti_rally = (hellgruener_punkt_long > 0) and (Kerze_in_wolke_gr > 0) and (statu // === BGRL === is_bgrl = bgrl_signal > 0 +// === Rotes Plus === +is_rotes_plus = (rotes_plus > 0) and (wolke_g > 0) + // === Blaue Punkte === highest_swing = ta.highest(high, swing_lookback) lowest_swing = ta.lowest(low, swing_lookback) @@ -91,7 +92,7 @@ alertcondition(isPearlShort, title="Pearl Short", message="Oyster Farmer erkannt alertcondition(ulti_rally, title="Ulti Rally", message="Ulti Rally erkannt") alertcondition(stephan_setup, title="Stephan Setup", message="Stephan Setup erkannt") alertcondition(is_bgrl, title="BGRL", message="Black Green Rocket Long erkannt") -alertcondition(punkt_erfuellt, title="Blauer Punkt erfüllt", message="Blauer Punkt Swing erfüllt") +alertcondition(is_rotes_plus, title="Rotes Kreuz bei grüner Wolke", message="Rotes Kreuz erkannt") // === Labels === if isPearlLong @@ -104,6 +105,8 @@ if stephan_setup label.new(bar_index, low - atr * label_offset_mult, text="Stephan", style=label.style_label_up, color=color.teal, textcolor=color.white, size=size.small) if is_bgrl label.new(bar_index, low - atr * label_offset_mult, text="BGRL", style=label.style_label_up, color=color.black, textcolor=color.white, size=size.small) +if is_rotes_plus + label.new(bar_index, high + atr * label_offset_mult, text="Rotes Kreuz", style=label.style_label_down, color=color.red, textcolor=color.white, size=size.small) // === Blaue Punkt Labels === if isBlueShortFulfilled and show_blue_dot_labels @@ -124,4 +127,5 @@ plotshape(isPearlLong, title="Pearl Long", location=location.abovebar, color=col plotshape(isPearlShort, title="Pearl Short", location=location.belowbar, color=color.new(color.purple, 100), style=shape.labeldown, size=size.tiny) plotshape(ulti_rally, title="Ulti Rally", location=location.abovebar, color=color.new(color.aqua, 100), style=shape.diamond, size=size.tiny) plotshape(stephan_setup, title="Stephan Setup", location=location.abovebar, color=color.new(color.teal, 100), style=shape.labelup, size=size.tiny) -plotshape(is_bgrl, title="BGRL", location=location.abovebar, color=color.new(color.black, 100), style=shape.triangleup, size=size.tiny) \ No newline at end of file +plotshape(is_bgrl, title="BGRL", location=location.abovebar, color=color.new(color.black, 100), style=shape.triangleup, size=size.tiny) +plotshape(is_rotes_plus, title="Rotes Kreuz", location=location.belowbar, color=color.new(color.red, 100), style=shape.labeldown, size=size.tiny) \ No newline at end of file