Please help. I've tried numerous times to correctly add Round in line 5 "def down" of my script but wasn't successful. : -( :-(
#Expected 1Day Move (√252 = 15.87)
def iv = Round(close() * (imp_volatility() / 15.87), 2);
AddLabel(yes, Concat("EM: ", iv), Color.dark_orange);
def up = Round(close() * (imp_volatility() / 15.87), 2) + close;
AddLabel(yes, Concat("", up), Color.DARK_GREEN);
def down = close - (close() * (imp_volatility() / 15.87));
AddLabel(yes, Concat("", down), Color.RED);
#Expected 1Day Move (√252 = 15.87)
def iv = Round(close() * (imp_volatility() / 15.87), 2);
AddLabel(yes, Concat("EM: ", iv), Color.dark_orange);
def up = Round(close() * (imp_volatility() / 15.87), 2) + close;
AddLabel(yes, Concat("", up), Color.DARK_GREEN);
def down = close - (close() * (imp_volatility() / 15.87));
AddLabel(yes, Concat("", down), Color.RED);