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 = โมเมนตัมลบ
受保護腳本
此腳本以閉源形式發佈。 不過,您可以自由且不受任何限制地使用它 — 在此處了解更多資訊。
Joshsniper4569
免責聲明
這些資訊和出版物並不意味著也不構成TradingView提供或認可的金融、投資、交易或其他類型的意見或建議。請在使用條款閱讀更多資訊。
受保護腳本
此腳本以閉源形式發佈。 不過,您可以自由且不受任何限制地使用它 — 在此處了解更多資訊。
Joshsniper4569
免責聲明
這些資訊和出版物並不意味著也不構成TradingView提供或認可的金融、投資、交易或其他類型的意見或建議。請在使用條款閱讀更多資訊。