PROTECTED SOURCE SCRIPT
EarlBMACD

This indicator looks for a crossover of the MACD moving averages (12ema and 26ema) to generate a buy/sell signal and a crossover
of the MACD line (12ema minus 26ema) and MACD signal line (9ema of MACD line) in order to generate a completely seperate buy/sell signal.
The two buy/sell signals are combined into a hybrid buy/sell/hold indicator which looks for one, neither, or both to be "buys."
If both signals are buys (fast crossed above slow), a "buy" signal is given (green bar color)
If only one signal is a buy, a "hold" signal is given (yellow bar color)
If neither signal is a buy, a "sell" signal is given (red bar color) Note: MACD moving averages crossing over is the same thing as the MACD line crossing the zero level in the MACD indicator
It makes sense to have the MACD indicator loaded as a reference when using this but it isn't required.
The lines plotted on the chart are the 12ema and a signal line which is the MACD signal line shown relative to the 12ema rather than the MACD line
The 26ema is not plotted on the chart because the chart becomes cluttered,
plus the moving averages crossover is indicated with the MACD indicator.
of the MACD line (12ema minus 26ema) and MACD signal line (9ema of MACD line) in order to generate a completely seperate buy/sell signal.
The two buy/sell signals are combined into a hybrid buy/sell/hold indicator which looks for one, neither, or both to be "buys."
If both signals are buys (fast crossed above slow), a "buy" signal is given (green bar color)
If only one signal is a buy, a "hold" signal is given (yellow bar color)
If neither signal is a buy, a "sell" signal is given (red bar color) Note: MACD moving averages crossing over is the same thing as the MACD line crossing the zero level in the MACD indicator
It makes sense to have the MACD indicator loaded as a reference when using this but it isn't required.
The lines plotted on the chart are the 12ema and a signal line which is the MACD signal line shown relative to the 12ema rather than the MACD line
The 26ema is not plotted on the chart because the chart becomes cluttered,
plus the moving averages crossover is indicated with the MACD indicator.
Mã được bảo vệ
Tập lệnh này được đăng dưới dạng mã nguồn đóng. Tuy nhiên, bạn có thể sử dụng tự do và không giới hạn – tìm hiểu thêm tại đây.
Thông báo miễn trừ trách nhiệm
Thông tin và các ấn phẩm này không nhằm mục đích, và không cấu thành, lời khuyên hoặc khuyến nghị về tài chính, đầu tư, giao dịch hay các loại khác do TradingView cung cấp hoặc xác nhận. Đọc thêm tại Điều khoản Sử dụng.
Mã được bảo vệ
Tập lệnh này được đăng dưới dạng mã nguồn đóng. Tuy nhiên, bạn có thể sử dụng tự do và không giới hạn – tìm hiểu thêm tại đây.
Thông báo miễn trừ trách nhiệm
Thông tin và các ấn phẩm này không nhằm mục đích, và không cấu thành, lời khuyên hoặc khuyến nghị về tài chính, đầu tư, giao dịch hay các loại khác do TradingView cung cấp hoặc xác nhận. Đọc thêm tại Điều khoản Sử dụng.