您現(xiàn)在的位置: 南方財(cái)富網(wǎng) >> 股票知識 >> 股票公式 >> 正文
南方財(cái)富搜索

頂天立地炒股公式

2010-6-9 11:21:17   來源:南方財(cái)富網(wǎng)   佚名
    

頂天立地

DIFF:=EMA(C,5)-EMA(C,20);
DEA:=EMA(DIFF,10);
MACD:=500*(DIFF-DEA)/EMA(C,30);
STICKLINE(MACD>=0,0,MACD,2,0) ,COLORRED;
STICKLINE(MACD<=0,0,MACD,2,0) ,COLORLICYAN;
均線:MA(MACD,3);
進(jìn):IF(CROSS(MACD,均線)AND 均線>REF(均線,1),均線,DRAWNULL),COLORYELLOW;
STICKLINE(CROSS(MACD,均線)AND 均線>REF(均線,1),0,MACD,2,0),COLORYELLOW;
VARE:=(REF(LOW,1))*(0.89999997);
VARF:=(LOW)*(0.89999997);
VAR10:=((VARF)*(VOL)+(VARE)*(CAPITAL-VOL))/(CAPITAL);
VAR11:=EMA(VAR10,30);
VAR12:=CLOSE-REF(CLOSE,1);
VAR13:=MAX(VAR12,0);
VAR14:=ABS(VAR12);
VAR15:=((SMA(VAR13,7,1))/(SMA(VAR14,7,1)))*(100);
VAR16:=((SMA(VAR13,13,1))/(SMA(VAR14,13,1)))*(100);
VAR17:=BARSCOUNT(CLOSE);
VAR18:=((SMA(MAX(VAR12,0),6,1))/(SMA(ABS(VAR12),6,1)))*(100);
VAR19:=(((-200))*(HHV(HIGH,60)-CLOSE))/(HHV(HIGH,60)-LLV(LOW,60))+100;
VAR1A:=((CLOSE-LLV(LOW,15))/(HHV(HIGH,15)-LLV(LOW,15)))*(100);
VAR1B:=SMA((SMA(VAR1A,4,1)-50)*(2),3,1);
VAR1C:=((INDEXC-LLV(INDEXL,14))/(HHV(INDEXH,14)-LLV(INDEXL,14)))*(100);
VAR1D:=SMA(VAR1C,4,1);
VAR1E:=SMA(VAR1D,3,1);
VAR1F:=((HHV(HIGH,30)-CLOSE)/(CLOSE))*(100);
VAR20:=(VAR18<=25) AND (VAR19<(-95)) AND (VAR1F>20) AND (VAR1B<(-30)) AND (VAR1E<30) AND (VAR11-
      CLOSE>=(-0.25)) AND (VAR15<22) AND (VAR16<28) AND (VAR17>50);
A1:=CROSS(VAR20,0.5) AND (COUNT((VAR20=1),10)=1),COLOR00FFFF,LINETHICK2;
官人出現(xiàn):IF(A1,50,0),COLORRED,LINETHICK2;
官人入門:IF(VAR20,40,0),COLORYELLOW,LINETHICK2;
VAR26:=((CLOSE-LLV(LOW,27))/(HHV(HIGH,27)-LLV(LOW,27)))*(100);
VAR27:=REVERSE(VAR26);
VAR28:=SMA(VAR26,3,1);
快線:SMA(VAR28,3,1),COLOR0000FF;
慢線:SMA(快線,3,1),COLOR00FFFF;
進(jìn)了:IF(CROSS(快線,慢線)AND(快線>30),快線+10,慢線),COLORYELLOW,
      LINETHICK1;
DRAWTEXT(CROSS(快線,慢線)AND (快線>30),快線+10,'進(jìn)了')COLORMAGENTA;
短賣:IF(CROSS(慢線,快線) AND (慢線>75),85,100),COLOR008000,LINETHICK2;
DRAWTEXT(CROSS(慢線,快線) AND 快線>75,102,'頂天 '),COLORCYAN;
金叉買:IF(CROSS(快線,慢線) AND (快線<40),35,0),COLORMAGENTA,LINETHICK2,STICK;
DRAWTEXT(CROSS(快線,慢線) AND 快線<30,35,'立地 '),COLORYELLOW;

{STICKLINE(金叉買,0,20,8,0),COLORRED;
STICKLINE(金叉買,18,35,2,0),COLORRED;  }
STICKLINE(快線>慢線,快線,慢線,2,0),COLORRED;
STICKLINE(快線<慢線,快線,慢線,2,0),COLORGREEN;
VARA:=IF(REF(L,1)<=LLV(L,120) AND HHV(C,120)/LLV(C,120)>1.25 AND C>O AND HIGH>LOW+0.04,4,0);
還要:IF(VARA>0,40,0),COLORLIRED,POINTDOT,{STICK,LINETHICK2};
STICKLINE(還要,40,0,2,0),COLORLIRED;
V1:=AMOUNT/VOL/100;
V2:=(3*HIGH+LOW+OPEN+2*CLOSE)/7;
V3:=SUM(AMOUNT,7)/V1/100;
V4:=DMA(V2,VOL/V3);
V5:=(CLOSE-V4)/V4*100;
V6:=MA(V5,20)+STD(V5,20);
BIAS21:=(CLOSE-MA(CLOSE,21))/MA(CLOSE,21)*100;
STICKLINE(REF(BIAS21,1)>=5 AND CROSS(V6,V5) AND REF("KDJ.J"(34,3,3),1)>80
          AND REF("KDJ.J"(9,3,3),1)>80,100,98,3,0),COLORRED;
110;

 
    如何操作一看就明白。當(dāng)然 ,還有更深刻的含義。指標(biāo)不是萬能的,但沒有指標(biāo)我現(xiàn)在還是看不清的,哈哈高手可能不要指標(biāo)吧。這個(gè)指標(biāo)是我在別人源碼的基礎(chǔ)上修改的,目的是讓自己按自己的習(xí)慣和理念進(jìn)行操作,再好的槍如果打不準(zhǔn)有啥用呢?是吧。改掉的是我弄不明白的,現(xiàn)在改好的是我可以瞄準(zhǔn)的。隨著時(shí)間的延續(xù)經(jīng)驗(yàn)的曾加可能以后還得改進(jìn),有好的妙招大家也可以幫我一下呀。

(責(zé)任編輯:張?jiān)墸?/td>
    南方財(cái)富網(wǎng)聲明:股市資訊來源于合作媒體及機(jī)構(gòu),屬作者個(gè)人觀點(diǎn),僅供投資者參考,并不構(gòu)成投資建議。投資者據(jù)此操作,風(fēng)險(xiǎn)自擔(dān)。
商務(wù)進(jìn)行時(shí)
每日必讀
學(xué)院24小時(shí)排行
證券導(dǎo)讀
熱圖推薦

關(guān)于南方財(cái)富網(wǎng)版權(quán)聲明誠聘英才廣告服務(wù)網(wǎng)站地圖友情鏈接
特此聲明:廣告商的言論與行為均與南方財(cái)富網(wǎng)無關(guān)
rmkc.cn
南方財(cái)富網(wǎng) © 版權(quán)所有 閩ICP備09035581號