網(wǎng)上喊得很神奇的指標(biāo),和諧出來給大家學(xué)習(xí)
源碼:
綠色: 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;
{股海網(wǎng)提供 www.}
買線:=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;
|