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

通達(dá)信股票公式之十面埋伏

2012/12/12 14:25:17   來(lái)源:本站原創(chuàng)   佚名
    

  通達(dá)信股票公式之十面埋伏

  {江上晴云:}

  VAR2:=EMA(C,5);

  VAR3:=EMA(C,10);

  VAR4:=EMA(C,20);

  VAR5:=2*(VAR2-VAR4);

  VAR6:=2*(VAR2-VAR3);

  VAR7:2*(VAR6+VAR5);

  STICKLINE(CROSS(VAR7,0),0,10,1,0),COLORRED;

  0;

  {寶石買入:(可選股)}

  BN:=20;

  C2:=MA(C,2),LINETHICK0;

  MA10:=MA(C2,10),LINETHICK0;

  MA20:=MA(C2,BN),LINETHICK0;

  MA60:=MA(C2,60),LINETHICK0;

  BOLL:=MA20;

  UPPER:=BOLL+1.618*STD(C2,BN),COLORGREEN,LINETHICK0;

  LOWER:=BOLL-1.618*STD(C2,BN),COLORGREEN,LINETHICK0;

  CROSS(C2,LOWER);

  {十面埋伏:}

  {主力潛伏}

  N3:=14;

  M:=156;

  TYP:=(HIGH+LOW+CLOSE)/3;

  DIFF:=EMA(CLOSE,12)-EMA(CLOSE,26);

  DEA1:=EMA(DIFF,9);

  MACD1:=2*(DIFF-DEA1);

  主力潛伏中:=COUNT(MACD1《0,10)=10;

  STICKLINE(主力潛伏中,0,4,3,0),COLOR00CCFF;

  DRAWTEXT(ISLASTBAR,6,‘--主力潛伏’),COLOR00CCFF;

  獲利盤:WINNER(CLOSE)*100,COLOR00CCFF,LINETHICK0.03;

  {主力出逃}

  資金:=EMA(100*(CLOSE-LLV(LOW,34))/(HHV(HIGH,34)-LLV(LOW,34)),3)/4;

  外圍游資:=(資金》23.16);

  STICKLINE((資金》23.16),0,4,4,0),COLORGREEN;

  {DRAWTEXT(外圍游資,2.5,‘*’),COLOR2828FF;}

  DRAWTEXT(ISLASTBAR,2,‘--主力出逃’),COLOR00FF00;

  {出手就贏}

  VAR2H:=REF(LOW,1);

  VAR3H:=SMA(ABS(LOW-VAR2H),3,1)/SMA(MAX(LOW-VAR2H,0),3,1)*100;

  VAR4H:=EMA(IF(CLOSE*1.3,VAR3H*10,VAR3H/10),3);

  VAR5H:=LLV(LOW,30);

  VAR6H:=HHV(VAR4H,30);

  VAR7H:=IF(MA(CLOSE,58),1,0);

  VAR8H:=EMA(IF(LOW《=VAR5H,(VAR4H+VAR6H*2)/2,0),3)/618*VAR7H;

  VAR9H:=IF(VAR8H》100,100,VAR8H);

  STICKLINE(VAR9H》-150,0,VAR9H,4,0.3),COLOR888888;

  底部吸籌指標(biāo):= (CLOSE-MA(CLOSE,40))/MA(CLOSE,40)*100;

  DRAWICON(CROSS(底部吸籌指標(biāo),-24),30,26);

  先知:= (CLOSE-MA(CLOSE,5))/MA(CLOSE,5)/10;

  DRAWICON(先知,30,1);

  {可能放量拉升:= IF(CROSS(底部吸籌指標(biāo),-24),1,0);

  短線獲利:=STICKLINE(REF(“KDJ.J”,1)《0 AND “KDJ.J”》0);}

  VARK1:=(CLOSE-LLV(LOW,27))/(HHV(HIGH,27)-LLV(LOW,27))*100;

  VARK2:=REVERSE(VARK1);

  VARK3:=SMA(VARK1,3,1);

  {波段王:=SMA(VARK3,3,1);

  波段鬼:=SMA(波段王,2.5,1);}

  趨勢(shì)線:= 3*SMA((CLOSE-LLV(LOW,27))/(HHV(HIGH,27)-LLV(LOW,27))*100,5,1)-2*SMA(SMA((CLOSE-LLV(LOW,27))/(HHV(HIGH,27)-LLV(LOW,27))*100,5,1),3,1), ,COLORFF6666,LINETHICK2;

  RSV9:=(CLOSE-LLV(LOW,9))/(HHV(HIGH,9)-LLV(LOW,9))*100;

  K1:=SMA(RSV9,3,1);DK1:=K1-REF(K1,1);

  出手就贏:=(DK1》7 AND REF(DK1,1)《0 AND (DK1-REF(DK1,1))》9);

  DRAWICON(出手就贏》0,30,1);

  買點(diǎn)準(zhǔn)備:=(趨勢(shì)線《=10);

  DRAWICON(REF(“KDJ.J”,1)《0 AND “KDJ.J”》0,30,25);

  DRAWTEXT(ISLASTBAR,30,‘--出手就贏’);

  {主力進(jìn)場(chǎng)}

  VAR1A:=REF((LOW+OPEN+CLOSE+HIGH)/4,1);

  VAR2A:=SMA(ABS(LOW-VAR1A),13,1)/SMA(MAX(LOW-VAR1A,0),10,1);

  VAR3A:=EMA(VAR2A,10);

  VAR4A:=LLV(LOW,33);

  VAR5A:=EMA(IF(LOW《=VAR4A,VAR3A,0),3);

  主力進(jìn)場(chǎng):=(VAR5A》REF(VAR5A,1));

  DRAWICON(主力進(jìn)場(chǎng),40,1);

  DRAWTEXT(ISLASTBAR,40,‘--主力進(jìn)場(chǎng)’);

  {抄底魔鬼}

  底7:=(CLOSE-MA(CLOSE,58))/MA(CLOSE,58)《-0.225;

  DRAWICON(底7,10,26);

  VAR2T:=(CLOSE-LLV(LOW,21))/(HHV(HIGH,21)-LLV(LOW,21))*100;

  VAR3T:=SMA(SMA(VAR2T,3,1),3,1);

  VAR4T:=SMA(VAR3T,3,1);

  VAR5T:=3*VAR3T-2*VAR4T;

  VAR6T:=3*SMA((CLOSE-LLV(LOW,27))/(HHV(HIGH,27)-LLV(LOW,27))*100,5,1)-2*SMA

  (SMA((CLOSE-LLV(LOW,27))/(HHV(HIGH,27)-LLV(LOW,27))*100,5,1),3,1);

  VAR7T:=10;

  底3:=(CROSS(VAR6T,VAR7T));

  DRAWICON(底3,10,1);

  VAR8T:=(CLOSE-LLV(LOW,60.135))/(HHV(HIGH,60.135)-LLV(LOW,60))*80;

  VAR9T:=SMA(VAR8T,7,1);

  VARA:=SMA(VAR9T,5,1);

  底4:=(CROSS(VAR9T,VARA AND VAR9T《20));

  DRAWICON(CROSS(VAR9T,VARA AND VAR9T《20),10,1);

  VARB:=(CLOSE-LLV(LOW,60))/(HHV(HIGH,60)-LLV(LOW,60))*100;

  VARC:=SMA(VARB,5,1); VARD:=SMA(VARC,5,1);

  底5:=(CROSS(VARC,VARD AND VARC《20));

  DRAWICON(底5,10,1);

  VARE:=1/WINNER(CLOSE); VARF:=(CLOSE-MA(CLOSE,13))/MA(CLOSE,13)*100;

  VAR10T:=100-ABS(VARF); VAR11T:m.dixmanbetx.com=IF(VARE》5,IF(VARE《100,VARE,VAR10T-10),0);

  VAR12T:=HHV(HIGH,25); VAR13T:=LLV(LOW,25);

  VAR14T:=EMA((CLOSE-VAR13T)/(VAR12T-VAR13T)*100,5);

  底6:=(CROSS(VAR14T,VAR11T));

  DRAWICON(底6,10,13);

  DRAWTEXT(ISLASTBAR,10,‘--抄底魔鬼’);

  {機(jī)會(huì)來(lái)臨}

  VAR2K:=REF(LOW,1);

  VAR3K:=SMA(ABS(LOW-VAR2K),13,1)/SMA(MAX(LOW-VAR2K,0),13,1)*100;

  VAR4K:=EMA(IF(CLOSE*1.2,VAR3K*13,VAR3K/13),13);

  VAR5K:=LLV(LOW,34);

  VAR6K:=HHV(VAR4K,34);

  VAR7K:=IF(LLV(LOW,55),1,0);

  VAR8K:=EMA(IF(LOW《=VAR5K,(VAR4K+VAR6K*2)/2,0),3)/618*VAR7K;

  VAR9K:=EMA(CLOSE,5);

  VAR10K:=(CLOSE-MA(CLOSE,34))/MA(CLOSE,34)*(-10);

  VAR11K:=EMA(IF(LOW《=VAR5K,(VAR4K+VAR6K*2)/2,0),3)/618*VAR7K*(-1);

  VAR12K:=EMA(CLOSE,5)*(-1);

  XL1:=MA(LOW,2)*0.96;

  XL2:=MA(LOW,26)*0.85;

  XL3:=REF(XL1,1)《XL2 AND REF(XL1,1)《XL1 AND REF(XL1,1)《REF(XL1,2);

  DRAWICON(XL3,20,1);

  VA:=(2*C+H+L)/4;

  VB:=LLV(L,5);

  VC:=HHV(H,5);

  紅線上穿買:EMA((VA-VB)/(VC-VB)*27,5)*4,COLOR0000D2;

  紅線下穿賣:EMA(紅線上穿買,3),COLORFF9900;

  散戶:= EMA(((2*CLOSE+HIGH+LOW)/4-LLV(LOW,5))/(HHV(HIGH,4)-LLV(LOW,5))*100,4);

  莊家:= EMA(0.667*REF(散戶,1)+0.333*散戶,2);

  DRAWICON(CROSS(散戶,莊家) AND 散戶《30,80,1);

  DRAWICON(CROSS(莊家,散戶) AND 散戶》70,80,2);

  極品底:=((MA(C,5)-C)/C》0.04 AND (MA(C,10)-MA(C,5))/MA(C,5)》0.04);

  DRAWICON(極品底,80,25);

  RSV:=(((CLOSE - LLV(LOW,9)) / (HHV(HIGH,9) - LLV(LOW,9))) * 100);

  K:=SMA(RSV,3,1);

  D:=SMA(K,3,1);

  J:=3*K-2*D;

  X:=LLV(J,2)=LLV(J,8);

  DRAWICON(CROSS(J,REF(J+0.01,1)) AND X AND J《19,80,1);

  QVAR1A:=((HHV(HIGH,21)-CLOSE)/(HHV(HIGH,21)-LLV(LOW,21)))*(100)-10;

  QVAR1B:=((CLOSE-LLV(LOW,21))/(HHV(HIGH,21)-LLV(LOW,21)))*(100);

  QVAR1C:=SMA(QVAR1B,13,8);

  QVAR1D:=SMA(QVAR1A,21,8);

  機(jī)會(huì)來(lái)臨:=SMA(QVAR1C,13,8);

  AAS:=FILTER((COUNT((機(jī)會(huì)來(lái)臨-QVAR1D《(-65)),3)=3),34);

  DRAWICON(AAS,80,1);

  DRAWTEXT(ISLASTBAR,80,‘--機(jī)會(huì)來(lái)臨’);

  {最佳買入選股}

  LC:=REF(CLOSE,1);

  RSI5:=((SMA(MAX((CLOSE - LC),0),5,1) / SMA(ABS((CLOSE - LC)),5,1)) * 100);

  TR1:=SUM(MAX(MAX((HIGH - LOW),ABS((HIGH - REF(CLOSE,1)))),ABS((LOW - REF(CLOSE,1)))),10);

  

[1] [2] 下一頁(yè)

(南方財(cái)富網(wǎng)SOUTHMONEY.COM)
    南方財(cái)富網(wǎng)聲明:股市資訊來(lái)源于合作媒體及機(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)聲明誠(chéng)聘英才廣告服務(wù)網(wǎng)站地圖友情鏈接
特此聲明:廣告商的言論與行為均與南方財(cái)富網(wǎng)無(wú)關(guān)
m.dixmanbetx.com
南方財(cái)富網(wǎng) © 版權(quán)所有 閩ICP備09035581號(hào)