A4:=MA(CLOSE,20);A5:=(CLOSE>MA(CLOSE,5));A6:=(MA(CLOSE,5)>MA(CLOSE,10));
A7:=(CLOSE>MA(CLOSE,10));
A8:=(MA(CLOSE,5)>MA(CLOSE,20));A9:=(CLOSE>MA(CLOSE,20));
A10:=REF(A4,1);A11:=(A4> A10);AVX:=(((((IF(A5,10,(0 - 10)) + IF(A6,10,(0 - 10))) + IF(A7,10,(0 -10))) + IF(A8,10,(0 - 10))) + IF(A9,10,(0 - 10))) + IF(A11,10,(0 -10)));
AVX零轴:=-55;
DJ:=CROSS(AVX,-55) ;
TT:=BARSLAST(DJ);
XG:CROSS(AVX,-55) AND COUNT(DJ,40)=1 AND TT<=40 ;