OPEN-SOURCE SCRIPT

MultiScalpMACD

49
This indicator, the "Custom MACD MTF," is an adaptive version of the classic Moving Average Convergence Divergence (MACD) that automatically adjusts its parameters based on the chart's timeframe. It is designed to provide more fine-tuned momentum readings for traders who focus on specific intraday timeframes.

Overview
The "Custom MACD MTF" modifies the standard MACD calculation by applying unique settings for the 5-minute, 15-minute, and 1-hour charts. For all other timeframes, it reverts to the user-defined default values. This dynamic adjustment allows the indicator to better reflect the momentum characteristics of different trading sessions without requiring manual changes from the user.

Key Features
Adaptive Parameters: The indicator automatically uses optimized MACD settings for popular timeframes:

5-minute: Fast Length = 3, Slow Length = 10, Signal Length = 16

15-minute: Fast Length = 8, Slow Length = 17, Signal Length = 9

1-hour: Fast Length = 12, Slow Length = 26, Signal Length = 9

Momentum-Based Histogram: The histogram bars are colored to provide a clear visual cue about changes in momentum. A light gray bar indicates that momentum is increasing (the current bar is higher than the previous one), while a dark gray bar indicates that momentum is decreasing.

Clear Visual Plots: The indicator plots a pink MACD line, a black signal line, and a gray zero line for easy interpretation of crossovers and trend direction.

How to Interpret
This indicator can be used in the same way as a traditional MACD, but with added sensitivity on the specified timeframes. Traders can look for MACD and signal line crossovers, zero-line crosses, and divergences to identify potential trade signals. The histogram's color change provides an early warning that momentum is either accelerating or decelerating, which can precede a change in price direction.

Settings
Fast Length (Default): The default fast EMA period used for all timeframes except 5m, 15m, and 1h.

Slow Length (Default): The default slow EMA period used for all timeframes except 5m, 15m, and 1h.

Signal Length (Default): The default signal line EMA period used for all timeframes except 5m, 15m, and 1h.

Source: The price source for the MACD calculation (default is Close).

免責聲明

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