主控系数副图指标通达信指标 副图 源码 测试图

DDKP:=EMA((WINNER(CLOSE) * 70),3);
WWKP:=EMA(((WINNER((CLOSE * 1.1)) - WINNER((CLOSE * 0.9))) * 80),3);
主控系数:((DDKP / (DDKP + WWKP)) * 100),LINETHICK2,COLORYELLOW;
顶:90, LINETHICK2 ,COLORRED;
风险:80,,COLORYELLOW; 平衡:50,COLORGREEN;
安全:20,COLORBLUE;
底:0, LINETHICK2 ,COLORWHITE;
DRAWTEXT(CROSS(主控系数,20),安全,'买'),COLORYELLOW;
DRAWTEXT(CROSS(主控系数,50),平衡,'买入'),COLORRED;