jonshank62
New member
I use this code to help determine a stock's daily move and find it very accurate. It is most accurate when used in the context of a stock's move from high to low or vice versa, not necessarily from the open. Is there a good way to turn this into a study ?.
Code:
input ATRLength = 5;
def ATR = Round(AvgTrueRange(high, close, low, ATRLength), 2);
def iv = Round(close() * (imp_Volatility()/15.87), 3);
addLabel(yes,concat("ATR=", ATR), color.Blue);
addLabel(yes,concat("ExpM=", iv), color.Blue);
Last edited by a moderator: