OPEN-SOURCE SCRIPT

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
版本注释
Moved to below pane.
版本注释
Pinescript Version 5
版本注释
Added HH-HL-LH-LL for MACD.

*Can be used for divergence patterns.
版本注释
Visual optimization.
Linear RegressionMoving Average Convergence / Divergence (MACD)

开源脚本

本着真正的TradingView精神,此脚本的作者已将其开源,以便交易者可以理解和验证它。向作者致敬!您可以免费使用它,但在出版物中重复使用此代码受网站规则约束。 您可以收藏它以在图表上使用。

想在图表上使用此脚本?


更多:

免责声明