OPEN-SOURCE SCRIPT

Simple Moving Average + ADX + DMI + Time Range Test

snapshot

Use long and short moving average to look for a potential price in/out. (default as 14 and 7, bases on the history experience)
ADX and DMI to prevent the small volatility and tangling MA.

This script allows you to set the beginning & end time to test the bullish & bearish market.
If you want an indicator version, here is it.
MA+ADX+DMI


Thanks.


ADXAverage Directional Index (ADX)BTCCryptocurrencyDirectional Movement Index (DMI)DMIMoving Averagesstrategy

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 publication is governed by House rules. You can favorite it to use it on a chart.

Want to use this script on a chart?

Disclaimer