指標名稱
指標程式碼
指標註釋
波段無敵
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軸以下為空方優勢區域,0軸以上為多頭優勢區。
3、若BD值等於-50且橫盤,堅決持幣觀望。
4、若BD值等於+50且橫盤,堅決持股待漲,且往往會漲勢加速。
5、股價回撥不破+30,繼續持股待漲,屬於正常調整。
籌碼分佈
HSL:=EMA(VOL/CAPITAL,3);
ZDL:=HHV(HSL,240);
ZXL:=LLV(HSL,240);
XS:=MA(C,33);
鎖定籌碼:EMA((HSL-ZXL)/ZXL*XS,13);
浮動籌碼:EMA((ZDL-HSL)/HSL*XS,13);
力量對比:鎖定籌碼-浮動籌碼 ,COLORSTICK;
分析市場籌碼流動情況,掌握多空對戰實力。
1。白線代表市場鎖定籌碼,多為主力控盤籌碼,數值越大說明主力控盤鎖定籌碼越多,上漲機率越大。
2。黃線代表市場浮動籌碼,多為散戶流動籌碼,數值越大說明散戶持有浮動籌碼越多,下跌機率越大。
3。柱差反映市場籌碼控盤能力,反映主力控盤力度,預示後市上揚機率及幅度,紅柱越大,說明主力控盤度越高,上漲機率越高,反之則下跌機率越高。
多空博弈
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。當“多方”線向上與“空方”線“金叉”時為買點。
2。當“多方”線向下與“空方”線“死叉”時為賣點。
買賣頻譜
買線: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。當白線向上穿越黃線為買入訊號,此時柱差顯示為紅色系頻譜。
3。當白線向下擊穿黃線為賣出訊號,此時柱差顯示威綠色系頻譜。
4。紅色系頻譜展開越充分,上升力度越強。
5。綠色系頻譜展開越充分,下跌力度越強。
趨勢頂底
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);
長期線:A+100,COLOR9900FF;
短期線:B+100,COLOR888888;
中期線:D+100,COLORYELLOW,LINETHICK2;
見頂:=((REF(中期線,1)>85 AND REF(短期線,1)>85 AND REF(長期線,1)>65) AND CROSS(長期線,短期線));
頂部區域:(中期線<REF(中期線,1) AND REF(中期線,1)>80) AND (REF(短期線,1)>95 OR REF(短期線,2)>95 ) AND 長期線>60 AND 短期線<83.5
AND 短期線<中期線 AND 短期線<長期線+4,COLORGREEN;
頂部:=FILTER(頂部區域,4);
STICKLINE( {見頂 OR} 頂部,99,103,20,1 ),COLORRED,LINETHICK2;
底部區域:(長期線<12 AND 中期線<8 AND (短期線<7.2 OR REF(短期線,1)<5) AND (中期線>REF(中期線,1) OR 短期線>REF(短期線,1)))
OR (長期線<8 AND 中期線<7 AND 短期線<15 AND 短期線>REF(短期線,1)) OR (長期線<10 AND 中期線<7 AND 短期線<1) ,COLORGREEN;
STICKLINE( 底部區域,-4,0,22,0 ),COLORGREEN;
低位金叉:50*(長期線<15 AND REF(長期線,1)<15 AND 中期線<18 AND 短期線>REF(短期線,1) AND CROSS(短期線,長期線) AND 短期線>中期線
AND (REF(短期線,1)<5 OR REF(短期線,2)<5 ) AND (中期線>=長期線 OR REF( 短期線,1)<1 )),COLORRED;
STICKLINE( 低位金叉,0,5,11,0 ),COLORRED;
長、中、短期趨勢顯示,便於使用者明確股價當前走勢的狀況。頂部的紅色區域和底部的藍綠色區域用於使用者識別股價走勢的高低和超買超賣情況。最底部的綠色方塊顯示階段性底部,出現的紅點意味短線抄底訊號;而頂部的紅色方框表示階段性頭部區域提示使用者要謹慎。使用者使用時以黃色的中期趨勢線為主要的判斷依據,結合灰色短期線和紅色長期線把握買賣點,當長期趨勢線向上時儘量選擇短期線回撥時進場,反之要注意高拋止贏止損。可作為操盤線的有效輔助判斷工具。
具體的使用方法並不複雜,作為一個輔助指標應與操盤線結合使用。用法的要點如下:
1) 3條曲線的多空頭排列,類似均線系統,可以確認BS點買賣訊號。
2) 3條曲線的方向分別表明了當前股價的短中長期運動趨勢。
3) 3條曲線的位置,超買超賣現象類似擺動指標(20以下為超賣,80以上超買)。某些情況下有底部、抄底買點和風險區域訊號提示,方便使用者瞭解當前股價狀態。
4) 中長期曲線的頂底部背離特徵,用法類似傳統指標。
主力進出
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。若多方主力向上穿越空方主力,則為買入訊號。
2。若多方主力向下擊破空方主力,則為賣出訊號。
資金博弈
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);
超級資金: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 ;
超級資金
超戶:(BIGORDER(1,3)-BIGORDER(2,3))*vol/CAPITAL,COLOR3D ;
累計:EMA(超戶,A1)*A1,COLORMAGENTA;
均值:EMA(累計,10),colorwhite;
大戶資金
大戶:(BIGORDER(1,2)-BIGORDER(2,2)-BIGORDER(1,3)+BIGORDER(2,3))*vol/CAPITAL,COLOR3D ;
累計:EMA(大戶,A1)*A1,color3399FF;
中戶資金
中戶:(BIGORDER(1,1)-BIGORDER(2,1)-BIGORDER(1,2)+BIGORDER(2,2))*vol/CAPITAL,COLOR3D ;
累計:EMA(中戶,A1)*A1,colorcyan;
散戶資金
散戶:(BIGORDER(2,1)-BIGORDER(1,1))*vol/capital,COLOR3D ;
累計:EMA(散戶,A1)*A1,colorgreen;
主圖操盤線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; 指導線: EMA((EMA(CLOSE,4)+EMA(CLOSE,6)+EMA(CLOSE,12)+EMA(CLOSE,24))/4,2),linethick1,ColorFFffFF; 界: MA(CLOSE,27),linethick1,Color00FFFF; DRAWTEXT(cross(指導線,界),界," ̄ ̄"),ALIGN1,VALIGN0,Colorffffff; DRAWTEXT(cross(界,指導線),界," ̄ ̄"),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;
指導線: EMA((EMA(CLOSE,4)+EMA(CLOSE,6)+EMA(CLOSE,12)+EMA(CLOSE,24))/4,2),linethick1,ColorFFffFF;
界: MA(CLOSE,27),linethick1,Color00FFFF;
DRAWTEXT(cross(指導線,界),界,"上破"),ALIGN1,VALIGN2,Colorffffff;
DRAWTEXT(cross(指導線,界),界," ̄ ̄"),ALIGN1,VALIGN0,Colorffffff;
DRAWTEXT(cross(界,指導線),界,"下破"),ALIGN1,Color00ffff;
DRAWTEXT(cross(界,指導線),界," ̄ ̄"),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)+"萬股"+" 淨資產"+FINANCE(35)+"元"+" 公積金"+FINANCE(18)+"元"+" 每股收益"+FINANCE(33)+"元"+" 每股未分配"+FINANCE(32)+"元"+" 市盈率"+DYNAINFO(39);
指標名稱
指標程式碼
指標註釋
波段無敵
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軸以下為空方優勢區域,0軸以上為多頭優勢區。
3、若BD值等於-50且橫盤,堅決持幣觀望。
4、若BD值等於+50且橫盤,堅決持股待漲,且往往會漲勢加速。
5、股價回撥不破+30,繼續持股待漲,屬於正常調整。
籌碼分佈
HSL:=EMA(VOL/CAPITAL,3);
ZDL:=HHV(HSL,240);
ZXL:=LLV(HSL,240);
XS:=MA(C,33);
鎖定籌碼:EMA((HSL-ZXL)/ZXL*XS,13);
浮動籌碼:EMA((ZDL-HSL)/HSL*XS,13);
力量對比:鎖定籌碼-浮動籌碼 ,COLORSTICK;
分析市場籌碼流動情況,掌握多空對戰實力。
1。白線代表市場鎖定籌碼,多為主力控盤籌碼,數值越大說明主力控盤鎖定籌碼越多,上漲機率越大。
2。黃線代表市場浮動籌碼,多為散戶流動籌碼,數值越大說明散戶持有浮動籌碼越多,下跌機率越大。
3。柱差反映市場籌碼控盤能力,反映主力控盤力度,預示後市上揚機率及幅度,紅柱越大,說明主力控盤度越高,上漲機率越高,反之則下跌機率越高。
多空博弈
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。當“多方”線向上與“空方”線“金叉”時為買點。
2。當“多方”線向下與“空方”線“死叉”時為賣點。
買賣頻譜
買線: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。當白線向上穿越黃線為買入訊號,此時柱差顯示為紅色系頻譜。
3。當白線向下擊穿黃線為賣出訊號,此時柱差顯示威綠色系頻譜。
4。紅色系頻譜展開越充分,上升力度越強。
5。綠色系頻譜展開越充分,下跌力度越強。
趨勢頂底
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);
長期線:A+100,COLOR9900FF;
短期線:B+100,COLOR888888;
中期線:D+100,COLORYELLOW,LINETHICK2;
見頂:=((REF(中期線,1)>85 AND REF(短期線,1)>85 AND REF(長期線,1)>65) AND CROSS(長期線,短期線));
頂部區域:(中期線<REF(中期線,1) AND REF(中期線,1)>80) AND (REF(短期線,1)>95 OR REF(短期線,2)>95 ) AND 長期線>60 AND 短期線<83.5
AND 短期線<中期線 AND 短期線<長期線+4,COLORGREEN;
頂部:=FILTER(頂部區域,4);
STICKLINE( {見頂 OR} 頂部,99,103,20,1 ),COLORRED,LINETHICK2;
底部區域:(長期線<12 AND 中期線<8 AND (短期線<7.2 OR REF(短期線,1)<5) AND (中期線>REF(中期線,1) OR 短期線>REF(短期線,1)))
OR (長期線<8 AND 中期線<7 AND 短期線<15 AND 短期線>REF(短期線,1)) OR (長期線<10 AND 中期線<7 AND 短期線<1) ,COLORGREEN;
STICKLINE( 底部區域,-4,0,22,0 ),COLORGREEN;
低位金叉:50*(長期線<15 AND REF(長期線,1)<15 AND 中期線<18 AND 短期線>REF(短期線,1) AND CROSS(短期線,長期線) AND 短期線>中期線
AND (REF(短期線,1)<5 OR REF(短期線,2)<5 ) AND (中期線>=長期線 OR REF( 短期線,1)<1 )),COLORRED;
STICKLINE( 低位金叉,0,5,11,0 ),COLORRED;
長、中、短期趨勢顯示,便於使用者明確股價當前走勢的狀況。頂部的紅色區域和底部的藍綠色區域用於使用者識別股價走勢的高低和超買超賣情況。最底部的綠色方塊顯示階段性底部,出現的紅點意味短線抄底訊號;而頂部的紅色方框表示階段性頭部區域提示使用者要謹慎。使用者使用時以黃色的中期趨勢線為主要的判斷依據,結合灰色短期線和紅色長期線把握買賣點,當長期趨勢線向上時儘量選擇短期線回撥時進場,反之要注意高拋止贏止損。可作為操盤線的有效輔助判斷工具。
具體的使用方法並不複雜,作為一個輔助指標應與操盤線結合使用。用法的要點如下:
1) 3條曲線的多空頭排列,類似均線系統,可以確認BS點買賣訊號。
2) 3條曲線的方向分別表明了當前股價的短中長期運動趨勢。
3) 3條曲線的位置,超買超賣現象類似擺動指標(20以下為超賣,80以上超買)。某些情況下有底部、抄底買點和風險區域訊號提示,方便使用者瞭解當前股價狀態。
4) 中長期曲線的頂底部背離特徵,用法類似傳統指標。
主力進出
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。若多方主力向上穿越空方主力,則為買入訊號。
2。若多方主力向下擊破空方主力,則為賣出訊號。
資金博弈
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);
超級資金: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 ;
超級資金
A1:=MIN((COUNT(ORDER(2),0)),60);
超戶:(BIGORDER(1,3)-BIGORDER(2,3))*vol/CAPITAL,COLOR3D ;
累計:EMA(超戶,A1)*A1,COLORMAGENTA;
均值:EMA(累計,10),colorwhite;
大戶資金
A1:=MIN((COUNT(ORDER(2),0)),60);
大戶:(BIGORDER(1,2)-BIGORDER(2,2)-BIGORDER(1,3)+BIGORDER(2,3))*vol/CAPITAL,COLOR3D ;
累計:EMA(大戶,A1)*A1,color3399FF;
均值:EMA(累計,10),colorwhite;
中戶資金
A1:=MIN((COUNT(ORDER(2),0)),60);
中戶:(BIGORDER(1,1)-BIGORDER(2,1)-BIGORDER(1,2)+BIGORDER(2,2))*vol/CAPITAL,COLOR3D ;
累計:EMA(中戶,A1)*A1,colorcyan;
均值:EMA(累計,10),colorwhite;
散戶資金
A1:=MIN((COUNT(ORDER(2),0)),60);
散戶:(BIGORDER(2,1)-BIGORDER(1,1))*vol/capital,COLOR3D ;
累計:EMA(散戶,A1)*A1,colorgreen;
均值:EMA(累計,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; 指導線: EMA((EMA(CLOSE,4)+EMA(CLOSE,6)+EMA(CLOSE,12)+EMA(CLOSE,24))/4,2),linethick1,ColorFFffFF; 界: MA(CLOSE,27),linethick1,Color00FFFF; DRAWTEXT(cross(指導線,界),界," ̄ ̄"),ALIGN1,VALIGN0,Colorffffff; DRAWTEXT(cross(界,指導線),界," ̄ ̄"),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;
指導線: EMA((EMA(CLOSE,4)+EMA(CLOSE,6)+EMA(CLOSE,12)+EMA(CLOSE,24))/4,2),linethick1,ColorFFffFF;
界: MA(CLOSE,27),linethick1,Color00FFFF;
DRAWTEXT(cross(指導線,界),界,"上破"),ALIGN1,VALIGN2,Colorffffff;
DRAWTEXT(cross(指導線,界),界," ̄ ̄"),ALIGN1,VALIGN0,Colorffffff;
DRAWTEXT(cross(界,指導線),界,"下破"),ALIGN1,Color00ffff;
DRAWTEXT(cross(界,指導線),界," ̄ ̄"),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)+"萬股"+" 淨資產"+FINANCE(35)+"元"+" 公積金"+FINANCE(18)+"元"+" 每股收益"+FINANCE(33)+"元"+" 每股未分配"+FINANCE(32)+"元"+" 市盈率"+DYNAINFO(39);