ma20:MA(C,20),colorwhite,linethick2;ma120:MA(C,120),colorffcccc,linethick2;ma250:MA(C,250),colorffcc66,linethick2;乖离线:=((C-REF(ma20,1))/20+ma20)*1.20;tt1:=crOSS(ma20,ma120) AND CROSS(ma20,ma250) AND V>REF(V,1);tt2:=ma20>REF(ma20,2) AND V>REF(V,1) AND CROSS(C,ma20);STICKLINE(TT1,L,L-0.09,4,0),coloryellow;DRAWTEXT(TT1,L-0.13,’金叉’),coloryellow;STICKLINE(CROSS(C,ma120) AND CROSS(C,ma250) AND CROSS(C,ma20),L,L-0.09,4,0),coloryellow;DRAWTEXT(CROSS(C,ma120) AND CROSS(C,ma250) AND CROSS(C,ma20),L-0.13,’并线开花’),coloryellow;STICKLINE(tt2,L,L-0.09,4,0),coloryellow;DRAWTEXT(tt2,L-0.13,’买点1′),coloryellow;STICKLINE(CROSS(C,乖离线),H,H+0.09,4,0),color00ff00;DRAWTEXT(CROSS(C,乖离线) ,H+0.13,’卖点’),color00ff00;STICKLINE(ma250>=REF(ma250,1) AND ma20>=REF(ma20,1) AND CROSS(C,ma250),L,L-0.09,4,0),colorffcc66;
DRAWTEXTAbs(5,5,’股旁网 www.gupang.com’),linethick1,COLOR00EEff;
DRAWTEXT(ma250>=REF(ma250,1) AND ma20>=REF(ma20,1) AND CROSS(C,ma250),L-0.13,’牛象’),colorffcc66;STICKLINE(ma120>=REF(ma120,1) AND CROSS(C,ma20) AND CROSS(C,ma120) AND V>REF(V,1),L,L-0.09,4,0),colorff00ff;DRAWTEXT(ma120>=REF(ma120,1) AND CROSS(C,ma20) AND CROSS(C,ma120) AND V>REF(V,1),L-0.13,’买点2′),colorff00ff ;A1:=SUM(AMOUNT,3)/SUM(vol,3)/100;A2:=SUM(AMOUNT,8)/SUM(VOL,8)/100;A3:=SUM(AMOUNT,21)/SUM(vol,21)/100;DIFF:=(EMA(CLOSE,12) – EMA(CLOSE,26));DEA:=EMA(DIFF,9);macd:=2*(DIFF-DEA); V1:=C-(a1+MA(C,3))/2;V2:=C-(a2+MA(C,8))/2;V3:=C-(a3+MA(C,21))/2;Va1:=(C+v3-v1+MacD);Va4:=(C+v2-v1+MACD);短线:EMA(Va1,6),linethick2,coloryellow;
声明:本站所有文章,如无特殊说明或标注,均为本站原创发布。任何个人或组织,在未征得本站同意时,禁止复制、盗用、采集、发布本站内容到任何网站、书籍等各类媒体平台。如若本站内容侵犯了原著者的合法权益,可联系我们进行处理。
评论(0)