源码

N:=5;N1:=4;

DD:=SYSPARAM(5); 
HD:=SYSPARAM(4);
Var1:=(HD-DD);
HH:HD,COLORWHITE;
HH-Var1*0.125,POINTDOT,COLORYELLOW;
HH-Var1*0.25,POINTDOT,COLORWHITE;
HH-Var1*0.333,POINTDOT,COLORYELLOW;
HH-Var1*0.375,POINTDOT,COLORWHITE;
HH-Var1*0.5,POINTDOT,COLORYELLOW;
HH-Var1*0.625,POINTDOT,COLORWHITE;
HH-Var1*0.667,POINTDOT,COLORYELLOW;
HH-Var1*0.75,POINTDOT,COLORWHITE;
HH-Var1*0.875,POINTDOT,COLORYELLOW;
LL:DD,COLORWHITE;
DRAWTEXT(ISLASTBAR,HH-Var1*0.125,’12.5′),COLORGREEN;
DRAWTEXT(ISLASTBAR,HH-Var1*0.25,’25.0′),COLORGREEN;
DRAWTEXT(ISLASTBAR,HH-Var1*0.333,’33.3′),COLORGREEN;
DRAWTEXT(ISLASTBAR,HH-Var1*0.375,’37.5′),COLORGREEN;
DRAWTEXT(ISLASTBAR,HH-Var1*0.5,’50.0′),COLORGREEN;
DRAWTEXT(ISLASTBAR,HH-Var1*0.625,’62.5′),COLORGREEN;
DRAWTEXT(ISLASTBAR,HH-Var1*0.667,’66.7′),COLORGREEN;
DRAWTEXT(ISLASTBAR,HH-Var1*0.75,’75.0′),COLORGREEN;
DRAWTEXT(ISLASTBAR,HH-Var1*0.875,’87.5′),COLORGREEN;

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;


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