{月式战法}短线成本:EMA(CLOSE,17),LINETHICK2,COLORWHITE;A:=(3*C+L+O+H)/6;X:=(20*A+19*REF(A,1)+18*REF(A,2)+17*REF(A,3)+16*REF(A,4)+15*REF(A,5)+ 14*REF(A,6)+13*REF(A,7)+12*REF(A,8)+11*REF(A,9)+10*REF(A,10)+9*REF(A,11)+8*REF(A,12) +7*REF(A,13)+6*REF(A,14)+5*REF(A,15)+4*REF(A,16)+3*REF(A,17)+2*REF(A,18)+ REF(A,20))/210;中线成本:EMA(X,13),LINETHICK2,COLORFF00FF;KKA:=EMA(C,5);KKB:=EMA(KKA,8);KKC:=EMA(KKB,13);长线成本:EMA(KKC,50),LINETHICK2, COLORGREEN;AA:=CLOSE/REF(CLOSE,1)>=1.09;操盘线A:=(C/中线成本)*100-100;行情线:=EMA(A,1);STICKLINE(行情线< 中线成本,H,L,0,1),COLORGREEN;STICKLINE(行情线< 中线成本,C,O,2,1),COLORGREEN;STICKLINE(行情线>=中线成本,H,L,0,1),COLORRED;STICKLINE(行情线>=中线成本,C,O,2,1),COLORRED;STICKLINE(AA,OPEN,CLOSE,2,0),COLORYELLOW;AAA:=(3*C+L+O+H)/6;C2:=EMA(AAA,6);C3:=EMA(AAA,5);KX:=CROSS(C2,C3);DRAWTEXT(KX,L,'--------------------'),COLORWHITE;短线快抢:=KX;DRAWTEXT(REF(短线快抢,1) AND C>REF(L,1),H*1.01,'①'),COLORYELLOW;XXX:=IF(EXIST(REF(短线快抢,1) AND C>REF(L,1),5),1,0);DRAWTEXT(REF(短线快抢,2) AND C>REF(L,1) AND REF(REF(短线快抢,1) AND C>REF(L,1),1),H*1.01,'②'),COLORYELLOW;DRAWTEXT(REF(短线快抢,3) AND C>REF(L,2) AND REF(REF(短线快抢,2) AND C>REF(L,1),1) AND XXX,H*1.01,'③'),COLORYELLOW;DRAWTEXT(REF(短线快抢,4) AND C>REF(L,3) AND REF(REF(短线快抢,3) AND C>REF(L,2) AND REF(REF(短线快抢,2) AND C>REF(L,1),1),1) AND XXX,H*1.01,'④'),COLORYELLOW;DRAWTEXT(REF(短线快抢,5) AND C>REF(L,4) AND REF(REF(短线快抢,4) AND C>REF(L,3) AND REF(REF(短线快抢,3) AND C>REF(L,2) AND REF(REF(短线快抢,2) AND C>REF(L,1),1),1),1) AND XXX,H*1.01,'⑤'),COLORYELLOW;