PROTECTED SOURCE SCRIPT
MACD by Josh

free macd MT5🔍
Meaning of Each Component
Fast EMA
Uses fast_length (e.g., 15)
Reacts quickly to recent price changes
Slow EMA
Uses slow_length (e.g., 25)
Smoother and represents the bigger trend
MACD Line
Formula: Fast EMA − Slow EMA
Shows market momentum; positive = bullish, negative = bearish
Signal Line
EMA of the MACD Line (e.g., 9 periods)
Smooths the MACD Line, easier to read for crossovers
Histogram
Formula: MACD Line − Signal Line
Positive histogram → MACD above Signal → bullish momentum
Negative histogram → MACD below Signal → bearish momentum
Why This Script Matches MT5
MT5 uses EMA for both MACD and Signal calculations
This script also uses ta.ema() for both, matching MT5 exactly
Displays only the Signal Line (red) + Histogram, no MACD Line → same as MT5 mobile view you showed
ความหมายของแต่ละส่วน
EMA เร็ว (fast EMA)
ใช้ fast_length (เช่น 15)
เคลื่อนไหวเร็ว ตอบสนองต่อราคาล่าสุดได้ไว
EMA ช้า (slow EMA)
ใช้ slow_length (เช่น 25)
เคลื่อนไหวช้ากว่า ให้ภาพแนวโน้มใหญ่
MACD Line
= EMA เร็ว − EMA ช้า
บอกโมเมนตัมของตลาด ถ้าค่าบวก = ขาขึ้น, ค่าลบ = ขาลง
Signal Line
= EMA ของ MACD Line (เช่น 9 แท่ง)
ทำให้เส้นเรียบขึ้น เหมาะใช้ดูจังหวะตัดกัน
Histogram
= MACD Line − Signal Line
ถ้า Histogram > 0 → MACD เหนือ Signal = โมเมนตัมบวก
ถ้า Histogram < 0 → MACD ต่ำกว่า Signal = โมเมนตัมลบ
Meaning of Each Component
Fast EMA
Uses fast_length (e.g., 15)
Reacts quickly to recent price changes
Slow EMA
Uses slow_length (e.g., 25)
Smoother and represents the bigger trend
MACD Line
Formula: Fast EMA − Slow EMA
Shows market momentum; positive = bullish, negative = bearish
Signal Line
EMA of the MACD Line (e.g., 9 periods)
Smooths the MACD Line, easier to read for crossovers
Histogram
Formula: MACD Line − Signal Line
Positive histogram → MACD above Signal → bullish momentum
Negative histogram → MACD below Signal → bearish momentum
Why This Script Matches MT5
MT5 uses EMA for both MACD and Signal calculations
This script also uses ta.ema() for both, matching MT5 exactly
Displays only the Signal Line (red) + Histogram, no MACD Line → same as MT5 mobile view you showed
ความหมายของแต่ละส่วน
EMA เร็ว (fast EMA)
ใช้ fast_length (เช่น 15)
เคลื่อนไหวเร็ว ตอบสนองต่อราคาล่าสุดได้ไว
EMA ช้า (slow EMA)
ใช้ slow_length (เช่น 25)
เคลื่อนไหวช้ากว่า ให้ภาพแนวโน้มใหญ่
MACD Line
= EMA เร็ว − EMA ช้า
บอกโมเมนตัมของตลาด ถ้าค่าบวก = ขาขึ้น, ค่าลบ = ขาลง
Signal Line
= EMA ของ MACD Line (เช่น 9 แท่ง)
ทำให้เส้นเรียบขึ้น เหมาะใช้ดูจังหวะตัดกัน
Histogram
= MACD Line − Signal Line
ถ้า Histogram > 0 → MACD เหนือ Signal = โมเมนตัมบวก
ถ้า Histogram < 0 → MACD ต่ำกว่า Signal = โมเมนตัมลบ
Script protegido
Esse script é publicada como código fechado. No entanto, você pode usar ele livremente e sem nenhuma limitação – saiba mais aqui.
Joshsniper4569
Aviso legal
As informações e publicações não devem ser e não constituem conselhos ou recomendações financeiras, de investimento, de negociação ou de qualquer outro tipo, fornecidas ou endossadas pela TradingView. Leia mais em Termos de uso.
Script protegido
Esse script é publicada como código fechado. No entanto, você pode usar ele livremente e sem nenhuma limitação – saiba mais aqui.
Joshsniper4569
Aviso legal
As informações e publicações não devem ser e não constituem conselhos ou recomendações financeiras, de investimento, de negociação ou de qualquer outro tipo, fornecidas ou endossadas pela TradingView. Leia mais em Termos de uso.