Forum: ThinkOrSwim
February 28th, 2021, 01:51 PM
|
Replies: 2
Views: 1,935
Try something like this...
def LastBar =...
Try something like this...
def LastBar = !IsNaN(open) and IsNaN(open[-1]);
plot ADR_H = if LastBar then ADR_high else Double.NaN;
plot ADR_L = if LastBar then ADR_low else Double.NaN;
|