源码

P1:=5;P2:=10;P3:=20;P4:=60;

STICKLINE(open>=close ,close ,open,9,0 ),COLORaaaaaa;
STICKLINE(open>=close ,close ,open,6,0 ),COLORbbbbbb;
STICKLINE(open>=close ,close ,open,2.4,0 ),COLORcccccc;
STICKLINE(open>=close ,close ,open,1.1,0 ),COLORdddddd;

STICKLINE(close>open,close,open,9,0 ),COLOr6666cc;
STICKLINE(close>open,close,open,6 ,0 ),COLOR7777dd;
STICKLINE(close>open,close,open,2.4 ,0 ),COLOR8888ee;
STICKLINE(close>open,close,open,1.1 ,0 ),COLOR9999ff;

STICKLINE(close>open,open,low,0.5,0 ),COLOR1199ff;
STICKLINE(close>open,close,HIGH,0.5 ,0 ),COLOR1199ff;
STICKLINE(open>=close,close,low,0.5 ,0 ),COLORcccccc;
STICKLINE(open>=close,open,HIGH,0.5 ,0 ),COLORcccccc;

MA1:MA(CLOSE,P1);
MA2:MA(CLOSE,P2);
MA3:MA(CLOSE,P3);
MA4:MA(CLOSE,p4);
MA120:MA(CLOSE,120);
MA240:MA(CLOSE,240);

cond:= "ssxexDll@isLast";
DRAWTEXT(filter(backset(cond,P1),p1),low*0.992,’5′),coloryellow;
DRAWTEXT(filter(backset(cond,P2),p2),low*0.992,’10’),coloryellow;
DRAWTEXT(filter(backset(cond,P3),p3),low*0.992,’20’),coloryellow;
DRAWTEXT(filter(backset(cond,p4),p4),low*0.992,’60’),coloryellow;
DRAWTEXT(filter(backset(cond,120),120),low*0.992,’120′),coloryellow;
DRAWTEXT(filter(backset(cond,240),240),low*0.992,’240′),coloryellow;

A0:=EMA(C,2)COLORYELLOW;
A:=EMA(REF(C,1),3)*1.02;
A1:=REF(EMA(C,3),1)*1.03;
B:=EMA(REF(C,1),4)*0.98;
B1:=REF(EMA(C,4),1)*0.97;
A2:=(A+B)/2,COLORGREEN;
DRAWTEXT(CROSS(A0,A2) ,L-0.05,’↑’ ),ALIGN0,COLORyellow;
DRAWNUMBER(CROSS(A0,A2),l-0.1,a2,2),COLORccff00;
DRAWTEXT(CROSS(A2,A0) ,H+0.1,’↓’ ),ALIGN0,COLORwhite;
DRAWNUMBER(CROSS(A2,A0),h+0.1,a0,2),COLORcccccc;
选股:if(CROSS(A0,A2),1,0),LINETHICK0;

 


声明:本站所有文章,如无特殊说明或标注,均为本站原创发布。任何个人或组织,在未征得本站同意时,禁止复制、盗用、采集、发布本站内容到任何网站、书籍等各类媒体平台。如若本站内容侵犯了原著者的合法权益,可联系我们进行处理。