By the way, indicator SQ_Barrange don't show in trade on chart, ATR in chart is SQ_ATR(22)[2] in code?After my calculation, the ATR value on the chart is inconsistent with the calculated value of the ATR(22)[2] in the code.I guess that's where the problem occur(SQ_BarRange[1]<(SQ_ATR(22)[2] * 0.4));
The place marked in red cannot be dragged , so cannot be seen indicator clearly.
Attachment data from 20220101.jpg added
Attachment data from 20220104.jpg added
By the way, from January 1 to January 3 every year, which is a holiday, there is no data. So please reopen the task