ADX and DMI oscillator with the keylevel coded in to the script, set for 23, suggested settings is 23 - 25 any trade with the ADX above the keylevel is a strong indicator that it is trending.
Directional Movement indicator implemented in Pine script. Use it to customize ADX behavior.
There is a nice writeup about a system that uses DMISTO here, which includes decent statistics: traderedge.net I have not yet done any back testing on the system as a whole myself, but thought the DMISTO was an interesting indicator, so ported it over for those who might want to play with it and create their own systems. I added dots that denote signals similar...
A modified DMI, This turns the standard DMI into an Oscillator. The DMI cross signal is the same, but as an OSC you get the added benefits or finding divergences, etc. The added WIlder's Average Line (blue) can help you see if a short term trend is getting less interesting.
An open source version of the DMI. Mostly published for other scripters to modify. Typical useage: www.investopedia.com