同花顺合并K线(主图)源码
-
相关简介:合并K线主图 CA:=C;OA:=REF(MIN(C,O),1);HA:=H;LA:=REF(L,1); CH:=REF(MAX(C,O),1); STICKLINE(CAOA,HA,LA,0.1,0),COLORFF00FF; STICKLINE(CA=OA AND CAREF(CA,1),HA ,LA ,0.1,1),COLOR0000FF; STICKLINE(CA=OA,HA ,LA ,0.1,1),COLORFF00FF,LINETHICK1; STICKLINE(CACH,HA,LA
-
文章来源:股海网作者:股海网发布时间:2016-02-06浏览次数:
合并K线主图
CA:=C;OA:=REF(MIN(C,O),1);HA:=H;LA:=REF(L,1);
CH:=REF(MAX(C,O),1);
STICKLINE(CA>OA,HA,LA,0.1,0),COLORFF00FF;
STICKLINE(CA=OA AND CA>REF(CA,1),HA ,LA ,0.1,1),COLOR0000FF;
STICKLINE(CA=OA,HA ,LA ,0.1,1),COLORFF00FF,LINETHICK1;
STICKLINE(CA>CH,HA,LA,0.1,1),COLOR0000FF;
STICKLINE(CA>OA,CA,OA,3,0),COLORFF00FF;
STICKLINE(CA=OA AND CA>REF(CA,1),CA ,OA ,3,0),COLOR0000FF;
STICKLINE(CA=OA,CA ,OA ,3,0),COLORFF00FF,LINETHICK1;
STICKLINE(CA>CH,CA,OA,3,0),COLOR0000FF;
STICKLINE(CA<OA,HA,LA,0.1,1),COLOR38FC3A,LINETHICK1;
STICKLINE(CA<OA,CA,OA,3,0),COLOR38FC3A,LINETHICK1;
EXP50:EMA(CA,40),COLOR00FFFF;
EXP12:EMA(CA,10),COLORFFFFFF;DRAWICON(CROSS(EXP12,EXP50) , EXP12,1 );
DRAWICON(CROSS(EXP50,EXP12) , EXP50,2 );
开:OA,POINTDOT,COLORFF9966;
高:HA ,POINTDOT,COLORFF00FF;
低:LA,POINTDOT,COLOR00FF00;
收:CA ,POINTDOT,COLORFF00FF;