Forum: ThinkOrSwim
November 7th, 2019, 09:12 AM
|
Replies: 0
Views: 696
Help me to understand these couple lines of code
def low = chart < chart[1] and chart < chart[-1];
def high = chart > chart[1] and chart > chart[-1];
def lowcount = if low[1] then 1 else lowcount[1] + 1;
def highcount = if high[1] then 1 else...
|