先狠心和谐,公布源码:
{波段金牛}
QQ:=IF((HHV(ABS(((HHV(CLOSE,6)/LLV(CLOSE,6))-1)),6)>(10/100)),3,6);
QQ1:=IF((MINUTE=5),(QQ*48),IF((MINUTE=15),(QQ*16),IF((MINUTE=30),(QQ*8),IF((MINUTE=60),(QQ*4),QQ))));
QQ2:=IF( VOL=0,MA(CLOSE,QQ1),((SUM(AMOUNT,QQ1)/SUM(VOL,QQ1))/100));
QQ3:=(CLOSE-LLV(LOW,9))/(HHV(HIGH,9)-LLV(LOW,9))*100;
QQ4:=3*EMA(QQ3,30)-2*EMA(EMA(QQ3,30),30);
QQ5:=EMA(QQ4,5)<10 AND REF(C>O,1) AND H/C<1.01 AND REF(C QQ6:=REF(C QQ7:=C>O AND C/REF(C,1)>1.03 AND REF(C QQ8:=CROSS(CLOSE,REF(QQ2,1)) AND QQ5 AND C/REF(C,1)>1.03; QQ9:=REF(EVERY(OPEN>CLOSE,3),1) AND C>MA(C,5) AND C>MA(C,10) AND REF(O/C>1.05,1); QQ10:=C>MA(C,20) AND REF(C (QQ6 AND QQ7) OR QQ8 OR (QQ9 AND QQ10) ;