DEFPARAM DrawOnLastBarOnly = True
adxP = 14
rsiP = 14
atrP = 14
myADX = ADX[adxP]
myATR = AverageTrueRange[atrP](close)
myRSI = Rsi[rsiP](close)
//--------------------------------------------------------------------------------------------------------------------
drawrectangle(-120,0,-10,-20) anchor(TopRight) coloured("Yellow",20) bordercolor("Green") style(line,2)
drawtext ("RSI(#rsiP#) #myRSI#", -66 ,-10, Dialog, Bold, 11) anchor(TopRight) coloured("Red")
//
drawrectangle(-120,-20,-10,-40) anchor(TopRight) coloured("Yellow",20) bordercolor("Green") style(line,2)
drawtext ("ATR(#atrP#) #myATR#", -68 ,-30, Dialog, Bold, 11) anchor(TopRight) coloured("Red")
//
drawrectangle(-120,-40,-10,-60) anchor(TopRight) coloured("Yellow",20) bordercolor("Green") style(line,2)
drawtext ("ADX(#adxP#) #myADX#", -69 ,-50, Dialog, Bold, 11) anchor(TopRight) coloured("Red")
return