OPEN-SOURCE SCRIPT
已更新

caracalla ema long short signal

147
📌 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)
發行說明
📌 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)
發行說明
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.

免責聲明

這些資訊和出版物並不意味著也不構成TradingView提供或認可的金融、投資、交易或其他類型的意見或建議。請在使用條款閱讀更多資訊。