{主力趋势}
OK:=EMA(O,60);
CG:=EMA(C,60);
PDU:=IF(OK>REF(OK,1) AND CG>REF(CG,1),1,0);
Z1:=MA(C,13); ZX:=REF(Z1,13/2+1);
LIFE:=(EMA(C,60)+EMA(C,90))/2;
VAR1:=(2*C+H+L)/4;
SNOOK:=EMA(VAR1,99)*0.91;
A1:=(C-REF(C,1))/REF(C,1)*100;
MA5:=BARSLAST(A1>3); MA20:=IF(MA5>0,1,0);
BY34:=MA(C,5);
招财猫:MA(C,34),LINETHICK2,COLORYELLOW;
变易鼠:IF(BY34>招财猫,招财猫,BY34),COLORRED,LINETHICK2;
DRAWTEXT(((CLOSE / REF(CLOSE,1)) >= 1.095),(HIGH * 1.04),' 板'),LINETHICK2,COLOR00FFFF;
75900141.jpg
选股公式:
OK:=EMA(O,60);
CG:=EMA(C,60);
PDU:=IF(OK>REF(OK,1) AND CG>REF(CG,1),1,0);
Z1:=MA(C,13); ZX:=REF(Z1,13/2+1);
LIFE:=(EMA(C,60)+EMA(C,90))/2;
VAR1:=(2*C+H+L)/4;
SNOOK:=EMA(VAR1,99)*0.91;
A1:=(C-REF(C,1))/REF(C,1)*100;
MA5:=BARSLAST(A1>3); MA20:=IF(MA5>0,1,0);
BY34:=MA(C,5);
招财猫:=MA(C,34),LINETHICK2,COLORYELLOW;
变易鼠:=IF(BY34>招财猫,招财猫,BY34),COLORRED,LINETHICK2;
CROSS(C,招财猫); |