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

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

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

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

  QUOTE:

  {箱體王}

  DRAWGBK((DATE 》 0),COLORRGB(40,40,173),COLORRGB(1,1,14),1);

  STICKLINE(CLOSE》OPEN,CLOSE,OPEN,8,0),colorAA;

  STICKLINE(CLOSE

  STICKLINE(CLOSE》OPEN,CLOSE,OPEN,5,0),colorCC;

  STICKLINE(CLOSE》OPEN,CLOSE,OPEN,3,0),colorDD;

  STICKLINE(CLOSE》OPEN,HIGH,LOW,0,0),colorFF;

  STICKLINE(CLOSE

  STICKLINE(CLOSE

  STICKLINE(CLOSE

  FH:=HIGH;

  FL:=LOW;

  SELL:=0*FH;

  BUY:=SELL;

  SIGNAL:=SELL;

  BOXH:SELL,LINETHICK0;

  BOXL:SELL,LINETHICK0;

  VARIABLE:HC=0,LC=0,BT=FH[1],BB=FH[1];

  FOR I=1 TO DATACOUNT DO BEGIN

  IF HC》1 THEN BEGIN

  IF LC》2 AND BT《=FH[I] THEN BEGIN

  BUY[I]:=1;

  FOR J=I-1 DOWNTO I-HC DO BEGIN

  BOXH[J]:=FH[I-HC],LINETHICK0;

  BOXL[J]:=FL[I-LC],LINETHICK0;

  END;

  HC:=0;

  LC:=0;

  END;

  IF BT》FH[I] THEN BEGIN

  IF LC》2 THEN BEGIN

  IF BB》=FL[I] THEN BEGIN

  SELL[I]:=1;

  FOR J=I-1 DOWNTO I-HC DO BEGIN

  BOXH[J]:=FH[I-HC],LINETHICK0;

  BOXL[J]:=FL[I-LC],LINETHICK0;

  END;

  HC:=-1;

  LC:=0;

  END;ELSE BEGIN

  BOXH[I]:=FH[I-HC],LINETHICK0;

  BOXL[I]:=FL[I-LC],LINETHICK0;

  END;

  END;

  HC:=HC+1;

  IF LC》1 THEN BEGIN

  IF BB

  LC:=LC+1;

  IF LC=3 THEN BEGIN

  SIGNAL[I-HC+1]:=1;

  FOR J=I DOWNTO I-HC+1 DO BEGIN

  BOXH[J]:=FH[I-HC+1],LINETHICK0;

  BOXL[J]:=FL[I-LC+1],LINETHICK0;

  END;

  END;

  END;ELSE

  LC:=0;

  END;ELSE

  IF LC=1 THEN BEGIN

  IF BB

  LC:=LC+1;

  END;ELSE

  LC:=0;

  END;

[1] [2] 下一頁

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

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