源码
{306、海融AVX }
input:N1 (5,1,100),N2(10,1,100),N3(20,1,100),N4(30,1,100 ),N5(40,1,100);
MC1:=MA(CLOSE,N1);
MC2:=MA(CLOSE,N2);
MC3:=MA(CLOSE,N3);
MC4:=MA(CLOSE,N4);
MC5:=MA(CLOSE,N5);
VC:=IF(CLOSE>=MC1,10,-10)+IF(CLOSE>=MC2,10,-10)+IF(CLOSE>=MC3,10,-10)+IF(MC1>=MC2,10,-10)+
IF(MC2>=MC3,10,-10);
SN:=IF(MC5>REF(MC5,1), 1, 0)*IF(MC4>REF(MC4,1), 1, 0);
A:=VC-(1-SN)*10;
AVX:IF(A<-50,-50,A);
30,POINTDOT,COLORRED;
-30,POINTDOT,COLORRED;
0,POINTDOT,COLOR00FF00;