I have a question about countIf function whether i wirte it the right way.
for my short conditions i want to make sure that previous 20 bars i do not have slow PSAR rising for 20 bars. (Slow is red pluses) It still took a short even though there was more then 20 bars with rising slow PSAR. Do i have it right?
&& (CountIf(() => slow[3] > slow[4], 20) < 20)
Comment