在20天内有一个阳包阴(阴k线要求五个点以上,阳k线要求收盘价大于阴线的开盘价),今天的股价距离 阳包阴的 阴k线的 均价线上方0到一个点的距离
当天在20天之内
A:=CURRBARSCOUNT;
A1:=DAY!=REF(DAY,1);
A2:=BARSLAST(A1)+1;
A3:=MA(C,A2);
A4:=SUM(AMO,A2)/SUM(VOL,A2)/100;
A5:=IF(CAPITAL>0,A4,A3);
现价:=IF(A<=CONST(A2),CLOSE,DRAWNULL);
均价:=IF(A<=CONST(A2),A5,DRAWNULL);
前收盘:=IF(A<=CONST(A2),DYNAINFO(3),DRAWNULL),COLORRED,LINETHICK2; B:=C/REF(C,1)>1.05 AND C>REF(O,1);
T:=BARSLAST(B);
COUNT(B,20)=1 AND RANGE(C/REF(均价,T+1),1,1.01);
当天在20天之外
A:=CURRBARSCOUNT;
A1:=DAY!=REF(DAY,1);
A2:=BARSLAST(A1)+1;
A3:=MA(C,A2);
A4:=SUM(AMO,A2)/SUM(VOL,A2)/100;
A5:=IF(CAPITAL>0,A4,A3);
现价:=IF(A<=CONST(A2),CLOSE,DRAWNULL);
均价:=IF(A<=CONST(A2),A5,DRAWNULL);
前收盘:=IF(A<=CONST(A2),DYNAINFO(3),DRAWNULL),COLORRED,LINETHICK2; B:=C/REF(C,1)>1.05 AND C>REF(O,1);
T:=BARSLAST(B); REF(COUNT(A,20)=1,1) AND RANGE(C/REF(均价,T+1),1,1.01);
|