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

通達信公式:實(shí)戰性極強的極品主圖(公式,主圖,源碼)

2013/3/29 11:43:24   來(lái)源:本站原創(chuàng )   佚名
    

通達信公式:實(shí)戰性極強的極品主圖(公式,主圖,源碼)

  {N:1 100 5 M:1 100 13}{喜歡什么均線(xiàn)自己調,不影響買(mǎi)賣(mài)}

  V1:=ABS((2*CLOSE+HIGH+LOW)/4-MA(CLOSE,20))/MA(CLOSE,20);

  V2:=(1-7/100)*(DMA(CLOSE,V1));

  V3:=(1+7/100)*(DMA(CLOSE,V1));

  V5:=MA((LOW+HIGH+CLOSE)/3,5);

  支撐:REFDATE(V2,DATE),POINTDOT,LINETHICK3,COLORCC66FF;

  阻力:REFDATE(V3,DATE),POINTDOT,LINETHICK3,COLORGREEN;

  MA1:=MEMA(CLOSE,5);

  MA2:=ATAN((MA1/REF(MA1,1)-1)*100)*180/3.1416;

  MA3:=IF(MA2>0,MA2,MA2);

  MA5:MA(CLOSE,N),COLOR888899;

  MA30:MA(C,30),COLORYELLOW;

  MA13:MA(CLOSE,M),COLORFF9900,LINETHICK2;

  VAR1:=CLOSE=HHV(C,4) AND (REF(C,1)>=REF(C,2) OR REF(C,1)>=REF(C,3)) OR REF(C,1)=HHV(C,4) AND CLOSE>=REF(C,2) OR REF(C,2)=HHV(C,4) AND REF(C,3)=LLV(C,4) AND C>=REF(C,1) OR REF(C,3)=HHV(C,4) AND C>=REF(C,1) AND C>=REF(C,2);

  VAR2:=CLOSE=HHV(C,4) AND REF(C,1)=LLV(C,4);

  VAR3:=CLOSE=LLV(C,4) AND (REF(C,1)

  VAR4:=REF(C,1)=LLV(C,4) AND C>=REF(C,2) OR REF(C,2)=LLV(C,4) AND REF(C,1)<=REF(C,3) AND REF(C,2)=REF(C,1);

  VAR5:=REF(C,1)=HHV(C,4) AND CREF(C,3) OR REF(C,3)=HHV(C,4) AND REF(C,1)>REF(C,2)) AND REF(C,2)>=REF(C,4) AND C

  VAR6:=V5>REF(V5,1) AND REF(V5,1)

  VAR7:=LOWHHV(V5,13) AND CLOSE>REF(C,1) AND CLOSE>OPEN;

  VAR8:=VAR7 AND COUNT(VAR6,2);

  VAR9:=100*EMA(EMA(C-REF(C,1),6),6)/EMA(EMA(ABS(C-REF(C,1)),6),6);

  VAR10:=EMA(MA(C,13),13);

  VAR11:=FILTER((LLV(VAR9,2)=LLV(VAR9,7) AND COUNT(VAR9<0,2) AND CROSS(VAR9,MA(VAR9,2)))=1,5);

  VAR12:=FILTER((HHV(VAR9,2)=HHV(VAR9,7) AND COUNT(VAR9>50,2) AND CROSS(MA(VAR9,2),VAR9))=1,1);

  VAR13:=SMA(EMA((C-REF(C,1))/REF(C,1),5)*100,3,1)*10;

  VAR14:=FILTER(((CROSS(VAR13,0) OR CROSS(C,VAR10)) AND VAR11)=1,3);

  VAR15:=MA(C,18)>=REF(MA(C,18),3) AND CROSS(C,MA(C,18));

  VAR16:=VAR8 AND NOT(REF(VAR8,1));

  強攻:IF(MA3>REF(MA3,1) AND MA3>=0,MA13,DRAWNULL),COLORYELLOW,LINETHICK2;

  回調:IF(MA30,MA13,DRAWNULL),COLORGREEN,LINETHICK2;

  {KDJ}

  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;

  金叉:=CROSS(J,D);

  死叉:=CROSS(D,J);

  買(mǎi)1:=(VAR14 OR VAR15) AND VAR11;

  買(mǎi)2:=(VAR14 OR VAR15) AND VAR4;

  買(mǎi)3:=(VAR14 OR VAR15) AND VAR2;

  買(mǎi)4:=(VAR2 AND VAR11) OR (VAR4 AND VAR11);

  買(mǎi)5:=(金叉 AND VAR4) OR (金叉 AND VAR2) OR (金叉 AND VAR11);

  {漲停}

  STICKLINE(CLOSE>REF(CLOSE,1)*1.0985 AND CLOSE=HIGH,CLOSE,OPEN,4,-1),COLOR00FFFF;

  {跌停}

  STICKLINE(CLOSE

  {藍}

  STICKLINE(OPEN>=CLOSE,CLOSE,OPEN,3,0),COLORFF7700;

  STICKLINE(OPEN>=CLOSE,CLOSE,OPEN,2.2,0),COLORFF9900;

  STICKLINE(OPEN>=CLOSE,CLOSE,OPEN,1.5,0),COLORFFBB00;

  STICKLINE(OPEN>=CLOSE,CLOSE,OPEN,0.5,0),COLORCYAN;www.travelwithnise.com

  

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

(南方財富網(wǎng)SOUTHMONEY.COM)
    南方財富網(wǎng)聲明:股市資訊來(lái)源于合作媒體及機構,屬作者個(gè)人觀(guān)點(diǎn),僅供投資者參考,并不構成投資建議。投資者據此操作,風(fēng)險自擔。
延伸閱讀
商務(wù)進(jìn)行時(shí)
每日必讀
學(xué)院24小時(shí)排行
證券導讀
熱圖推薦

關(guān)于南方財富網(wǎng) -版權聲明誠聘英才廣告服務(wù)網(wǎng)站地圖友情鏈接
特此聲明:廣告商的言論與行為均與南方財富網(wǎng)無(wú)關(guān)
www.travelwithnise.com
南方財富網(wǎng) © 版權所有 閩ICP備09035581號
最近中文字幕高清免费大全8