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

大智慧股票公式之無(wú)敵均線(xiàn)

2013/6/18 16:44:46   來(lái)源:本站原創(chuàng)   佚名
    

大智慧股票公式之無(wú)敵均線(xiàn)

  無(wú)敵均線(xiàn)

  INPUT:N1(5,0,999),N2(10,0,999),N3(20,0,999),N4(30,0,999),N5(60,0,999),N6(120,0,999),N日(8,1,20),K線(xiàn)(2,1,9);

  MA1:MA(CLOSE,N1);

  MA2:MA(CLOSE,N2);

  MA3:MA(CLOSE,N3);

  MA4:MA(CLOSE,N4);

  MA5:MA(CLOSE,N5);

  MA6:MA(CLOSE,N6);

  連紅:LAST(CLOSE>OPEN),PRECIS0,color0000FF,linethick0;

  連綠:LAST(CLOSE<OPEN),PRECIS0,color00FF00,linethick0;

  x9:FORCAST(c,9),Colorwhite,LINETHICK2;

  llx:=llv(FORCAST(c,9),2);

  PARTLINE(x9,x9=llx,rgb(255,205,0),x9<>llx,rgb(255,0,0)),linethick2;

  {13}

  STICKLINE(CLOSE>OPEN,OPEN,LOW,1,0 ),COLOR0022FF; {收盤(pán)價(jià)>開(kāi)盤(pán)價(jià),從開(kāi)盤(pán)價(jià)到最低價(jià)用紅色}

  STICKLINE(CLOSE>OPEN,CLOSE,HIGH,1 ,0 ),COLOR0022FF;{收盤(pán)價(jià)>開(kāi)盤(pán)價(jià),從收盤(pán)價(jià)到最高價(jià)用紅色}

  {16}

  STICKLINE(CLOSE<=OPEN,CLOSE,LOW,1 ,0 ),Color00E100;{收盤(pán)價(jià)<=開(kāi)盤(pán)價(jià),從收盤(pán)價(jià)到最低價(jià)用綠色}

  STICKLINE(CLOSE<=OPEN,OPEN,HIGH,1 ,0 ),Color00E100;{收盤(pán)價(jià)<=開(kāi)盤(pán)價(jià),從開(kāi)盤(pán)價(jià)到最高價(jià)用綠色}

  {19}

  STICKLINE(CLOSE<=OPEN ,CLOSE ,OPEN,7.5,0 ),color003300;{收盤(pán)價(jià)<=開(kāi)盤(pán)價(jià),從收盤(pán)價(jià)到開(kāi)盤(pán)價(jià)用綠色}

  STICKLINE(CLOSE<=OPEN ,CLOSE ,OPEN,6,0 ),color005500;

  STICKLINE(CLOSE<=OPEN ,CLOSE ,OPEN,5,0 ),color007700;

  STICKLINE(CLOSE<=OPEN ,CLOSE ,OPEN,4,0 ),color009900;

  STICKLINE(CLOSE<=OPEN ,CLOSE ,OPEN,2.5,0 ),color00bb00;

  STICKLINE(CLOSE<=OPEN ,CLOSE ,OPEN,1,0 ),Color00E100;

  {26}

  STICKLINE(CLOSE>OPEN,CLOSE,OPEN,7.5,0) ,COLOR000033;{收盤(pán)價(jià)>開(kāi)盤(pán)價(jià),從開(kāi)盤(pán)價(jià)到收盤(pán)價(jià)用紅色}

  STICKLINE(CLOSE>OPEN,CLOSE,OPEN,6,0) ,COLOR000066;

  STICKLINE(CLOSE>OPEN,CLOSE,OPEN,5,0) ,COLOR000088;

  STICKLINE(CLOSE>OPEN,CLOSE,OPEN,4,0) ,COLOR0000BB;

  STICKLINE(CLOSE>OPEN,CLOSE,OPEN,2.5,0) ,COLOR0000EE;

  STICKLINE(CLOSE>OPEN,CLOSE,OPEN,1,0) ,COLOR0000ff;

  {33}

  var9Q:=c= 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);

  STICKLINE(var9Q,c,(o+c)/2,7.5,0),color000033;{符合上述條件,從收盤(pán)價(jià)到中間用紅色}

  STICKLINE(var9Q,c,(o+c)/2,6,0),color000066;

  STICKLINE(var9Q,c,(o+c)/2,5,0),color000088;

  STICKLINE(var9Q,c,(o+c)/2,4,0),color0000BB;

  STICKLINE(var9Q,c,(o+c)/2,2.5,0),color0000EE;

  STICKLINE(var9Q,c,(o+c)/2,1,0),color0000FF;

  {41}

  varaQ:=c=hhv(c,4) and ref(c,1)=llv(c,4);

  STICKLINE(varaQ,c,(o+c)/2,7.5,0),Color4D0099;{符合上述條件,從收盤(pán)價(jià)到中間用玫紅色}

  STICKLINE(varaQ,c,(o+c)/2,6,0),Color5F00BD;

  STICKLINE(varaQ,c,(o+c)/2,5,0),Color6500CA;

  STICKLINE(varaQ,c,(o+c)/2,4,0),Color7600EC;

  STICKLINE(varaQ,c,(o+c)/2,2.5,0),Color9933FF;

  STICKLINE(varaQ,c,(o+c)/2,1,0),ColorAD5BFF;

  {49}

  varbQ:=c=llv(c,4) and (ref(c,1)<ref(c,2) or ref(c,1)<ref(c,3)) or ref(c,1)=llv(c,4) and c<ref(c,2) or ref(c,2)=llv(c,4) and ref(c,1)<>hhv(c,4) and c<ref(c,1) or ref(c,3)=llv(c,4) and c<ref(c,1) and c<ref(c,2);

  STICKLINE(varbQ,c,(o+c)/2,7.5,0),color333333;{符合上述條件,從收盤(pán)價(jià)到中間用銀色}

  STICKLINE(varbQ,c,(o+c)/2,6,0),color666666;

  STICKLINE(varbQ,c,(o+c)/2,5,0),color888888;

  STICKLINE(varbQ,c,(o+c)/2,4,0),colorBBBBBB;

  STICKLINE(varbQ,c,(o+c)/2,2.5,0),colorEEEEEE;

  STICKLINE(varbQ,c,(o+c)/2,1,0),colorffffff;

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