VAR1:=(REF(CLOSE,0)-REF(OPEN,0))>0;
VAR2:=(REF(CLOSE,1)-REF(OPEN,1))>0;
VAR3:=(REF(CLOSE,2)-REF(OPEN,2))<0;
VAR20:=(REF(CLOSE,0)-REF(OPEN,6))>0;
VAR4:=(REF(CLOSE,3)-REF(OPEN,3))<0;
VAR5:=(REF(VOL,0)-REF(VOL,1))<0;
VAR6:=(REF(VOL,1)-REF(VOL,2))<0;
VAR7:=((REF(VOL,2)-REF(VOL,3)))<0;
VAR8:=(REF(VOL,3)-REF(VOL,4))<0;
VAR9:=(REF(VOL,4)/CAPITAL)>0.01;
VAR10:=REF(CLOSE,4)/REF(OPEN,4);
VAR11:=(REF(HIGH,4)-REF(CLOSE,4))/REF(CLOSE,4);
VAR12:=(REF(CLOSE,4)-REF(LOW,4))/REF(CLOSE,4);
VAR13:=VAR10>0.03 {AND VAR10<0.09};
VAR14:=VAR11>0.01{ AND VAR11<0.08};
VAR15:=VAR12>0.01{ AND VAR12<0.08};
VAR1 AND VAR2 and VAR3 AND VAR4 AND VAR5 and VAR6 AND VAR7 and VAR8 and VAR9 and VAR13 AND VAR14 and VAR15 {AND VAR20};
drawtextabs(8,10,'选出近期强股'),coloryellow;
{www.gUPaNg.com 股旁网_最新股票指标公式}
DIF:=EMA(CLOSE,12)-EMA(CLOSE,26);
DEA:=EMA(DIF,9);
诱空者杀:REF(CROSS(DEA,DIF),1) AND CROSS(DIF,DEA);
ZS:=(INDEXC-REF(INDEXC,1))/REF(INDEXC,1);
GG:=(C-REF(C,1))/REF(C,1);
ZSL:=(INDEXV-REF(INDEXV,1))/REF(INDEXV,1);
GGL:=(V-REF(V,1))/REF(V,1);
Z:=(ZS-GG)*10;
Q:=(ZSL-GGL);
Z>6.38 AND Q<3;
202108211238.jpg
|