通达信秦式大势分析副图指标源码

A4:=MA(C,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);
大盘趋势:(((((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))),COLORRED,LINETHICK2;
零轴:0;