{分时均线}
W:=BArslAST(DAY-REF(DAY,1))+1;
FSJX:SUM(C*vol,W)/SUM(VOL,W),COLORYELLOW,LINETHICK2; IF(FSJX<REF(FSJX,1),FSJX,DRAWNULL),COLORCYAN,LINETHICK2;
{分时线}
FSX:IF(C>=FSJX,C,DRAWNULL),COLORRED,LINETHICK2; IF(C<FSJX,C,DRAWNULL),COLORCYAN,LINETHICK2;
{黄金分割线,4*60’=240′}
HH:=CONST(HHV(C,0));
LL:=CONST(LLV(C,0));
HL:=HH-LL;
顶:HH,COLORCYAN,LINETHICK1;
A809:0.809*HL+LL,COLORFFFF0B,DOTLINE;
A618:0.618*HL+LL,COLORLIGRAY,DOTLINE;
A500:0.500*HL+LL,COLOR80FFFF,DOTLINE;
A382:0.382*HL+LL,COLORLIGRAY,DOTLINE;
A191:0.191*HL+LL,COLOR00FF00,DOTLINE;
底:LL,COLOR00FF00,LINETHICK1;
DRAWICON(C=LL,LL,9);
{黄金线240分钟静态提示}
DRAWTEXT(CURRBARSCOUNT=240,HH,’顶’),COLORCYAN;
DRAWTEXT(CURRBARSCOUNT=240,A809,’809′),COLORFFFF0B;
DRAWTEXT(CURRBARSCOUNT=240,A618,’618′),COLORWHITE;
DRAWTEXT(CURRBARSCOUNT=240,A500,’500′),COLOR80FFFF;
DRAWTEXT(CURRBARSCOUNT=240,A382,’382′),COLORWHITE;
DRAWTEXT(CURRBARSCOUNT=240,A191,’191′),COLOR60FF60;
DRAWTEXT(CURRBARSCOUNT=240,LL,’底’),COLOR60FF60;
{黄金线1分钟动态提示}
DRAWTEXT(CURRBARSCOUNT=1,HH,’顶危’),COLORCYAN;
DRAWTEXT(CURRBARSCOUNT=1,A809,’809警’),COLORFFFF0B;
DRAWTEXT(CURRBARSCOUNT=1,A618,’618警’),COLORWHITE;
DRAWTEXT(CURRBARSCOUNT=1,A500,’500警’),COLOR80FFFF;
DRAWTEXT(CURRBARSCOUNT=1,A382,’382警’),COLORWHITE;
DRAWTEXT(CURRBARSCOUNT=1,A191,’191警’),COLOR60FF60;
DRAWTEXT(CURRBARSCOUNT=1,LL,’底安’),COLOR60FF60;
声明:本站所有文章,如无特殊说明或标注,均为本站原创发布。任何个人或组织,在未征得本站同意时,禁止复制、盗用、采集、发布本站内容到任何网站、书籍等各类媒体平台。如若本站内容侵犯了原著者的合法权益,可联系我们进行处理。
评论(0)