OPEN-SOURCE SCRIPT
已更新 Directional Movement Index Trend

This DMI I modified to see the trend more clearly, and the ADX line changes according to the trend force, which is perfectly configurable, the configuration I left my default configuration, in case you want to modify it because you see the trend in different values, feel free, and basically the columns are the average of DI and also indicate the trend more clearly.
/////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
Esse DMI eu modifiquei para ver a tendência com maior clareza, e a linha do ADX ela muda de acordo com a força de tendência, a qual é perfeitamente configurável, a configuração eu deixei a minha configuração padrão, caso você queira modificar porque você vê a tendência em valores diferentes, sinta-se livre, e basicamente as colunas são a média de DI e indicam também com mais clareza a tendência.
/////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
Esse DMI eu modifiquei para ver a tendência com maior clareza, e a linha do ADX ela muda de acordo com a força de tendência, a qual é perfeitamente configurável, a configuração eu deixei a minha configuração padrão, caso você queira modificar porque você vê a tendência em valores diferentes, sinta-se livre, e basicamente as colunas são a média de DI e indicam também com mais clareza a tendência.
發行說明
due to a mathematical error that I had not noticed, the DIA formula was completely wrong, it was dividing DI- by 2 instead of the entire equation, which could lead to an error analysis, sorry for that.///////////////////////
devido a um erro matemático que eu não tinha notado, a formula do DIA estava completamente errada, ela estava dividindo DI- por 2 ao invés da equação inteira, podendo levar uma análise ao erro, desculpa por isso
Special thanks to RedKTrader
發行說明
Code Update- removed two variables that were used only once, and their values assigned directly in the plot() function
---------------------------------------------------------------------------------
Atualização de Código
- foi retirado duas variáveis que eram utilizadas apenas uma única vez, e seus valores atribuidos diretamente na função plot()
發行說明
- Code update to version 5
- Added category separation for easier understanding when configuring settings
- Code refactored to be easier to understand
發行說明
- minor changes on code發行說明
- The variables were renamed to match with the tradingview style guide recommendations.
- Minor changes to match with the tradingview style guide recommendations.
- ADX levels become float instead of integer
- Input and color variables is now typed
- It is now possible to paint the DI trend levels, special thanks to MonkeyNo1 for the idea
發行說明
- special thanks to RedKTrader and MonkeyNo1 added in the third line of code
開源腳本
本著TradingView的真正精神,此腳本的創建者將其開源,以便交易者可以查看和驗證其功能。向作者致敬!雖然您可以免費使用它,但請記住,重新發佈程式碼必須遵守我們的網站規則。
免責聲明
這些資訊和出版物並不意味著也不構成TradingView提供或認可的金融、投資、交易或其他類型的意見或建議。請在使用條款閱讀更多資訊。
開源腳本
本著TradingView的真正精神,此腳本的創建者將其開源,以便交易者可以查看和驗證其功能。向作者致敬!雖然您可以免費使用它,但請記住,重新發佈程式碼必須遵守我們的網站規則。
免責聲明
這些資訊和出版物並不意味著也不構成TradingView提供或認可的金融、投資、交易或其他類型的意見或建議。請在使用條款閱讀更多資訊。