短线两天15%源码
VAR1:=SUM(IF(CLOSE REF(CLOSE,1),VOL,IF(CLOSE REF(CLOSE,1),0-VOL,0)),0);
VAR2:=SUMBARS(VOL,CAPITAL);
VAR3:=IF(CLOSE LLV(CLOSE,VAR2),1,0-1)*IF(VAR1 LLV(VAR1,VAR2),1,0-1);
VAR4:=COUNT(IF(VAR3=0-1,1,0)=1,8)
VAR5:=(CLOSE-DMA((3*HIGH+LOW+OPEN+2*CLOSE)/7,VOL/SUM(AMOUNT,13)/AMOUNT/VOL/100/100))/DMA((3*HIGH+LOW+OPEN+2*CLOSE)/7,VOL/SUM(AMOUNT,13)/AMOUNT/VOL/100/100)*100 0-18;
VAR6:=(CLOSE-MIN(REF(CLOSE,5)*0.865,REF(CLOSE,21)*0.772))/CLOSE 0.009;
VAR7:=VAR4 AND VAR5 AND VAR6;
VAR8:=OPEN EMA(CLOSE,5) AND CLOSE=HIGH AND CLOSE/OPEN =1.105 AND VOL/CAPITAL =0.019 AND VOL/CAPITAL =0.2;
VAR9:=VAR8 AND COUNT(VAR8,5)=1;
VAR10:=MA(CLOSE,3) REF(MA(CLOSE,3),1) AND MA(CLOSE,5) REF(MA(CLOSE,5),1) AND MA(CLOSE,10) REF(MA(CLOSE,10),1) AND VOL/240 REF(VOL,30)*1.2/240*1.5 AND CLOSE LOW*1.059 AND CLOSE REF(MA(CLOSE,3),1) AND REF(CLOSE,1) AND MA(CLOSE,5) REF(MA(CLOSE,5),1) AND MA(CLOSE,10) REF(MA(CLOSE,10),1) AND MA(CLOSE,20) REF(MA(CLOSE,20),1) AND MA(VOL,5) REF(MA(VOL,5),1) AND MA(CLOSE,5)-MA(CLOSE,10) =0.579;
VAR11:=FILTER(VAR10,5);
选股:VAR7 OR VAR8 AND VAR11,STICK,COLORYELLOW;
STICKLINE(CLOSE =OPEN,0,选股,2.8,0),COLORRED;
STICKLINE(CLOSE =OPEN,0,选股,2,0),COLORYELLOW;
STICKLINE(CLOSE =OPEN,0,选股,1.2,0),COLORMAGENTA;
DRAWTEXT(选股,0.9,1),COLORYELLOW;
DRAWTEXT(选股,0.7,2),COLORLIMAGENTA;
DRAWTEXT(选股,0.5,3),COLORYELLOW;
DRAWTEXT(选股,0.3,4),COLORMAGENTA;