OPEN-SOURCE SCRIPT
AURORA PRIME Alerts (Indicator)

/version=6
indicator("AURORA PRIME Alerts (Indicator)", overlay=true)
// --- inputs and logic copied from your strategy (only the parts needed for signals) ---
tfHTF = input.timeframe("60", "HTF for Structure")
// ... copy any inputs you want exposed ...
// Example: assume longEntry, shortEntry, canAdd are computed exactly as in your strategy
// (paste the same computations here or import them)
// For demonstration, placeholder signals (replace with your real conditions)
longEntry = false // <-- replace with your strategy's longEntry expression
shortEntry = false // <-- replace with your strategy's shortEntry expression
canAdd = false // <-- replace with your strategy's canAdd expression
inPosLong = false // <-- replace with your strategy's inPosLong expression
inPosShort = false // <-- replace with your strategy's inPosShort expression
// Alert conditions exposed to TradingView UI
alertcondition(longEntry, title="AURORA PRIME Long Entry", message="AURORA PRIME Long Entry")
alertcondition(shortEntry, title="AURORA PRIME Short Entry", message="AURORA PRIME Short Entry")
alertcondition(canAdd and inPosLong, title="AURORA PRIME Long Add", message="AURORA PRIME Long Add")
alertcondition(canAdd and inPosShort, title="AURORA PRIME Short Add", message="AURORA PRIME Short Add")
// Optional visuals to match strategy
plotshape(longEntry, title="Long", style=shape.triangleup, color=color.new(color.lime, 0), size=size.small, location=location.belowbar)
plotshape(shortEntry, title="Short", style=shape.triangledown, color=color.new(color.red, 0), size=size.small, location=location.abovebar)
indicator("AURORA PRIME Alerts (Indicator)", overlay=true)
// --- inputs and logic copied from your strategy (only the parts needed for signals) ---
tfHTF = input.timeframe("60", "HTF for Structure")
// ... copy any inputs you want exposed ...
// Example: assume longEntry, shortEntry, canAdd are computed exactly as in your strategy
// (paste the same computations here or import them)
// For demonstration, placeholder signals (replace with your real conditions)
longEntry = false // <-- replace with your strategy's longEntry expression
shortEntry = false // <-- replace with your strategy's shortEntry expression
canAdd = false // <-- replace with your strategy's canAdd expression
inPosLong = false // <-- replace with your strategy's inPosLong expression
inPosShort = false // <-- replace with your strategy's inPosShort expression
// Alert conditions exposed to TradingView UI
alertcondition(longEntry, title="AURORA PRIME Long Entry", message="AURORA PRIME Long Entry")
alertcondition(shortEntry, title="AURORA PRIME Short Entry", message="AURORA PRIME Short Entry")
alertcondition(canAdd and inPosLong, title="AURORA PRIME Long Add", message="AURORA PRIME Long Add")
alertcondition(canAdd and inPosShort, title="AURORA PRIME Short Add", message="AURORA PRIME Short Add")
// Optional visuals to match strategy
plotshape(longEntry, title="Long", style=shape.triangleup, color=color.new(color.lime, 0), size=size.small, location=location.belowbar)
plotshape(shortEntry, title="Short", style=shape.triangledown, color=color.new(color.red, 0), size=size.small, location=location.abovebar)
Skrypt open-source
W zgodzie z duchem TradingView twórca tego skryptu udostępnił go jako open-source, aby użytkownicy mogli przejrzeć i zweryfikować jego działanie. Ukłony dla autora. Korzystanie jest bezpłatne, jednak ponowna publikacja kodu podlega naszym Zasadom serwisu.
Wyłączenie odpowiedzialności
Informacje i publikacje nie stanowią i nie powinny być traktowane jako porady finansowe, inwestycyjne, tradingowe ani jakiekolwiek inne rekomendacje dostarczane lub zatwierdzone przez TradingView. Więcej informacji znajduje się w Warunkach użytkowania.
Skrypt open-source
W zgodzie z duchem TradingView twórca tego skryptu udostępnił go jako open-source, aby użytkownicy mogli przejrzeć i zweryfikować jego działanie. Ukłony dla autora. Korzystanie jest bezpłatne, jednak ponowna publikacja kodu podlega naszym Zasadom serwisu.
Wyłączenie odpowiedzialności
Informacje i publikacje nie stanowią i nie powinny być traktowane jako porady finansowe, inwestycyjne, tradingowe ani jakiekolwiek inne rekomendacje dostarczane lub zatwierdzone przez TradingView. Więcej informacji znajduje się w Warunkach użytkowania.