OPEN-SOURCE SCRIPT

ADX Strategy (original)

已更新
ADX Strategy

Description:

Generates a long entry signal when the Average Directional Index (ADX) value is greater than the trendlevel and the close is greater than the filter value, and/or generates a short entry signal when the ADX value is greater than the trendlevel and the close is less than the filter value.

The Average Directional Index evaluates the strength of a current trend. The ADX is an oscillator that fluctuates between 0 and 100. Values below 20 indicate a weak trend, values above 40 indicate a strong trend. The direction of the trend is not measured by this indicator.

As usual, the script features signal filtering/generation and a rough estimate of its performance.
版本注释
Added exit methods.
版本注释
Minor fix to the logic.
版本注释
Minor fix.
ADXfilteringOscillatorssignalgenerationTrend AnalysisVolatility

开源脚本

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

想在图表上使用此脚本?

免责声明