N:=6;
VAR0:=(2*CLOSE+HIGH+LOW)/4;
VAR1:=MA(VAR0,N);
VAR2:=VAR1-MA(VAR0,N/2)<0;
VAR3:=VAR1-MA(VAR0,N/2)>0;
VAR4:=BArslAST(VAR2);
VAR5:=0-BARSLAST(VAR3);
AJX:=IF(VAR2<=0,VAR4,VAR5);
正买负卖:-1*AJX,volSTICK;
强弱分界:0;
N:=6;
VAR0:=(2*CLOSE+HIGH+LOW)/4;
VAR1:=MA(VAR0,N);
VAR2:=VAR1-MA(VAR0,N/2)<0;
VAR3:=VAR1-MA(VAR0,N/2)>0;
VAR4:=BArslAST(VAR2);
VAR5:=0-BARSLAST(VAR3);
AJX:=IF(VAR2<=0,VAR4,VAR5);
正买负卖:-1*AJX,volSTICK;
强弱分界:0;