本帖最后由 骐朋友 于 2013-12-17 08:36 编辑
UPPER:=(1+6/100)*MA(CLOSE,25);
LOWER:=(1-6/100)*MA(CLOSE,25);
ZZZ:=(UPPER+LOWER)/2;
一品:ZZZ*1.14,COLORGRAY;
二品:ZZZ*1.07,COLORGRAY;
三品:ZZZ,COLORGRAY;
四品:ZZZ*0.94,COLORGRAY;
五品:ZZZ*0.86,COLORGRAY;
DRAWTEXT(ISLASTBAR,一品,'准备清仓'),COLORBLUE;
DRAWTEXT(ISLASTBAR,二品,'没过卖出'),COLORGREEN;
DRAWTEXT(ISLASTBAR,三品,'支撑注意'),COLORWHITE;
DRAWTEXT(ISLASTBAR,四品,'不破买入'),COLORYELLOW;
DRAWTEXT(ISLASTBAR,五品,'准备抄底'),COLORRED;
VAR1:=REF((LOW+OPEN+CLOSE+HIGH)/4,1);
VAR2:=SMA(ABS(VAR1-HIGH),13,1)/SMA(MAX(VAR1-HIGH,0),10,1)/3;
VAR5:=EMA(VAR2,1);
主能量:=IF(VAR5>REF(VAR5,1),VAR5,0);
ATJ:=主能量=HHV(主能量,35);
APL:=BARSLAST(ATJ);
量压力:IF(BARSLAST(ATJ),REF(CLOSE,APL),DRAWNULL),COLORYELLOW,LINETHICK2;
DRAWTEXT(ISLASTBAR,量压力,'-----【量压力】'),COLORYELLOW;
大阴线:STICKLINE(C<REF(C,1)*0.91,OPEN,CLOSE,2,0),COLORBLUE;
涨停了:STICKLINE(C>REF(C,1)*1.090,OPEN,CLOSE,2,0),COLORYELLOW;
涨停宝点: DRAWTEXT(CROSS(C,一品) AND C>REF(C,1)*1.09,一品*1.03,'涨停宝'),COLORGREEN;
抄底宝点: DRAWTEXT(CROSS(五品,L),五品*0.94,'抄底宝'),COLORYELLOW;
抄底关注: DRAWTEXT(CROSS(四品,L),四品*0.98,'关注'),COLORWHITE;
CG:MA(C,6),COLORFFCC66,LINETHICK2;
FL:=HHV(CG,2);
持股线:HHV(CG,2),COLOR00FF00;
FS:CG-(FL-CG),COLORYELLOW,LINETHICK2;
开花:IF(FS<=REF(FS,1),FS,DRAWNULL),COLORBLUE,LINETHICK3;
牛熊线:EMA(C,250),COLORMAGENTA,LINETHICK2;
DRAWTEXT(ISLASTBAR,牛熊线,'-----【牛熊线】'),COLORMAGENTA; |