Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- // This source code is subject to the terms of the Mozilla Public License 2.0 at https://mozilla.org/MPL/2.0/
- // © Maurizio-Ciullo
- //@version=5
- indicator("Indicatore Adx")
- len = input.int(14, minval=1, title="DI Length")
- lensig = input.int(14, title="ADX Smoothing", minval=1, maxval=50)
- [_, _, adx] = ta.dmi(len, lensig)
- plot(adx, color=color.red, title="ADX")
- hline(25)
- cond = adx > 25
- bgcolor(cond ? color.silver : na)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement