【同花順】搏殺持股主圖指標(biāo)公式
攻城獅 2015.11.27 17:54
VAR4:=(LOW+HIGH+CLOSE)/3;
操作: MA(VAR4,5),LINETHICK2,colorwhite;
拉升:HHV(操作,13),colorred,LINETHICK1;
壓力:HHV(操作,60),colorred;
//{www.vatsalthakor.com 概念股網(wǎng)_同花順股票指標(biāo)公式}
買賣: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; VAR0:=(CLOSE*2+HIGH+LOW)/4*vol;
var1:=SUM(VAR0,89)/SUM(vol,89);
var21:=IF(COUNT(VAR0>0,2)>=2,MA(CLOSE,89)*(1+(MA(VAR0,89)/REF(MA(VAR0,89),1)-1)/21),MA(CLOSE,89));
var3:=IF(COUNT(ABS(CLOSE-var1)>21,8)>=1 AND COUNT(CLOSE/REF(CLOSE,1)<0.8,8)<1 AND COUNT(VAR0>0,2)>=2,10,0);
var4:=IF(CLOSE>=var1 AND COUNT(VAR0>0,2)>=2,var1*1.001,IF(VAR0<0.1 AND COUNT(VAR0>0,2)<1.5,MA(CLOSE,89),var1*0.999));
var5:=IF(var3>0,var21,var4);
var6:=MA(CLOSE,89);
生命線:IF(var5/REF(var5,1)>1.1 OR var5/REF(var5,1)<0.9,VAR6,VAR5),colorff80ff,linethick2;
持股線FL:hhv(ma(C,17),2),color00ff00;
FS:if(ma(C,17)<持股線FL,(ma(C,17)-(持股線FL-ma(C,17))),持股線FL),color80ffff,linethick2;
CG:ma(C,17),linethick2,colorf4e202;
var2:=MA((OPEN+CLOSE+HIGH+LOW)/4,46);
aa:=(CLOSE>var2 AND CLOSE>MA(CLOSE, 5)) or (cma(c,5) and c>FS);
bb:=(CLOSEvar2 and c cc:=if(aa and bb,0,1);
STICKLINE(cc,CLOSE,OPEN,8,1),COLORYELLOW;
STICKLINE(cc,HIGH,max(c,o),0.8,0),COLORYELLOW;
STICKLINE(cc,min(c,o),LOW,0.8,0),COLORYELLOW;
STICKLINE(aa,CLOSE,OPEN,8,0),COLORRED;
STICKLINE(aa,HIGH,LOW,0.8,0),COLORRED;
STICKLINE(bb,CLOSE,OPEN,8,0),COLORGREEN;
STICKLINE(bb,HIGH,LOW,0.8,0),COLORGREEN;
價上持股線:=CROSS(CLOSE,持股線FL);
持股穿生命:=CROSS(持股線FL,生命線);
價上生命線:=CROSS(CLOSE,生命線);
DRAWTEXT(CROSS(CLOSE,持股線FL),(LOW* 0.98),’▲’),LINETHICK0,colorYELLOW;
DRAWTEXT(CROSS(CLOSE,持股線FL),(LOW * 0.95),’上’),LINETHICK3,colorYELLOW;
DRAWTEXT(CROSS(CLOSE,持股線FL),(LOW * 0.92),’持’),LINETHICK3,colorYELLOW;
DRAWTEXT(CROSS(CLOSE,持股線FL),(LOW * 0.89),’股’),LINETHICK3,colorYELLOW;
DRAWTEXT(CROSS(CLOSE,持股線FL),(LOW * 0.86),’線’),LINETHICK3,colorYELLOW;
DRAWTEXT(CROSS(CLOSE,生命線),(LOW * 0.98),’▲’),LINETHICK2,colorFF00FF;
DRAWTEXT(CROSS(CLOSE,生命線),(LOW * 0.95),’上’),LINETHICK3,colorFF00FF;
DRAWTEXT(CROSS(CLOSE,生命線),(LOW * 0.92),’生’),LINETHICK3,colorFF00FF;
DRAWTEXT(CROSS(CLOSE,生命線),(LOW * 0.89),’命’),LINETHICK3,colorFF00FF;
DRAWTEXT(CROSS(CLOSE,生命線),(LOW * 0.86),’線’),LINETHICK3,colorFF00FF;
//{www.vatsalthakor.com 概念股網(wǎng)_同花順股票指標(biāo)公式}
DRAWTEXT(CROSS(持股線FL,生命線),(LOW * 0.98),’▲’),LINETHICK5,color00FF00;
DRAWTEXT(CROSS(持股線FL,生命線),(LOW * 0.85),’交叉’),LINETHICK3,color00FF00;
X:=EMA(((SLOPE(CLOSE,21) * 20) + CLOSE),68);
Y:=EMA(CLOSE,10);
LL1:=REF(CLOSE,2);
MM:=((SMA(MAX((CLOSE – LL1),0),6,1) / SMA(ABS((CLOSE – LL1)),6,1)) * 100);
DB:=IF(((MM < REF(MM,1)) AND (MM > 79)),MM,0);
DRAWTEXT(CROSS(Y,X),(LOW * 0.985),’▲’),LINETHICK2,colorred;
DRAWTEXT(CROSS(Y,X),(LOW * 0.90),’買’),LINETHICK3,colorred;
DRAWTEXT(DB,(HIGH * 1.02),’●出貨’),LINETHICK2,color00ff00;
申明:本文為作者投稿或轉(zhuǎn)載,在概念股網(wǎng) http://www.vatsalthakor.com/ 上發(fā)表,為其獨立觀點。不代表本網(wǎng)立場,不代表本網(wǎng)贊同其觀點,亦不對其真實性負(fù)責(zé),投資決策請建立在獨立思考之上。