通达信顺势双龙指标公式
2020/5/20 18:46:48
此指标为变异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,POINTDOT;
DK:(EMA(MK,8)+EMA(MK,14))/2,COLORYELLOW,POINTDOT;
DRAWBAND(MK,RGB(255,96,96),DK,RGB(0,224,224)),COLORBROWN;
CCI:-(BC-MA(BC,56))/(0.06*AVEDEV(BC,56)),COLORRED;
辅助线:(EMA(CCI,8)+EMA(CCI,14))/2,COLORGREEN;
DRAWBAND(CCI,RGB(0,224,224),辅助线,RGB(255,96,96)),COLORBLUE;
投股 票网 www.tou18 .cn
股市公式下载推荐