绿色: SMA(CLOSE,2,1),colorgreen,linethick2;
var4:=(LOW+HIGH+CLOSE)/3;
操作: MA(var4,5),linethick2,colorwhite;
拉升:HHV(操作,13),colorred,linethick1;
压力:HHV(操作,60),colorblue;
买卖:LLV(操作,13),linethick1,colorcyan;
底部支撑: LLV(LOW,60)*1.02,color00ccff;
顶部: HHV(HIGH,60)*0.98,colorffffcc;
STICKLINE(操作>REF(操作,1),操作,操作+0.018,5,0),coloryellow,linethick4;
STICKLINE(拉升>REF(拉升,1),拉升,拉升+0.018,5,0),coloryellow,linethick2;
STICKLINE(拉升=REF(拉升,1),拉升,拉升,1,1),colorred;
STICKLINE(买卖=REF(买卖,1),买卖,买卖,1,1),colorred;
STICKLINE(买卖>REF(买卖,1),买卖,买卖+0.028,4,1),colorf00ff0,linethick2;
STICKLINE(顶部=REF(顶部,1),顶部,顶部,7,1),colorred;
STICKLINE(压力=REF(压力,1),压力,压力,7,1),colorred;
STICKLINE(底部支撑=REF(底部支撑,1),底部支撑,底部支撑,1,1),colorred;
买线:=EMA(C,2);
卖线:=EMA(SLOPE(C,21)*20+C,42);
bu:=CROSS(买线,卖线);
sel:=CROSS(卖线,买线);
DRAWTEXT(bu,LOW,’b买’),colorred,linethick3;
DRAWTEXT(bu,LOW,’ ̄’),color208fff,linethick3;
DRAWTEXT(sel,HIGH,’ ̄’),colorffff00,linethick3;
DRAWTEXT(sel,HIGH,’s卖’),colormagenta,linethick3;
STICKLINE(买线>=卖线,LOW,HIGH,0.1,1),colorred;
STICKLINE(买线>=卖线,CLOSE,OPEN,8,1),colorred;
STICKLINE(买线<卖线,CLOSE,OPEN,8,0),color00ff00;
STICKLINE(买线<卖线,LOW,HIGH,0.1,1),color00ff00;
STICKLINE(CROSS(买线,卖线) OR CROSS(卖线,买线),OPEN,CLOSE,6,0),colorffff00;
评论(0)