此指标为变异CCI与变异KD的组合.因为不知道通达信画区间彩带函数,贴出飞狐源码并且在指标后面对彩带函数作了注明
源码
STICKLINE(C>0,100,100,6,0),COLORBLUE;
STICKLINE(C>0,50,50,6,0),COLORMAGENTA;
STICKLINE(C>0,0,0,6,0),COLORYELLOW;
STICKLINE(C>0,-50,-50,6,0),COLORFF0080;
STICKLINE(C>0,-100,-100,6,0),COLOR00bb00;
bc:=(HIGH + LOW + CLOSE)/3;
DL:=(CLOSE-LLV(LOW,56))/(HHV(HIGH,56)-LLV(LOW,56))*200-100;
MK:sMA(DL,3,1),COLORWHITE;
DK:(ema(MK,8)+ema(MK,14))/2,COLORYELLOW;
FILLRGN(MK>=DK,MK,DK),COLORBROWN;{画区间彩带}
FILLRGN(MK
辅助线:(ema(cci,8)+ema(cci,14))/2,COLORGREEN;
FILLRGN(cci>=辅助线,cci,辅助线),COLORBLUE;{画区间彩带}
FILLRGN(cci<辅助线,cci,辅助线),COLORMAGENTA;{画区间彩带}