以下是优化精灵指标源码和截图
优化短线精灵指标源码:
a1:=c/ref(c,1);
a2:=(capital/100)/10000;
a3:=(a1-1)*100;
a4:=a2 =8.5;
a5:=(SUM(a3,6))
a6:=(DYNAINFO(9)*100)/CAPITAL;
a7:=(BARSSINCE(VOL)+1)=1;
a8:=BARSLAST(a7);
a9:=IF(a7,(((SUM(VOL,0))/DYNAINFO(38))*240),(REF((((SUM(VOL,0))/DYNAINFO(38))*240),a8)));
a10:=(STRFIND(STKNAME,'ST',1))
a11:=(STRFIND(STKNAME,'S',1))
a12:=DYNAINFO(4)=0;
a13:=(NOT(a10)ANDNOT(a11))ANDNOT(a12);
:(((((((BETWEEN(a3,1,4.5))AND(REF(a5,1)))AND((COUNT((BETWEEN((REF(a3,1)),-10,4.5)),6))=6))ANDa4)AND(a6 =0.055))AND(a9 2.5))AND(CURRENTTIME 93001))ANDa13;
{集合抓牛}
{9点31之前}
a1:=(capital/100)/10000;
a2:=ref(c,1);
a3:=VOL/(MA((REF(VOL,1)),5));
a4:=INDEXV/(MA((REF(INDEXV,1)),5));
a5:=a1
a6:=a3/a4;
a7:=OPEN/a2;
a8:=ATAN(((((EMA(CLOSE,7))/(REF((EMA(CLOSE,7)),1)))-1)*100))*57.3;
a9:=ATAN(((((EMA(CLOSE,13))/(REF((EMA(CLOSE,13)),1)))-1)*100))*57.3;
a10:=ATAN(((((EMA(CLOSE,34))/(REF((EMA(CLOSE,34)),1)))-1)*100))*57.3;
a11:=(STRFIND(STKNAME,'ST',1))
a12:=(STRFIND(STKNAME,'S',1))
a13:=DYNAINFO(4)=0;
a14:=(NOT(a11)ANDNOT(a13))ANDNOT(a12);
(((((((a5AND(a8 53))AND(a9 35.56))AND(a10 19))AND(a6 2.25))AND(a7 1.05))ANDa14)AND(a7 1))AND(CURRENTTIME 93001);
A:=(C-LLV(LOW,18))/(HHV(HIGH,18)-LLV(LOW,18))*100;
B:=SMA(A,11,8);
F:=(CLOSE-MA(CLOSE,10))/MA(CLOSE,10)*10;
A1:=LLV(L,5);
A2:=HHV(H,22);
F1:=EMA((CLOSE-A1)/(A2-A1)*4,4);
F2:=REF(F1,1);
选股:B =REF(B,1)AND
(REF(DOWNNDAY(CLOSE,1),1)ANDC =REF(C,1)ANDF =REF(F,1))AND
F1 =F2ANDCLOSE/REF(CLOSE,1) 1.035
ANDDYNAINFO(37) 0.03COLORMAGENTA;
优化短线精灵指标截图