请老师帮我改写这个附图出现钱袋时选股公式,谢谢!! N:=EMA(C,20); M:=EMA(C,60); STICKLINE(CLOSE>=0,H,L,0,0),COLORFFFF00; STICKLINE((CLOSE>=0 AND (C>=O)),O,C,3,1),COLORFFFF00; STICKLINE((CLOSE>=0 AND (C<=O)),O,C,3,0),COLORFFFF00; STICKLINE(CLOSE>N AND N>REF(N,1),H,L,0,0),COLOR0000A8; STICKLINE((CLOSE>N AND N>REF(N,1) AND (C>=O)),O,C,3,1),COLOR0000A8; STICKLINE((CLOSE>N AND N>REF(N,1) AND (C<=O)),O,C,3,0),COLOR0000A8; STICKLINE(CLOSEM,H,L,0,0),COLOR00A800; STICKLINE((CLOSEM AND (C>=O)),O,C,3,1),COLOR00A800; STICKLINE((CLOSEM AND (C<=O)),O,C,3,0),COLOR00A800; STICKLINE(CLOSE=O)),O,C,3,1),COLORA80000; STICKLINE((CLOSEN AND NN AND N=O)),O,C,3,1),COLOR54FCFC; STICKLINE((CLOSE>N AND NLOW AND 卖出LOW AND 卖出LOW AND 卖出MIN(C,O) AND 卖出MIN(C,O) AND 卖出MIN(C,O) AND 卖出LOW AND 卖出LOW AND 买入MIN(C,O) AND 买入LOW AND 买入HIGH,OPEN,CLOSE,1.5,0),COLORMAGENTA; STICKLINE(买入>HIGH,HIGH,LOW,0,0),COLORMAGENTA; DRAWICON(CROSS(买入,LOW),LOW*0.95,11); DRAWICON(CROSS(HIGH,卖出),HIGH*1.02,12); MA5:EMA(CLOSE,5),COLORWHITE; MA13:EMA(CLOSE,10),COLORFF00FF,LINETHICK2; MA34:EMA(CLOSE,20),COLORBLUE,LINETHICK2; MA55:EMA(CLOSE,60),COLORRED,LINETHICK3; MA120:EMA(CLOSE,120),CIRCLEDOT,COLORGREEN; MA250:EMA(CLOSE,250),CIRCLEDOT,COLOR0000FF; 月价托:=MA5>MA13 AND MA13>MA34 AND CROSS(MA5,MA13); 季价托:=MA13>MA55 AND MA5>MA13 AND MA34>MA120 AND CROSS(MA13,MA34); 短长价托:=MA5>MA250 AND MA13>MA34 AND MA34>MA55 AND CROSS(MA5,MA250); DRAWICON(月价托,L-0.10,5); DRAWICON(季价托,L-0.10,13); DRAWICON(短长价托,L-0.10,18); AAA:=BARSLAST(MA55>MA120 AND (MA34=MA55 OR MA34>MA55)); BB1:=REF(COUNT(CMA(VOL,5) AND (C-REF(C,1))/REF(C,1)*100>3; 芙蓉出水:=BB1 AND CCC; DRAWICON(芙蓉出水,L-0.10,9); DRAWICON(CROSS(低吸线,MA55),低吸线,9); DRAWICON(CROSS(高抛线,MA55),高抛线,9); DRAWICON(CROSS(低吸线,MA34),低吸线,6);
公式模块:
MA34:=EMA(CLOSE,20);
MA55:=EMA(CLOSE,60); MA120:=EMA(CLOSE,120); AAA:=BArslAST(MA55>MA120 AND (MA34=MA55 OR MA34>MA55)); BB1:=REF(COUNT(C<MA120,AAA)=AAA,1); CCC:=crOSS(C,MA120) AND vol>MA(VOL,5) AND (C-REF(C,1))/REF(C,1)*100>3; 芙蓉出水:BB1 AND CCC;