OPEN-SOURCE SCRIPT
Atualizado

MACD Linear Regression by zdmre

Both the Moving Average Convergence Divergence (MACD) and the Linear Regression (LR) rank among the most popular momentum indicators used in trading. When used in combination with other technical indicators, both MACD and LR can offer value in validating trade opportunities to optimize your risk management practices.

While they represent a similar approach to evaluating trades, the functions of both MACD and LR are distinct, which makes them useful indicators to combine in trade evaluation. Here’s a look at how to use MACD and LR as part of your trade analysis.

***Use it at your own risk

If you have new ideas to improve this indicator then let me know please.

Keep Learning, Keep Earning
Notas de Lançamento
Moved to below pane.
Notas de Lançamento
Pinescript Version 5
Notas de Lançamento
Added HH-HL-LH-LL for MACD.

*Can be used for divergence patterns.
Notas de Lançamento
Visual optimization.

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.