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

飛狐股票公式之箱體王主圖(2)

2013/5/3 16:42:28   來源:本站原創(chuàng)   佚名
    

  IF LC=0 AND HC》1 THEN BEGIN

  BB:=FL[I];

  LC:=LC+1;

  END;

  END;ELSE BEGIN

  HC:=0;

  LC:=0;

  END;

  END;ELSE

  IF HC=1 THEN BEGIN

  IF BT》FH[I] THEN

  HC:=HC+1;ELSE BEGIN

  HC:=0;

  LC:=0;

  END;

  END;

  IF HC=0 THEN BEGIN

  BT:=FH[I];

  HC:=HC+1;

  END;

  END;

  PARTLINE(BOXH AND BOXH=REF(BOXH,1),BOXH),LINEDOT,colorFFFF;

  PARTLINE(BOXL AND BOXL=REF(BOXL,1),BOXL),LINEDOT,colorFFFF;

  STICKLINE((SIGNAL OR REFX(BUY OR SELL,1)) AND BOXH,BOXH,BOXL,0.1,0),LINEDOT,colorFFFF;

  DRAWICON(BUY,LOW*0.98,4);

  DRAWICON(SELL,HIGH*1.02,5);

  A1:=BOXH AND BOXH=REF(BOXH,1);

  A2:=REFX(REF(A1=0,1) AND A1=1,1);

  A3:=REFX(REF(A1=1,1) AND A1=0,1);

  DRAWLINE(A2,BOXL,A3,BOXH,0),colorFF9900;

  DRAWLINE(A2,BOXH,A3,BOXL,0),colorFF00;

  PARTLINE(BOXH AND BOXH=REF(BOXH,1),(BOXH-BOXL)/2+BOXL),colorFF9900;

  STICKLINE((SIGNAL OR REFX(BUY OR SELL,1)) AND BOXH,BOXH,BOXL,0.1,0),LINEDOT,colorFFFF;

  ZZ:=BACKSET(REFX(BUY OR SELL,1),BARSLAST(SIGNAL)/2);

  ZX:=REFX(REF(ZZ=0,1) AND ZZ=1,1);

  DRAWLINE(SIGNAL,BOXH,ZX,BOXL,0),LINEDOT,colorFF00;

  DRAWLINE(SIGNAL,BOXH,REFX(BUY OR SELL,1),(BOXH-BOXL)/2+BOXL,0),LINEDOT,colorFF00;

  DRAWLINE(SIGNAL,BOXL,ZX,BOXH,0),LINEDOT,colorFF9900;

  DRAWLINE(SIGNAL,BOXL,REFX(BUY OR SELL,1),(BOXH-BOXL)/2+BOXL,0),LINEDOT,colorFF9900;

  DRAWLINE(SIGNAL,BOXH,ISLASTBAR AND BOXH》BOXL,BOXL,0),colorFF00;

  DRAWLINE(SIGNAL,BOXH,ISLASTBAR AND BOXH》BOXL,(BOXH-BOXL)/2+BOXL,0),LINEDOT,colorFF00;

  DRAWLINE(SIGNAL,BOXL,ISLASTBAR AND BOXH》BOXL,BOXH,0),colorFF9900;

  DRAWLINE(SIGNAL,BOXL,ISLASTBAR AND BOXH》BOXL,(BOXH-BOXL)/2+BOXL,0),LINEDOT,colorFF9900;

  ZA:=BACKSET(ISLASTBAR AND BOXH》BOXL,BARSLAST(SIGNAL)/2);

  ZB:=REFX(REF(ZA=0,1) AND ZA=1,1);

  DRAWLINE(SIGNAL,BOXH,ZB,BOXL,0),LINEDOT,colorFF00;

  DRAWLINE(SIGNAL,BOXL,ZB,BOXH,0),LINEDOT,colorFF9900;

  amv0:=vol*(o+c)/2;

  博殺生命線:=sum(amv0,88)/sum(vol,88),colorff00ff,linethick2;

  CG:ma(C,8),colorffcc66,linethick2;

  FL:=hhv(CG,2);

  博殺持股線:hhv(CG,2),color00ff00;

  FS:CG-(FL-CG),coloryellow,linethick2;

  DRAWTEXT(BARPOS=SYSPARAM(2),HIGH,‘歡迎您使用出品股票公式:{ {{箱體王}}(主圖)}}(飛狐源碼)’)align4,COLORYELLOW;

上一頁  [1] [2] 

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

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