Hello,
Looking to plot 52 week high and 52 week low once and not dynamically update (recalculate) with each tick.
Looking to plot 52 week high and 52 week low once and not dynamically update (recalculate) with each tick.
Code:
def Start;
def Finish;
if (GetUnderlyingSymbol() == GetSymbol())
{
Start = Highest(high, 252);
Finish = Lowest(low, 252);
}
else
{
Start = Double.NaN;
Finish = Double.NaN;
}