同花順搏殺持股主圖指標(biāo)公式
- 指標(biāo)類別: 同花順指標(biāo)公式
- 授權(quán)方式: 免費(fèi)版
- 指標(biāo)評級: ★★★★★
- 指標(biāo)分類: 策略
- 畫線方法: 主圖
- 日期:2023-02-07 來源:互聯(lián)網(wǎng)
同花順搏殺持股主圖指標(biāo)公式:
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; 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 (C<var2 AND C>MA(C,5) AND C>FS);
bb:=(CLOSE<var2 AND C<MA(C,5)) OR (C>var2 AND C<MA(C,5));
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;
價(jià)上持股線:=CROSS(CLOSE,持股線FL);
持股穿生命:=CROSS(持股線FL,生命線);
價(jià)上生命線:=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;
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;
同花順搏殺持股主圖指標(biāo)公式實(shí)例圖解:
同花順搏殺持股主圖指標(biāo)公式