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 aberto
Em verdadeiro espírito do TradingView, o criador deste script o tornou de código aberto, para que os traders possam revisar e verificar sua funcionalidade. Parabéns ao autor! Embora você possa usá-lo gratuitamente, lembre-se de que a republicação do código está sujeita às nossas Regras da Casa.
Aviso legal
As informações e publicações não se destinam a ser, e não constituem, conselhos ou recomendações financeiras, de investimento, comerciais ou de outro tipo fornecidos ou endossados pela TradingView. Leia mais nos Termos de Uso.
Script de código aberto
Em verdadeiro espírito do TradingView, o criador deste script o tornou de código aberto, para que os traders possam revisar e verificar sua funcionalidade. Parabéns ao autor! Embora você possa usá-lo gratuitamente, lembre-se de que a republicação do código está sujeita às nossas Regras da Casa.
Aviso legal
As informações e publicações não se destinam a ser, e não constituem, conselhos ou recomendações financeiras, de investimento, comerciais ou de outro tipo fornecidos ou endossados pela TradingView. Leia mais nos Termos de Uso.