猫哥双均布林 通达信主图指标 源码 贴图
{公式名称: 猫哥双均布林}
MA1:EMA(CLOSE,8),COLORRED,LINETHICK3;
MA2:EMA(CLOSE,21),COLORGREEN,LINETHICK3;
生命线A1:EMA(CLOSE,144),COLORWHITE,LINETHICK2;
生命线A2:EMA(CLOSE,169),COLORYELLOW,LINETHICK2;
生命线B1:EMA(CLOSE,288),COLORC08080,LINETHICK2;
生命线B2:EMA(CLOSE,338),COLORFF0080,LINETHICK2;
控盘线:MA(CLOSE,1650),COLORRED,LINETHICK4;
UPPER1:MA(CLOSE,60)+2*STD(CLOSE,60),COLORCYAN;
LOWER1:MA(CLOSE,60)-2*STD(CLOSE,60),COLORCYAN;
UPPER2:MA(CLOSE,90)+2*STD(CLOSE,90),COLORC080FF;
LOWER2:MA(CLOSE,90)-2*STD(CLOSE,90),COLORC080FF;
VAR1:=REF(CLOSE,1);
{www.9m8.cn 九毛八公式指标网}
VAR2:=IF((CLOSE-VAR1)*100/VAR1 =10-0.01*100/VAR1,1,0);
VAR3:=AMOUNT/VOL/100;
STICKLINE(VAR2,OPEN,CLOSE,4,0),COLORBLACK;
STICKLINE(VAR2,OPEN,CLOSE,3,0),COLORRED;
VAR4:=IF((VAR1-CLOSE)*100/VAR1 =10-0.01*100/VAR1,1,0);
STICKLINE(VAR4,OPEN,CLOSE,2,0),COLORGREEN;
DRAWTEXT_FIX(ISLASTBAR,0,0,0,HYBLOCK),COLORCYAN;
DRAWTEXT_FIX(ISLASTBAR,0.1,0,0,DYBLOCK),COLORYELLOW;
DRAWTEXT_FIX(ISLASTBAR,0.2,0,0,GNBLOCK),COLORGREEN;
DRAWTEXT_FIX(ISLASTBAR,0.5,0,0,FGBLOCK),COLORWHITE;