【同花順】綠色BS跟莊主圖指標(biāo)公式
攻城獅 2015.12.04 16:00
綠色: sma(close,2,1),colorgreen,linethick2;
var4:=(low+high+close)/3;
操作: ma(var4,5),linethick2,colorwhite;
拉升:hhv(操作,13),colorred,linethick1;
壓力:hhv(操作,60),colorred;
買賣:llv(操作,13),linethick1,color00ff00;
底部支撐: 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;
{drawgbk(date>900101,strip(rgb(0,150,130),rgb(0,0,0),0));}
買線:=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
申明:本文為作者投稿或轉(zhuǎn)載,在概念股網(wǎng) http://m.chiang1015.com/ 上發(fā)表,為其獨立觀點。不代表本網(wǎng)立場,不代表本網(wǎng)贊同其觀點,亦不對其真實性負責(zé),投資決策請建立在獨立思考之上。