九毛八公式指标
TYP:=(HIGH+LOW+CLOSE)/3; CCI:(TYP-MA(TYP,14))/(0.015*AVEDEV(TYP,14)); STICKLINE(C>0,90,95,10,0),COLOR408000; STICKLINE(C>0,10,5,10,0),COLOR408000; HDY:=EMA (100*(C-LLV(LOW,34))/(HHV(H,34)-LLV(LOW,34)),3); DRAWBAND(HDY,RGB(255,000,139),10,RGB(255,255,71)); STICKLINE(C>0,90,10,10,0),COLOR000000; 风险值:HDY,COLORCYAN,LINETHICK1 ============================= 这个CCI指标怎么和风警线放在一起不压缩啊
公式模块:
STICKLINE(C>0,90,95,10,0),COLOR408000; STICKLINE(C>0,10,5,10,0),COLOR408000; HDY:=EMA (100*(C-LLV(LOW,34))/(HHV(H,34)-LLV(LOW,34)),3); DRAWBAND(HDY,RGB(255,000,139),10,RGB(255,255,71)); STICKLINE(C>0,90,10,10,0),COLOR000000; 风险值:HDY,colorcyan,LINETHICK1; TYP:=(HIGH+LOW+CLOSE)/3; cci:=(TYP-MA(TYP,14))/(0.015*AVEDEV(TYP,14)); AA1:=CONST(HHV(HDY,140));AA2:=CONST(LLV(HDY,140)); BB1:=CONST(HHV(CCI,140));BB2:=CONST(LLV(CCI,140)); CI:(CCI-BB2)/(BB1-BB2)*(AA1-AA2)+AA2,COLORFFFFFF;