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

通達(dá)信股票公式之甜甜的糖葫蘆串

2013/5/30 13:49:56   來(lái)源:本站原創(chuàng)   佚名
    

通達(dá)信股票公式之甜甜的糖葫蘆串

  糖葫蘆串$$(參數(shù)M4:2,1000,60;M5:2,1000,120)

  高: HHV(EMA(EMA(EMA(EMA(EMA(L,2),2),2),2),2),2),COLORLIBLUE,LINETHICK1;

  低: LLV(EMA(EMA(EMA(EMA(EMA(L,2),2),2),2),2),1),COLORRED,LINETHICK2;

  {30分鐘MA}

  MA4:=MA(C,4),COLORBLUE,LINETHICK4;

  A8:=MA(C,8),COLORRED;

  A24:=MA(C,24),COLORRED;

  A40:=MA(C,40);

  A80:=MA(C,80);

  A160:=MA(C,160);

  DK:=A8;

  買:IF(MA4>REF(MA4,1),MA4,DRAWNULL),COLORRED,LINETHICK4;

  賣:IF(MA4<REF(MA4,1),MA4,DRAWNULL),COLORGREEN,LINETHICK4;

  STICKLINE(DK<=C AND CLOSE>=OPEN,HIGH,LOW,0,1),COLORRED;

  STICKLINE(DK<=C AND CLOSE>=OPEN,CLOSE,OPEN,3.2,0),COLOR6600FF;

  STICKLINE(DK<=C AND CLOSE>=OPEN,CLOSE,OPEN,2.7,0),COLORDD33FF;

  STICKLINE(DK<=C AND CLOSE>=OPEN,CLOSE,OPEN,2.1,0),COLORFF55FF;

  STICKLINE(DK<=C AND CLOSE>=OPEN,CLOSE,OPEN,1.5,0),COLORFF88FF;

  STICKLINE(DK<=C AND CLOSE>=OPEN,CLOSE,OPEN,0.9,0),COLORFFAAFF;

  STICKLINE(DK<=C AND CLOSE>=OPEN,CLOSE,OPEN,0.3,0),COLORFFCCFF;

  STICKLINE(DK<=C AND CLOSE<OPEN,HIGH,LOW,0,1),COLORRED;

  STICKLINE(DK<=C AND CLOSE<OPEN,CLOSE,OPEN,3.2,0),COLOR000033;

  STICKLINE(DK<=C AND CLOSE<OPEN,CLOSE,OPEN,2.7,0),COLOR000066;

  STICKLINE(DK<=C AND CLOSE<OPEN,CLOSE,OPEN,2.1,0),COLOR000099;

  STICKLINE(DK<=C AND CLOSE<OPEN,CLOSE,OPEN,1.5,0),COLOR0000CC;

  STICKLINE(DK<=C AND CLOSE<OPEN,CLOSE,OPEN,0.9,0),COLOR0000FF;

  STICKLINE(DK<=C AND CLOSE<OPEN,CLOSE,OPEN,0.3,0),COLORCC66FF;

  STICKLINE(DK>C AND CLOSE>=OPEN,HIGH,LOW,0,1),COLORGREEN;

  STICKLINE(DK>C AND CLOSE>=OPEN,CLOSE,OPEN,3.2,0 ),COLOR990000;

  STICKLINE(DK>C AND CLOSE>=OPEN,CLOSE,OPEN,2.7,0 ),COLORCC0000;

  STICKLINE(DK>C AND CLOSE>=OPEN,CLOSE,OPEN,2.1,0),COLORFF4400;

  STICKLINE(DK>C AND CLOSE>=OPEN,CLOSE,OPEN,1.5,0 ),COLORFF8800;

  STICKLINE(DK>C AND CLOSE>=OPEN,CLOSE,OPEN,0.9,0 ),COLORFFCC00;

  STICKLINE(DK>C AND CLOSE>=OPEN,CLOSE,OPEN,0.3,0 ),COLORCYAN;

  STICKLINE(DK>C AND CLOSE<OPEN,HIGH,LOW,0,1),COLORWHITE;

  STICKLINE(DK>C AND CLOSE<OPEN,CLOSE,OPEN,3.2,0 ),COLOR555555;

  STICKLINE(DK>C AND CLOSE<OPEN,CLOSE,OPEN,2.7,0 ),COLOR777777;

  STICKLINE(DK>C AND CLOSE<OPEN,CLOSE,OPEN,2.1,0 ),COLOR999999;

  STICKLINE(DK>C AND CLOSE<OPEN,CLOSE,OPEN,1.5,0 ),COLOR999999;

  STICKLINE(DK>C AND CLOSE<OPEN,CLOSE,OPEN,0.9,0 ),COLORDDDDDD;

  STICKLINE(DK>C AND CLOSE<OPEN,CLOSE,OPEN,0.3,0 ),COLORFFFFFF;

  {NO.2}

  VAR31:=(3*CLOSE+LOW+OPEN+HIGH)/6;

  VAR41:=(20*VAR31+19*REF(VAR31,1)+18*REF(VAR31,2)+17*REF(VAR31,3)+16*REF(VAR31,4)+15*REF(VAR31,5)+14*REF(VAR31,6)+13*REF(VAR31,7)+12*REF(VAR31,8)+11*REF(VAR31,9)+10*REF(VAR31,10)+9*REF(VAR31,11)+8*REF(VAR31,12)+7*REF(VAR31,13)+6*REF(VAR31,14)+5*REF(VAR31,15)+4*REF(VAR31,16)+3*REF(VAR31,17)+2*REF(VAR31,18)+REF(VAR31,20))/210,COLORRED;

  VAR51:=MA(VAR41,6),COLORGREEN;

  DRAWBAND(VAR41,RGB(155,50,50),VAR51,RGB(0,100,50));

  紅線:VAR41,COLORRED;

  綠線:VAR51,COLORGREEN;

  X1:=(C+L+H)/1.5;

  X2:=EMA(X1,3);

  X3:=EMA(X2,2.5);

  DRAWICON(CROSS(X2,X3),L*0.98,9),COLORRED;

  DIFF1:=EMA(DCLOSE,12)-EMA(DCLOSE,26);

  DEA1:=EMA(DIFF1,9);

  DRAWICON(CROSS(DIFF1,DEA1),L*0.95,9),COLORYELLOW;

  CBFB:=COSTEX(C,REF(C,1));

  JL:=IF(C>CBFB,V,0);

  CL:=IF(C<CBFB,V,0);

  JLH:=SUM(JL,4);

  CLH:=SUM(CL,4);

  LHB:=CLH/JLH;

  TJ1:=IF(HHV(LHB,5)>4 AND CROSS(2,LHB) AND C>=O,1,0);

  DRAWICON(TJ1,L*0.96,9),COLORBLUE;

  VAR1:=EMA((C-(LLV(L,25)))/((HHV(H,25))-(LLV(L,25)))*100,5);

  VAR2:=VAR1,COLORRED,LINETHICK2;

  VAR3:=MA((V-REF(V,1))/REF(V,1),5);

  VAR4:=(C-MA(C,24))/MA(C,24)*100;

  VAR5:=VAR4*(1+VAR3);

  VAR6:=REF(VOL,1);

  VAR7:=SMA(MAX(VOL-VAR6,0),6,1)/SMA(ABS(VOL-VAR6),6,1)*100;

  VAR8:=VAR5>REF(VAR5,1) AND VAR2<REF(VAR2,1) AND VAR7>REF(VAR7,1);

  VAR9:=VAR5<REF(VAR5,1) AND VAR2>REF(VAR2,1) AND VAR7>REF(VAR7,1);

  VAR10:=VAR5>REF(VAR5,1) AND VAR2<REF(VAR2,1) AND VAR7<REF(VAR7,1);

[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)