源码
主线:(MA(CLOSE,6)+MA(CLOSE,12)+MA(CLOSE,24)+MA(CLOSE,36))/4,LINETHICK2,colormagenta;
MA5:= EMA(CLOSE,5);
MA20:=MA(CLOSE,20);
STICKLINE(MA5>MA(CLOSE,20),MA5,主线,1,0),LINETHICK2 ,coloryellow;
STICKLINE(MA5
ma60:ma(close,60)colorcyan;
ma90:=ema(close,90);
ma120:ema(close,120)colorred;
stickline(c>=o,c,o,8,0),COLOR0055AA;
stickline(c>=o,c,o,3,0),COLOR0077CC;
stickline(c>=o,o,l,1,0),COLOR00BBFF;
stickline(c>=o,c,h,1,0),COLOR00BBFF;
stickline(c<=o,c,o,8,0),COLOR006600;
stickline(c<=o,c,o,3,0),COLOR009900;
stickline(c<=o,h,l,1,0),COLOR00EE00;
C1:=EMA(INDEXC,500)/EMA(C,500);
D1:=INDEXO/C1; D2:=INDEXH/C1;
D3:=INDEXL/C1; D4:=INDEXC/C1;
上证K线:STICKLINE(D4>=REF(D4,1),D3,D2,0,0),COLORmagenta;
STICKLINE(D4>=REF(D4,1),D4,D1,5,0),COLORmagenta;
STICKLINE(D4< REF(D4,1),D3,D2,0,0),COLORcyan;
STICKLINE(D4< REF(D4,1),D4,D1,5,0),COLORcyan;