ADX has worked well with me and made $ today. Trend is my friend and ADX sure allows you to ride them longer. Sharing a watchlist column that may help you with your trading. Enjoy and let me know how it works for you. Good luck! @cabe1332Just updated the code with params that work for my style. You can play around with the input to work best for you. Good luck! @cabe1332
# ADX Dynamic Watchlist Column
# cabe1332
# code start
input ADXLength = 6;
input ADXLower = 25;
input ADXMid = 40;
input ADXHigh = 75;
#input MALength = 10;
input MALength = 9;
def ADXlabel = reference ADX(ADXLength).ADX;
def MA = reference movAvgExponential(close,MALength);
plot data = round(ADXlabel,1);
data.assignValueColor(if data >= 20 then color.blue else color.red);
AssignBackgroundColor(
if ADXlabel < ADXLower then Color.CYAN else
if ADXlabel < ADXMid then Color.RED else
if (ADXlabel < ADXlabel[1]) then Color.YELLOW else
if ADXlabel > ADXlabel[1] and MA > MA[1] and ADXlabel < ADXHigh then Color.GREEN else
if ADXlabel > ADXlabel[1] and MA < MA[1] then Color.RED else
if ADXlabel > ADXHigh then Color.MAGENTA else Color.light_gray);
# code end
Last edited by a moderator: