以下是通达信精选买入加选股指标公式 源码和使用说明
通达信精选买入加选股指标公式 源码:
Y:=DYNAINFO(4)=0;
Z:=DYNAINFO(7)<30;
S:=IF(NAMELIKE(‘*’),0,1);
P:=IF(NAMELIKE(‘S’),0,1);
Q:=NOT(Y)ANDZANDSANDP;
S1:=C<REF(C,1);
S2:=MA(C,20)>REF(MA(C,20),1);
S3:=REF(CLOSE/OPEN>1.03,3);
S4:=EVERY(C<REF(C,1),3)ANDEVERY(MA(C,20)>REF(MA(C,20),1),3)ANDS3;
VA:=IF(CLOSE>REF(CLOSE,1),VOL,-VOL);
OBV:=SUM(IF(CLOSE=REF(CLOSE,1),0,VA),0)/100000;
MAOBV:=MA(OBV,30);
S5:=EVERY(OBV>MAOBV,10);
XF:S4ANDS5ANDQ;
W1:=C=HHV(C,20);
W2:=BArslAST(W1);
W3:=IF(W2>0,REF(C,W2),REF(C,W2));
W4:=crOSS(C,REF(W3,1));
XG:C/REF(C,1)<1.01ORREF(C,1)/C<1.01;
ZX:=(2*C+H+L)/4;
XG2:HHV(ZX,3)/LLV(ZX,3)<1.01ANDHHV(ZX,20)/LLV(ZX,20)<1.15;
趋势线:=3*SMA((CLOSE-LLV(LOW,27))/(HHV(HIGH,27)-LLV(LOW,27))*100,5,1)-2*Sma(SMA((CLOSE-LLV(LOW,27))/(HHV(HIGH,27)-LLV(LOW,27))*100,5,1),3,1);尝试买:=趋势线<=13;趋势线2:=4*SMA((C-LLV(L,5))/(HHV(H,5)-LLV(L,5))*100,5,1)-3*SMA(SMA((C-LLV(L,5))/(HHV(H,5)-LLV(L,5))*100,5,1),3.2,1);低进1:=CROSS(趋势线2,8)AND尝试买;超短买:低进1;
XG3:C/H>0.995ANDO/L>0.995ANDC/REF(C,1)<1.05;
AA:=MA(C,1)/MA(REF(C,18),18)*100;
BB:=MA(FORCAST(AA,20),6);
精选:(W4ANDCOUNT(W4,5)=1ANDC/REF(C,1)<1.04ANDCOUNT(XG,5)>3ANDREF(XG2,1)=1ANDXG3ANDCOUNT(AA>BB,5)>3)*100,COLORYELLOW,LINETHICK2;
{
选股公式:
W1:=C=HHV(C,20);
W2:=BARSLAST(W1);
W3:=IF(W2>0,REF(C,W2),REF(C,W2));
W4:=CROSS(C,REF(W3,1));
XG:C/REF(C,1)<1.01ORREF(C,1)/C<1.01;
ZX:=(2*C+H+L)/4;
XG2:HHV(ZX,3)/LLV(ZX,3)<1.01ANDHHV(ZX,20)/LLV(ZX,20)<1.15;
XG3:C/H>0.995ANDO/L>0.995ANDC/REF(C,1)<1.05;
AA:=MA(C,1)/MA(REF(C,18),18)*100;
BB:=MA(FORCAST(AA,20),6);
(W4ANDCOUNT(W4,5)=1ANDC/REF(C,1)<1.04ANDCOUNT(XG,5)>3ANDREF(XG2,1)=1ANDXG3ANDCOUNT(AA>BB,5)>3)*100,COLORYELLOW,LINETHICK2;
}
通达信精选买入加选股指标公式 截图
评论(0)