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)
Script de código abierto
Fiel al espíritu de TradingView, el creador de este script lo ha convertido en código abierto, para que los traders puedan revisar y verificar su funcionalidad. ¡Enhorabuena al autor! Aunque puede utilizarlo de forma gratuita, recuerde que la republicación del código está sujeta a nuestras Normas internas.
Exención de responsabilidad
La información y las publicaciones no constituyen, ni deben considerarse como asesoramiento o recomendaciones financieras, de inversión, de trading o de otro tipo proporcionadas o respaldadas por TradingView. Más información en Condiciones de uso.
Script de código abierto
Fiel al espíritu de TradingView, el creador de este script lo ha convertido en código abierto, para que los traders puedan revisar y verificar su funcionalidad. ¡Enhorabuena al autor! Aunque puede utilizarlo de forma gratuita, recuerde que la republicación del código está sujeta a nuestras Normas internas.
Exención de responsabilidad
La información y las publicaciones no constituyen, ni deben considerarse como asesoramiento o recomendaciones financieras, de inversión, de trading o de otro tipo proporcionadas o respaldadas por TradingView. Más información en Condiciones de uso.