以下是通達(dá)信三劍合一精選選股公式(無源碼的請(qǐng)下載附件導(dǎo)入) {公式名稱:三劍合一精選} Z:=MA(CLOSE,120); VAR3:=(MA(CLOSE,5)-Z)/Z; VAR4:=MA((CLOSE-LLV(LOW,10))/(HHV(HIGH,10)-LLV(LOW,10))*100,3); 波段進(jìn)場(chǎng):=IF(CLOSE>ZANDREF(VAR4,1)<30ANDVAR4>REF(VAR4,1)ANDREF(VAR4,1)<REF(VAR4,2),80,50); BDJC:=波段進(jìn)場(chǎng)=80; VAR1:=EMA(EMA(CLOSE,9),9); 控盤:=(VAR1-REF(VAR1,1))/REF(VAR1,1)*1000; A10:=CROSS(控盤,0); 開始控盤:=IF(A10,5,0); N:=IF(BARSCOUNT(CLOSE)>=45,45,BARSCOUNT(CLOSE)); W:=MA(CLOSE,N); 中線選股:=CLOSE>=WANDREF(CLOSE,1)<REF(W,1); N1:=IF(BARSCOUNT(CLOSE)>=10,10,BARSCOUNT(CLOSE)); W1:=MA(CLOSE,N1); 短線選股:=CLOSE>=W1ANDREF(CLOSE,1)<REF(W1,1); MRJX:=中線選股AND短線選股; XG:BDJCANDMRJXAND開始控盤; |
|