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)))/50;}
风向标:MA((((((IF(A5,114.286,0) + IF(A6,114.286,0)) + IF(A7,114.286,0)) + IF(A8,114.286,0)) + IF(A9,114.286,0)) + IF(A11,114.286,0))/6,3.5),LINETHICK2,coloryellow;
;
{VARR:=REF(CLOSE,1);强弱方向:=SMA(MAX(CLOSE-VARR,0),5,1)/SMA(ABS(CLOSE-VARR),5,1)*100,COLORYELLOW;}
80, POINTDOT,COLORYELLOW,LINETHICK3;
70, POINTDOT,COLORWHITE,LINETHICK3;
20, POINTDOT,COLORGREEN,LINETHICK3;
10, POINTDOT,colorred,LINETHICK3;
航向: MA(3*SMA((CLOSE-LLV(LOW,27))/(HHV(HIGH,27)-LLV(LOW,27))*100,3,1)-2*SMA((CLOSE-LLV(LOW,27))/(HHV(HIGH,27)-LLV(LOW,27))*100,3,1),3),LINETHICK2,colorred;
选股一帆风顺:IF(风向标<35 AND 航向<35 AND CROSS(风向标,航向),60,0);