破指標(biāo)公式?
指標(biāo)名稱
指標(biāo)代碼
指標(biāo)注釋
波段無敵
P1:=0;
P2:= IF (close>MA(CLOSE,5),P1+10,P1-10);
P3:= IF (CLOSE>MA(CLOSE,10),P2+10,P2-10);
P4:= IF (CLOSE>MA(CLOSE,10),P3+10,P3-10);
P5:= IF (MA(CLOSE,5)>MA(CLOSE,10),P4+10,P4-10);
P6:= IF (MA(CLOSE,10)>MA(CLOSE,20),P5+10,P5-10);
BD:P6;
STICKLINE(BD>=-50,-50,BD,3,0),COLORGREEN;
STICKLINE(BD>=-30,-30,BD,3,0),COLORFFFF00;
STICKLINE(BD>=0,0,BD,3,0),COLORYELLOW;
STICKLINE(BD<=50 AND BD>=30,30,BD,3,0),COLORRED;
1、取值范圍:-50~+50。
2、0軸以下為空方優(yōu)勢(shì)區(qū)域,0軸以上為多頭優(yōu)勢(shì)區(qū)。
3、若BD值等于-50且橫盤,堅(jiān)決持幣觀望。
4、若BD值等于+50且橫盤,堅(jiān)決持股待漲,且往往會(huì)漲勢(shì)加速。
5、股價(jià)回調(diào)不破+30,繼續(xù)持股待漲,屬于正常調(diào)整。
籌碼分布
HSL:=EMA(VOL/CAPITAL,3);
ZDL:=HHV(HSL,240);
ZXL:=LLV(HSL,240);
XS:=MA(C,33);
鎖定籌碼:EMA((HSL-ZXL)/ZXL*XS,13);
浮動(dòng)籌碼:EMA((ZDL-HSL)/HSL*XS,13);
力量對(duì)比:鎖定籌碼-浮動(dòng)籌碼 ,COLORSTICK;
分析市場(chǎng)籌碼流動(dòng)情況,掌握多空對(duì)戰(zhàn)實(shí)力。
1。白線代表市場(chǎng)鎖定籌碼,多為主力控盤籌碼,數(shù)值越大說明主力控盤鎖定籌碼越多,上漲概率越大。
2。黃線代表市場(chǎng)浮動(dòng)籌碼,多為散戶流動(dòng)籌碼,數(shù)值越大說明散戶持有浮動(dòng)籌碼越多,下跌概率越大。
3。柱差反映市場(chǎng)籌碼控盤能力,反映主力控盤力度,預(yù)示后市上揚(yáng)概率及幅度,紅柱越大,說明主力控盤度越高,上漲概率越高,反之則下跌概率越高。
多空博弈
VAR1:=(HHV(HIGH,21)-C)/(HHV(HIGH,21)-LLV(LOW,21))*100-10;
VAR2:=(C-LLV(LOW,21))/(HHV(HIGH,21)-LLV(LOW,21))*100;
VAR3:=SMA(VAR2,13,8);
高位:90;
低位:0;
多方: SMA(VAR3,13,8),COLORRED;
空方: SMA(VAR1,21,8),COLORGREEN;
中軸:45;
1。當(dāng)“多方”線向上與“空方”線“金叉”時(shí)為買點(diǎn)。
2。當(dāng)“多方”線向下與“空方”線“死叉”時(shí)為賣點(diǎn)。
買賣頻譜
買線:EMA(C,3);
賣線:EMA(SLOPE(C,21)*20+C,55);
買賣差:=買線-賣線;
STICKLINE(買賣差>=0,(買線-買賣差*0.05),(買線-買賣差*0.15),5,0) ,COLOR00FFFF;
STICKLINE(買賣差>=0,(買線-買賣差*0.2),(買線-買賣差*0.35),5,0) ,COLOR00CCFF;
STICKLINE(買賣差>=0,(買線-買賣差*0.4),(買線-買賣差*0.55),5,0) ,COLOR0099FF;
STICKLINE(買賣差>=0,(買線-買賣差*0.6),(買線-買賣差*0.75),5,0) ,COLOR0066FF;
STICKLINE(買賣差>=0,(買線-買賣差*0.8),(買線-買賣差*0.95),5,0) ,COLOR0000CC;
STICKLINE(買賣差<0,(賣線+買賣差*0.05),(賣線+買賣差*0.15),5,0) ,COLOR006600;
STICKLINE(買賣差<0,(賣線+買賣差*0.2),(賣線+買賣差*0.35),5,0) ,COLOR009900;
STICKLINE(買賣差<0,(賣線+買賣差*0.4),(賣線+買賣差*0.55),5,0) ,COLOR00CC00;
STICKLINE(買賣差<0,(賣線+買賣差*0.6),(賣線+買賣差*0.75),5,0) ,COLOR00FF00;
STICKLINE(買賣差<0,(賣線+買賣差*0.8),(賣線+買賣差*0.95),5,0) ,COLOR66FF00;
1。白線為買線,黃線為賣線。
2。當(dāng)白線向上穿越黃線為買入信號(hào),此時(shí)柱差顯示為紅色系頻譜。
3。當(dāng)白線向下?lián)舸S線為賣出信號(hào),此時(shí)柱差顯示威綠色系頻譜。
4。紅色系頻譜展開越充分,上升力度越強(qiáng)。
5。綠色系頻譜展開越充分,下跌力度越強(qiáng)。
趨勢(shì)頂?shù)?/p>
80,COLOR996699;
20,COLORGREEN;
10,COLORCC6633,LINETHICK2;
90,COLOR9966FF,LINETHICK2;
A:=MA(-100*(HHV(HIGH,34)-CLOSE)/(HHV(HIGH,34)-LLV(LOW,34)),19);
B:=-100*(HHV(HIGH,14)-CLOSE)/(HHV(HIGH,14)-LLV(LOW,14));
D:=EMA(-100*(HHV(HIGH,34)-CLOSE)/(HHV(HIGH,34)-LLV(LOW,34)),4);
長(zhǎng)期線:A+100,COLOR9900FF;
短期線:B+100,COLOR888888;
中期線:D+100,COLORYELLOW,LINETHICK2;
見頂:=((REF(中期線,1)>85 AND REF(短期線,1)>85 AND REF(長(zhǎng)期線,1)>65) AND CROSS(長(zhǎng)期線,短期線));
頂部區(qū)域:(中期線<REF(中期線,1) AND REF(中期線,1)>80) AND (REF(短期線,1)>95 OR REF(短期線,2)>95 ) AND 長(zhǎng)期線>60 AND 短期線<83.5
AND 短期線<中期線 AND 短期線<長(zhǎng)期線+4,COLORGREEN;
頂部:=FILTER(頂部區(qū)域,4);
STICKLINE( {見頂 OR} 頂部,99,103,20,1 ),COLORRED,LINETHICK2;
底部區(qū)域:(長(zhǎng)期線<12 AND 中期線<8 AND (短期線<7.2 OR REF(短期線,1)<5) AND (中期線>REF(中期線,1) OR 短期線>REF(短期線,1)))
OR (長(zhǎng)期線<8 AND 中期線<7 AND 短期線<15 AND 短期線>REF(短期線,1)) OR (長(zhǎng)期線<10 AND 中期線<7 AND 短期線<1) ,COLORGREEN;
STICKLINE( 底部區(qū)域,-4,0,22,0 ),COLORGREEN;
低位金叉:50*(長(zhǎng)期線<15 AND REF(長(zhǎng)期線,1)<15 AND 中期線<18 AND 短期線>REF(短期線,1) AND CROSS(短期線,長(zhǎng)期線) AND 短期線>中期線
AND (REF(短期線,1)<5 OR REF(短期線,2)<5 ) AND (中期線>=長(zhǎng)期線 OR REF( 短期線,1)<1 )),COLORRED;
STICKLINE( 低位金叉,0,5,11,0 ),COLORRED;
長(zhǎng)、中、短期趨勢(shì)顯示,便于用戶明確股價(jià)當(dāng)前走勢(shì)的狀況。頂部的紅色區(qū)域和底部的藍(lán)綠色區(qū)域用于用戶識(shí)別股價(jià)走勢(shì)的高低和超買超賣情況。最底部的綠色方塊顯示階段性底部,出現(xiàn)的紅點(diǎn)意味短線抄底信號(hào);而頂部的紅色方框表示階段性頭部區(qū)域提示用戶要謹(jǐn)慎。用戶使用時(shí)以黃色的中期趨勢(shì)線為主要的判斷依據(jù),結(jié)合灰色短期線和紅色長(zhǎng)期線把握買賣點(diǎn),當(dāng)長(zhǎng)期趨勢(shì)線向上時(shí)盡量選擇短期線回調(diào)時(shí)進(jìn)場(chǎng),反之要注意高拋止贏止損。可作為操盤線的有效輔助判斷工具。
具體的使用方法并不復(fù)雜,作為一個(gè)輔助指標(biāo)應(yīng)與操盤線結(jié)合使用。用法的要點(diǎn)如下:
1) 3條曲線的多空頭排列,類似均線系統(tǒng),可以確認(rèn)BS點(diǎn)買賣信號(hào)。
2) 3條曲線的方向分別表明了當(dāng)前股價(jià)的短中長(zhǎng)期運(yùn)動(dòng)趨勢(shì)。
3) 3條曲線的位置,超買超賣現(xiàn)象類似擺動(dòng)指標(biāo)(20以下為超賣,80以上超買)。某些情況下有底部、抄底買點(diǎn)和風(fēng)險(xiǎn)區(qū)域信號(hào)提示,方便用戶了解當(dāng)前股價(jià)狀態(tài)。
4) 中長(zhǎng)期曲線的頂?shù)撞勘畴x特征,用法類似傳統(tǒng)指標(biāo)。
主力進(jìn)出
MAV:=(C*2+H+L)/4;
SK:= EMA(MAV,13) - EMA(MAV,34);
SD := EMA(SK,5);
中軸:0;
空方主力 : (-2*(SK-SD))*3.8,COLORGREEN;
多方主力 : (2*(SK-SD))*3.8,COLORRED;
1。若多方主力向上穿越空方主力,則為買入信號(hào)。
2。若多方主力向下?lián)羝瓶辗街髁Γ瑒t為賣出信號(hào)。
資金博弈
jgV:=(BIGORDER(1,3)-BIGORDER(2,3))*vol/CAPITAL;
dhV:=(BIGORDER(1,2)-BIGORDER(2,2)-BIGORDER(1,3)+BIGORDER(2,3))*vol/CAPITAL;
zhV:=(BIGORDER(1,1)-BIGORDER(2,1)-BIGORDER(1,2)+BIGORDER(2,2))*vol/CAPITAL;
shV:=(BIGORDER(2,1)-BIGORDER(1,1))*vol/CAPITAL;
A1:=MIN((COUNT(ORDER(2),0)),60);
超級(jí)資金:EMA(jgV,A1)*A1,COLORMAGENTA;
大戶資金:EMA(dhV,A1)*A1,color3399FF ;
中戶資金:EMA(zhV,A1)*A1,colorcyan;
散戶資金:EMA(shV,A1)*A1,colorgreen;
0,color333333;
籌碼聚集
聚散程度:10*(ORDER(2)-ORDER(1))/CAPITAL, COLOR3D;
聚散方向:ema( 聚散程度,10),linethick2 ;
超級(jí)資金
A1:=MIN((COUNT(ORDER(2),0)),60);
超戶:(BIGORDER(1,3)-BIGORDER(2,3))*vol/CAPITAL,COLOR3D ;
累計(jì):EMA(超戶,A1)*A1,COLORMAGENTA;
均值:EMA(累計(jì),10),colorwhite;
大戶資金
A1:=MIN((COUNT(ORDER(2),0)),60);
大戶:(BIGORDER(1,2)-BIGORDER(2,2)-BIGORDER(1,3)+BIGORDER(2,3))*vol/CAPITAL,COLOR3D ;
累計(jì):EMA(大戶,A1)*A1,color3399FF;
均值:EMA(累計(jì),10),colorwhite;
中戶資金
A1:=MIN((COUNT(ORDER(2),0)),60);
中戶:(BIGORDER(1,1)-BIGORDER(2,1)-BIGORDER(1,2)+BIGORDER(2,2))*vol/CAPITAL,COLOR3D ;
累計(jì):EMA(中戶,A1)*A1,colorcyan;
均值:EMA(累計(jì),10),colorwhite;
散戶資金
A1:=MIN((COUNT(ORDER(2),0)),60);
散戶:(BIGORDER(2,1)-BIGORDER(1,1))*vol/capital,COLOR3D ;
累計(jì):EMA(散戶,A1)*A1,colorgreen;
均值:EMA(累計(jì),10),colorwhite;
主圖操盤線BS公式
BS源碼
{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'),ALIGN1,VALIGN0,colorred,linethick3; DRAWTEXT(bu,LOW,' ̄'),ALIGN1,VALIGN0,Color208FFF,LINETHICK3; DRAWTEXT(sel,HIGH,' ̄'),ALIGN1,VALIGN0,ColorFFFF00,LINETHICK3; drawtext(sel,HIGH,'S'),ALIGN1,VALIGN2,colorgreen,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; 指導(dǎo)線: EMA((EMA(CLOSE,4)+EMA(CLOSE,6)+EMA(CLOSE,12)+EMA(CLOSE,24))/4,2),linethick1,ColorFFffFF; 界: MA(CLOSE,27),linethick1,Color00FFFF; DRAWTEXT(cross(指導(dǎo)線,界),界,' ̄ ̄'),ALIGN1,VALIGN0,Colorffffff; DRAWTEXT(cross(界,指導(dǎo)線),界,' ̄ ̄'),ALIGN1,Color00ffff;
超贏BS
ma3:ma(c,5),colorf00ff0;
ma10:ma(c,10),coloryellow;
ma21:ma(c,21),colore66878;
ma30:ma(c,30),colorwhite;
ma120:ma(c,120),color399c7f,pointdot;
ma240:ma(c,240),color000999,pointdot;
x1:=(C+L+H)/3;
x2:=EMA(x1,6);
x3:=EMA(x2,5);
DRAWICON(CROSS(X2,X3),L-0.1,10);
DRAWICON(CROSS(X3,X2),H+0.1,12);
stickline(x2>=x3,low,high,0.1,1),colorred;
stickline(x2>=x3,close,open,9,2),colorred;
stickline(x2>=x3,close,open,9,8),;
stickline(x2<x3,low,high,0.1,1),colorGREEN;
stickline(x2<x3,close,open,9,2),colorGREEN;
stickline(CROSS(X2,X3),open,close,6,1),colorYELLOW;
stickline(CROSS(X3,X2),open,close,6,1),colorBLUE;
分析家操盤線
買線:=EMA(C,2);
賣線:=EMA(SLOPE(C,21)*20+C,42);
BU:=cross(買線,賣線);
SEL:=cross(賣線,買線);
drawtext(bu,LOW,'B'),ALIGN1,VALIGN0,colorred,linethick3;
DRAWTEXT(bu,LOW,' ̄'),ALIGN1,VALIGN0,Color208FFF,LINETHICK3;
DRAWTEXT(sel,HIGH,' ̄'),ALIGN1,VALIGN0,ColorFFFF00,LINETHICK3;
drawtext(sel,HIGH,'S'),ALIGN1,VALIGN2,colorgreen,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;
指導(dǎo)線: EMA((EMA(CLOSE,4)+EMA(CLOSE,6)+EMA(CLOSE,12)+EMA(CLOSE,24))/4,2),linethick1,ColorFFffFF;
界: MA(CLOSE,27),linethick1,Color00FFFF;
DRAWTEXT(cross(指導(dǎo)線,界),界,'上破'),ALIGN1,VALIGN2,Colorffffff;
DRAWTEXT(cross(指導(dǎo)線,界),界,' ̄ ̄'),ALIGN1,VALIGN0,Colorffffff;
DRAWTEXT(cross(界,指導(dǎo)線),界,'下破'),ALIGN1,Color00ffff;
DRAWTEXT(cross(界,指導(dǎo)線),界,' ̄ ̄'),ALIGN1,Color00ffff;
上限: 界+3*STD(CLOSE,27),linethick1,Color00FFFF;
賣: 界+2*STD(CLOSE,27),linethick1,ColorFF00FF;
買: 界-2*STD(CLOSE,27),linethick1,ColorF0FF00;
下限: 界-2.9*STD(close,27),linethick1,Color00FF00;
DRAWTEXT(cross(H,上限),H,'獲利'),ALIGN1,VALIGN2,Color00ffff;
DRAWTEXT(cross(H,上限),H,' ̄ ̄'),ALIGN1,VALIGN0,Color00ffff;
DRAWTEXT(cross(上限,H),H,'&利'),ALIGN1,VALIGN2,Color00ffff;
DRAWTEXT(cross(上限,H),H,' ̄ ̄'),ALIGN1,VALIGN0,Color00ffff;
DRAWTEXT(cross(H,賣),H,'獲利'),ALIGN1,VALIGN2,Colorff00ff;
DRAWTEXT(cross(H,賣),H,' ̄ ̄'),ALIGN1,VALIGN0,Colorff00ff;
DRAWTEXT(cross(C,賣),H,'獲利'),ALIGN1,VALIGN2,Colorff0000;
DRAWTEXT(cross(C,賣),H,' ̄ ̄'),ALIGN1,VALIGN0,Colorff0000;
DRAWTEXT(cross(下限,L),l,'觀'),ALIGN1,VALIGN0,Color00ff00;
DRAWTEXT(cross(下限,L),l,' ̄ ̄'),ALIGN1,VALIGN0,Color00ff00;
DRAWTEXT(cross(買,L),l,'◎'),ALIGN1,VALIGN0,Colorff0000;
DRAWTEXT(cross(買,L),l,' ̄ ̄'),ALIGN1,VALIGN0,Colorff0000;
DRAWTEXT(cross(買,C),L,'◎'),ALIGN1,VALIGN0,Colorff0000;
DRAWTEXT(cross(買,C),L,' ̄ ̄'),ALIGN1,VALIGN0,Colorff0000;
基本:=' 流通盤'+ FINANCE(7)+'萬股'+' 凈資產(chǎn)'+FINANCE(35)+'元'+' 公積金'+FINANCE(18)+'元'+' 每股收益'+FINANCE(33)+'元'+' 每股未分配'+FINANCE(32)+'元'+' 市盈率'+DYNAINFO(39);
版權(quán)說明