通达信直线拟合多空指标公式:
CYC13:=0.01*EXPMA(AMOUNT,13)/EXPMA(VOL,13);
CYS:(CLOSE-CYC13)/CYC13*100;
平衡:0,POINTDOT;
10,POINTDOT;
-10,POINTDOT;
{A1:"ZXNH.ZXNH"*10;}
STICKLINE("ZXNH.ZXNH" AND CYS<0,0,CYS,0.1,0),COLORLIRED;
STICKLINE("ZXNH.ZXNH" AND CYS<-10,-10,CYS,0.1,0),COLORYELLOW;
STICKLINE("ZXNH.ZXNH" AND CYS<-15,-15,CYS,0.1,0),COLORMAGENTA;
STICKLINE("ZXNH.ZXNH" AND CYS<-20,-20,CYS,0.5,0),COLORRED;
STICKLINE("ZXNH.ZXNH" AND CYS>0,0,CYS,0.1,0),COLORLIGREEN;
STICKLINE("ZXNH.ZXNH" AND CYS>10,10,CYS,0.1,0),COLORCYAN;
STICKLINE("ZXNH.ZXNH" AND CYS>15,15,CYS,0.1,0),COLORBLUE;
STICKLINE("ZXNH.ZXNH" AND CYS>20,20,CYS,0.2,0),COLORGREEN;
通达信直线拟合多空指标公式