通道公式
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(CLOSE
STICKLINE((CLOSE
STICKLINE((CLOSE
STICKLINE(CLOSE>N AND N VAR1:=(C+H+O+L)/4; 高抛线:卖出,COLORGREEN,LINETHICK4;
STICKLINE(CLOSE
STICKLINE((CLOSE
STICKLINE((CLOSE>N AND N
卖出:=XMA(VAR1,20)*(1+80/1000);
买入:=XMA(VAR1,32)*(1-100/1000);
{买:CROSS(买入,LOW),NODRAW;
卖:CROSS(HIGH,卖出),NODRAW;}
低吸线:买入,COLORMAGENTA,LINETHICK4;
风险:100*(L-买入)/买入,NODRAW;
幅度:100*(卖出-买入)/买入,NODRAW;
MA1:=MA(VAR1,3);
STICKLINE(卖出>LOW AND 卖出
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(C
芙蓉出水:=BB1 AND CCC;
DRAWICON(芙蓉出水,L-0.10,9);
DRAWICON(CROSS(低吸线,MA55),低吸线,9);
DRAWICON(CROSS(高抛线,MA55),高抛线,9);
DRAWICON(CROSS(低吸线,MA34),低吸线,6);