OPEN-SOURCE SCRIPT
Aggiornato

caracalla ema long short signal

135
📌 Indicator Name
caracalla ema long short signal
This script generates long and short trading signals using multiple technical indicators: EMAs, MACD, RSI, Stochastic, and volume.

🔧 Indicators Used
1. Exponential Moving Averages (EMA)
ema5, ema20, ema60, ema120 — used to determine overall trend direction.

2. Trend Confirmation (MA Alignment)
Bullish alignment: ema5 > ema20 > ema60 > ema120

Bearish alignment: ema5 < ema20 < ema60 < ema120

3. Crossover Signals
Golden Cross: ema5 crosses above ema20

Dead Cross: ema5 crosses below ema20

4. MACD
Standard parameters: 12, 26, 9

MACD Long: MACD line crosses above signal line

MACD Short: MACD line crosses below signal line

5. RSI & Stochastic
RSI(14): checks momentum

Stochastic (%K, %D)

Bullish: RSI > 50 and Stochastic %K crosses above %D

Bearish: RSI < 50 and Stochastic %K crosses below %D

6. Volume Filter
20-period simple average volume

Volume Up: Current volume > 120% of average

Volume Down: Current volume < 80% of average

✅ Signal Logic
📈 Long Signal (longSignal)
Triggered when 3 or more of the following are true:

EMA bullish alignment

Golden cross

MACD bullish crossover

RSI > 50 and Stochastic bullish crossover

High volume

📉 Short Signal (shortSignal)
Triggered when 3 or more of the following are true:

EMA bearish alignment

Dead cross

MACD bearish crossover

RSI < 50 and Stochastic bearish crossover

Low volume

📊 Visual Elements
Long Signal: Green “롱” label below the candle

Short Signal: Red “숏” label above the candle

EMA Lines:

EMA5 (Blue)

EMA20 (Orange)

EMA60 (Green)

EMA120 (Red)
Note di rilascio
📌 Indicator Name
caracalla ema long short signal
This script generates long and short trading signals using multiple technical indicators: EMAs, MACD, RSI, Stochastic, and volume.

🔧 Indicators Used
1. Exponential Moving Averages (EMA)
ema5, ema20, ema60, ema120 — used to determine overall trend direction.

2. Trend Confirmation (MA Alignment)
Bullish alignment: ema5 > ema20 > ema60 > ema120

Bearish alignment: ema5 < ema20 < ema60 < ema120

3. Crossover Signals
Golden Cross: ema5 crosses above ema20

Dead Cross: ema5 crosses below ema20

4. MACD
Standard parameters: 12, 26, 9

MACD Long: MACD line crosses above signal line

MACD Short: MACD line crosses below signal line

5. RSI & Stochastic
RSI(14): checks momentum

Stochastic (%K, %D)

Bullish: RSI > 50 and Stochastic %K crosses above %D

Bearish: RSI < 50 and Stochastic %K crosses below %D

6. Volume Filter
20-period simple average volume

Volume Up: Current volume > 120% of average

Volume Down: Current volume < 80% of average

✅ Signal Logic
📈 Long Signal (longSignal)
Triggered when 3 or more of the following are true:

EMA bullish alignment

Golden cross

MACD bullish crossover

RSI > 50 and Stochastic bullish crossover

High volume

📉 Short Signal (shortSignal)
Triggered when 3 or more of the following are true:

EMA bearish alignment

Dead cross

MACD bearish crossover

RSI < 50 and Stochastic bearish crossover

Low volume

📊 Visual Elements
Long Signal: Green “롱” label below the candle

Short Signal: Red “숏” label above the candle

EMA Lines:

EMA5 (Blue)

EMA20 (Orange)

EMA60 (Green)

EMA120 (Red)
Note di rilascio
This script is currently disabled and will be updated soon.
It is not functional at the moment and should not be used.
Thank you for your understanding.

Declinazione di responsabilità

Le informazioni ed i contenuti pubblicati non costituiscono in alcun modo una sollecitazione ad investire o ad operare nei mercati finanziari. Non sono inoltre fornite o supportate da TradingView. Maggiori dettagli nelle Condizioni d'uso.