直线拟合运用(源码、副图、贴图)介绍
直线拟合运用(源码、副图、贴图)
直线拟合是个动态的,通达信系统自带,不知道下面这个公式是淘来的,还是自己加工的,时间久了不记得了.最近翻出来觉得还有点用处,与大家分享.
用法介绍:
粉线表示低点,在每二天粉线不出了表示短底,可进.看后面出绿线的情况,出线第一次绿线不管它,直到某一天绿线不出了确定短顶就可出了.
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;
gd14453