当前位置:首页 > 同花顺公式 > 正文

同花顺新金三谷副图源码自用

2017-09-11网络 编 辑:翔博软件

M5:MA(C,5),colorwhite;
 M10:MA(C,10),coloryellow;
 M30:MA(C,30),colorred;
 M60:MA(C,60),colorblue;
 M120:MA(C,120),LINETHICK2,colorligray;
山谷:=MA(C,5)>MA(C,10) AND MA(C,10)>MA(C,30) AND CROSS(MA(C,10),MA(C,30));
 DRAWTEXT(山谷 AND MA(C,5)<MA(C,120),MA(C,30)-0.18,'银山谷'),colormagenta;
 DRAWICON(FILTER(山谷 AND MA(C,5)<MA(C,120),MA(C,30)),L,9);
 DRAWTEXT(山谷 AND MA(C,30)>MA(C,120),MA(C,30)-0.18,'金山谷'),coloryellow;
 DRAWICON(FILTER(山谷 AND MA(C,30)>MA(C,120),MA(C,30)),L,26);
 CM:=REF(C,1);
涨停:=IF((C-CM)*100/CM>=9.9,1,0);
 STICKLINE(涨停,OPEN,CLOSE,3.8,0),colormagenta;
 STICKLINE(涨停,H,L,0,0),colorlired;
跌停:=IF((C-CM)*100/CM<=-9.9,1,0);
 STICKLINE(跌停,OPEN,CLOSE,3.8,0),colorgreen;
 STICKLINE(跌停,H,L,0,0),colorgreen;

 
大家都爱看
查看更多热点新闻
点击进入翔博软件旗下掌上指标--自助下载指标