Question: the price (close or low) of the trough from the last bar?

S

Script88

New member
I use the following thinkscript to define a trough as a low point lower than the 4 lows on either side

def trough = low < lowest(low[1], 4) and low < lowest(low[-4], 4);

I need to get the price (close or low) of the trough from the last bar. Could you help me with a thinkscript?

Thanks!
 

Similar threads

Top