九毛八公式指标
公式模块:
当日上市k线数:=BArslAST(IF(DATE>REF(DATE,1),20,0));
统计A:=COUNT(SLOPE(CLOSE,2)>0,239);
统计B:=COUNT(SLOPE(CLOSE,2)>0,当日上市K线数);
统计C:=COUNT(SLOPE(CLOSE,2)<0,当日上市K线数);
统计D:=COUNT(SLOPE(CLOSE,2)=0,当日上市K线数);
BA:=IF(SLOPE(CLOSE,2)>0,vol,0);
BB:=IF(SLOPE(CLOSE,2)<0,VOL,0);
BC:=IF(SLOPE(CLOSE,2)=0,VOL,0);
C1:=SUM(BA,当日上市K线数);
C2:=SUM(BB,当日上市K线数);
C3:=SUM(BC,当日上市K线数);
CC1:=SUM(BA,0);
CC2:=SUM(BB,0);
CC3:=SUM(BC,0);
CC:=CC1+CC2+CC3;
主动盘:=CC1/CC*100;
主力线:EMA(主动盘,21),LINETHICK2,coloryellow;