N:=33;
重心:(H+L+3*C+O)/6,NODRAW;
STICKLINE(重心>0,重心,重心*1.001,0.1,0),COLORLIRED;
重心转向:重心>REF(重心,1) AND REF(重心,1)<REF(重心,2),NODRAW;
STICKLINE(重心转向,L,MAX(C,O),0.1,0),COLORYELLOW;
STICKLINE(重心转向,L,L*1.001,2,0),COLORYELLOW;
高:=EMA(H/REF(CLOSE,1),N)*C,COLORCYAN,DOTLINE;
低:=EMA(L/REF(CLOSE,1),N)*C,COLORRED,DOTLINE;
卖:IF(CURRBARSCOUNT=1,高,DRAWNULL),COLORLIRED;
买:IF(CURRBARSCOUNT=1,低,DRAWNULL),COLORYELLOW;
DRAWTEXT(CURRBARSCOUNT=1,卖,’_____’),COLORLIRED;
DRAWTEXT(CURRBARSCOUNT=1,买,’_____’),COLORYELLOW;
DRAWNUMBER(CURRBARSCOUNT=1,卖*1.01,卖),COLORLIRED;
DRAWNUMBER(CURRBARSCOUNT=1,买*1.01,买),COLORYELLOW;

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