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 open-source
Dans l'esprit TradingView, le créateur de ce script l'a rendu open source afin que les traders puissent examiner et vérifier ses fonctionnalités. Bravo à l'auteur! Bien que vous puissiez l'utiliser gratuitement, n'oubliez pas que la republication du code est soumise à nos Règles.
Clause de non-responsabilité
Les informations et publications ne sont pas destinées à être, et ne constituent pas, des conseils ou recommandations financiers, d'investissement, de trading ou autres fournis ou approuvés par TradingView. Pour en savoir plus, consultez les Conditions d'utilisation.
Script open-source
Dans l'esprit TradingView, le créateur de ce script l'a rendu open source afin que les traders puissent examiner et vérifier ses fonctionnalités. Bravo à l'auteur! Bien que vous puissiez l'utiliser gratuitement, n'oubliez pas que la republication du code est soumise à nos Règles.
Clause de non-responsabilité
Les informations et publications ne sont pas destinées à être, et ne constituent pas, des conseils ou recommandations financiers, d'investissement, de trading ou autres fournis ou approuvés par TradingView. Pour en savoir plus, consultez les Conditions d'utilisation.