OPEN-SOURCE SCRIPT

Rising ADX strategy

I have always been a huge fan of ADX. Its good for finding out good trending moves.
But it has been said that only ADX after 20 or 25 is good for trending market, but few trend gets completed at that level.

So I have come up with a logic to find out the rising ADX. This could be used to determine the trending moves from the start.

Buy signal:
When close is greater than moving average 1 and 2. This moving average can be SMA, EMA, WMA or HMA.
When ADX is greater than the threshold range. I have taken 10 as my minimum range.
Of course important of all ADX should be rising which implies trend is about to start.

Buy exit:
When close is less than moving average 1 and 2. This moving average can be SMA, EMA, WMA or HMA.
When ADX is lesser than the threshold range. I have taken 10 as my minimum range.
ADX falling which implies trend is about to end.

Sell signal:
I don't repeat the above logic again.
Everything similar to buy signal except above moving average. For selling it should be below moving average.

Strategy can be tested for long and short sides.

Note: No Repainting as the logic is very simple.

Using this script we can identify the best timeframe the script trend yields profit.

Test and provide your comments.
ADXOscillatorsTrend Analysis

Açık kaynak kodlu komut dosyası

Gerçek TradingView ruhuna uygun olarak, bu komut dosyasının yazarı komut dosyasını açık kaynak olarak yayınlamıştır, böylece yatırımcılar betiği anlayabilir ve doğrulayabilir. Yazar çok yaşa! Ücretsiz olarak kullanabilirsiniz, ancak bu kodun yayında yeniden kullanımı Ev kurallarına tabidir. Bir grafikte kullanmak için favorilere ekleyebilirsiniz.

Bu komut dosyasını bir grafikte kullanmak ister misiniz?

Feragatname