R5 :=EMA(CLOSE, 5 ) ,COLORWHITE,LINETHICK1;
R6 :=EMA(CLOSE, 6 ) ,COLORWHITE,LINETHICK1;
R7 :=EMA(CLOSE, 7 ) ,COLORWHITE,LINETHICK1;
R8 :=EMA(CLOSE, 8 ) ,COLORWHITE,LINETHICK1;
R9 :=EMA(CLOSE, 9 ) ,COLORWHITE,LINETHICK1;
R10 :EMA(CLOSE, 10 ) ,COLORWHITE,LINETHICK1;
R11 :=EMA(CLOSE, 11 ) ,COLORWHITE,LINETHICK1;
R12 :=EMA(CLOSE, 12 ) ,COLORWHITE,LINETHICK1;
R13 :=EMA(CLOSE,13 ) ,COLORWHITE,LINETHICK1;
R14 :=EMA(CLOSE,14 ) ,COLORWHITE,LINETHICK1;
R15:=EMA(CLOSE,15 ) ,COLORWHITE,LINETHICK1;
R16:=EMA(CLOSE,16 ) ,COLORWHITE,LINETHICK1;
R17:=EMA(CLOSE,17 ) ,COLORWHITE,LINETHICK1;
R18:=EMA(CLOSE,18 ) ,COLORWHITE,LINETHICK1;
R21:=EMA(CLOSE,21 ) ,COLORWHITE,LINETHICK1;
R25:=EMA(CLOSE,25 ) ,COLORWHITE,LINETHICK3;
R24:=EMA(CLOSE,24) ,COLORWHITE,LINETHICK1;
R60:=EMA(CLOSE,60) ,COLORWHITE,LINETHICK1;
R80:=EMA(CLOSE,GG1) ,COLORWHITE,LINETHICK1;
RX:=EMA(CLOSE,TT1) ,COLORWHITE,LINETHICK1;
上紫通道1:RX*1.04,COLORFF8080,LINETHICK5;
下紫通道:RX*0.97,COLORFF8080,LINETHICK5;
均线差值:=IF(R80 R60,R60-R80,R80-R60);
均线:=IF(R80 R60,R60,R80);{www.9m8.cn 九毛八公式指标网}
YY0:=R80+(R60-R80)*3,COLORWHITE,LINETHICK1;
STICKLINE(C O,O,C,3,0),COLORFF80FF;
STICKLINE(C O,MAX(C,O),H,0.1,0),COLOR4080FF;
STICKLINE(C O,L,MIN(C,O),0.1,0),COLOR4080FF;
大周期180均线:=EMA(CLOSE,MM1) ,COLORRED,LINETHICK2;
上红通道1:大周期180均线*1.25,COLORRED,LINETHICK5;{ }
下红通道:大周期180均线*0.90,COLORRED,LINETHICK5;
大周期600均线:=EMA(CLOSE,NN1) ,COLORYELLOW,LINETHICK6;