编写要求:
www.gszx.com.cn网解答:
网友求助:
TYP := (IF(ISNULL(HIGH),CLOSE,HIGH) + IF(ISNULL(LOW),CLOSE,LOW) + CLOSE)/3;
游侠CCI:EMA((TYP-MA(TYP,36.0270012))/(0.015*AVEDEV(TYP,36.0270012)),2.0332,1),colorwhite;
STICKLINE(游侠CCI<-150,游侠CCI,-150,10,0),COLOR0000BB;
STICKLINE(C>0,-150,-151,6,0),colorblue;
解答如下:
N:=36.0270012;
TYP:=(HIGH+LOW+CLOSE)/3;
游侠CCI:EMA((TYP-MA(TYP,N))/(0.015*AVEDEV(TYP,N)),2.0332);
STICKLINE(游侠CCI<-150,游侠CCI,-150,10,0),COLOR0000BB;
STICKLINE(C>0,-150,-151,6,0),COLORBLUE;