capissimo

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.
Release Notes: Added exit methods.
Release Notes: Minor fix to the logic.
Release Notes: Minor fix.
Open-source script

In true TradingView spirit, the author of this script has published it open-source, so traders can understand and verify it. Cheers to the author! You may use it for free, but reuse of this code in a publication is governed by House Rules. You can favorite it to use it on a chart.

Want to use this script on a chart?

Comments

Hi @capissimo, you have a very beautiful coding standard, beautifully written, and a nice concept of ADX. learn a lot from you. thank you very much.
350 coins
Reply
capissimo creativH
@creativH, thx for your support.
Reply
capissimo creativH
@creativH, see my github /capissimo
Reply
Home Stock Screener Forex Screener Crypto Screener Economic Calendar About Chart Features Pricing Refer a friend House Rules Help Center Website & Broker Solutions Widgets Charting Solutions Lightweight Charting Library Blog & News Twitter