OPEN-SOURCE SCRIPT
已更新

caracalla ema long short signal

160
📌 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提供或认可的金融、投资、交易或其它类型的建议或背书。请在使用条款阅读更多信息。