M1:=18;N:=3; MA2:=MA(C,M1); MAVOL18:=MA(V,M1); 价向上:=IF(COUNT(MA2>=REF(MA2,1),N)=n,1,0); 量向上:=IF(COUNT(MAVOL18>=REF(MAVOL18,1),N)=n,1,0); 价向下:=IF(COUNT(MA2<REF(MA2,1),N)=n,1,0); 量向下:=IF(COUNT(MAVOL18<REF(MAVOL18,1),N)=n,1,0); 多头:IF((价向上+量向上)>1,1,0); 空头:IF((价向下+量向下)>1,1,0); 价下1:IF((量向上+价向下)>1,1,0); 量下2:IF((量向下+价向上)>1,1,0);
移动端首页 | PC端
© by gszx.com.cn Mobile Web
M1:=18;N:=3;
MA2:=MA(C,M1);
MAVOL18:=MA(V,M1);
价向上:=IF(COUNT(MA2>=REF(MA2,1),N)=n,1,0);
量向上:=IF(COUNT(MAVOL18>=REF(MAVOL18,1),N)=n,1,0);
价向下:=IF(COUNT(MA2<REF(MA2,1),N)=n,1,0);
量向下:=IF(COUNT(MAVOL18<REF(MAVOL18,1),N)=n,1,0);
多头:IF((价向上+量向上)>1,1,0);
空头:IF((价向下+量向下)>1,1,0);
价下1:IF((量向上+价向下)>1,1,0);
量下2:IF((量向下+价向上)>1,1,0);