人人爽天天爽夜夜爽qc-人人爽天天爽夜夜爽曰-人人天天爱天天做天天摸-人人天天夜夜-色网站在线-色网站在线看

您現在的位置:程序化交易>> 期貨公式>> 金字塔等>> 其他期貨軟件知識>>正文內容

平倉反手出現白色箭頭 [金字塔]

  • 咨詢內容:

    平倉反手出現白色箭頭,已在開倉前平倉,并且發送價格在信號bar的high,low之間。請問是什么原因?(請看12/5/8這天)

     

    runmode:0;

    input:notbef(090000);
    input:notaft(145500);
    input:f1(0.35);
    input:f2(0.07);
    input:f3(0.25);
    input:myreverse(1);
    input:rangemin(0.2);
    input:xdiv(3);

    variable:ssetup=0;
    variable:bsetup=0;
    variable:senter=0;
    variable:benter=0;
    variable:bbreak=0;
    variable:sbreak=0;
    variable:ltoday=0;
    variable:hitoday=999999;
    variable:startnow=0;
    variable:div=0;
    variable:rfilter=false;

    i_reverse:=myreverse*(callstock(stklabel,vtopen,6,0)/100);
    i_rangemin:=rangemin*(callstock(stklabel,vtopen,6,0)/100);

    if barpos=1 then begin
     startnow:=0;
     div:=max(xdiv,1);
    end

    hh:=ref(hitoday,1);
    cc:=ref(close,1);
    ll:=ref(ltoday,1);

    if date>ref(date,1) then begin
     startnow:=startnow+1;
     
     ssetup:=hh+f1*(cc-ll);
     senter:=((1+f2)/2)*(hh+cc)-f2*ll;
     benter:=((1+f2)/2)*(ll+cc)-f2*hh;
     bsetup:=ll-f1*(hh-cc);
     bbreak:=ssetup+f3*(ssetup-bsetup);
     sbreak:=bsetup-f3*(ssetup-bsetup);
     
     hitoday:=high;
     ltoday:=low;
     
     rfilter:=hh-cc>=rangemin;
    end

    if high>hitoday then hitoday:=high;
    if low<ltoday then ltoday:=low;

    if time>=notbef and time<notaft and startnow>=2 and rfilter then begin
     if hitoday>=ssetup and holding>=0 then begin
      if low<=senter+(hitoday-ssetup)/div then begin
       sell(1,holding,limitr,senter+(hitoday-ssetup)/div);
       sellshort(1,1,limitr,senter+(hitoday-ssetup)/div);
      end
     end
     
     if ltoday<=bsetup and holding<=0 then begin
      if high>=benter-(bsetup-ltoday)/div then begin
       if high>=benter-(bsetup-ltoday)/div then begin
        sellshort(1,holding,limitr,benter-(bsetup-ltoday)/div);
        buy(1,1,limitr,benter-(bsetup-ltoday)/div);
       end
      end
     end
     
     if holding<0 then begin
      if high-enterprice>=i_reverse then
       sellshort(1,enterprice+i_reverse);
     end
     
     if holding>0 then begin
      if enterprice-low>=i_reverse then
       sell(1,enterprice-i_reverse);
     end
     
     if holding=0 then begin
      if high>=bbreak then
       buy(1,bbreak);
     end
     
     if holding=0 then begin
      if low<=sbreak then
       sellshort(1,sbreak);
     end
    end

    if time>=notaft then begin
     if holding<0 then
      sellshort(1,holding,limitr,open);
     
     if holding>0 then
      sell(1,holding,limitr,open);
    end

    盈虧:=asset-500000,noaxis,coloryellow,linethick2;

     A:ssetup,COLORGRAY,LINEDOT;
     A1:senter,COLORWHITE;
     A3:benter,COLORWHITE;
     A4:bsetup,COLORGRAY,LINEDOT;
     A5:bbreak,COLORRED;
     A6:sbreak,COLORRED;

     

  • 金字塔客服:

    這個是價格的問題  未成交

    你換市價測試下 應該就沒這問題了吧

     

  • 用戶回復:

    把價格換成market, 白色箭頭更多了

     

  • 網友回復:

    昨晚搞了半夜,還是沒能解決這個問題。把價格+-5點,白色箭頭都還在,應該不是成交價格的問題。望大俠們盡早幫忙。

     

  • 網友回復:

    樓主代碼問題很多啊,紅色部分寫的有問題啊。

    sellshort(1,enterprice+i_reverse);
     end
     
     if holding>0 then begin
      if enterprice-low>=i_reverse then
       sell(1,enterprice-i_reverse);
     end
     
     if holding=0 then begin
      if high>=bbreak then
       buy(1,bbreak);
     end
     
     if holding=0 then begin
      if low<=sbreak then
       sellshort(1,sbreak);
     end

 

如果以上指標公式不適用于您常用的行情軟件

或者您想改編成選股公式,以便快速選出某種形態個股的話,

可以聯系我們相關技術人員 QQ: 262069696  點擊在線交流進行 有償 改編!

 


【字體: 】【打印文章】【查看評論

相關文章

    沒有相關內容
主站蜘蛛池模板: 77788色淫免费网站视频 | 亚洲国产日韩a在线播放 | 天天做天天看夜夜爽毛片 | 免费国产人做人视频在线观看 | 老妇激情毛片 | 亚洲视频免费观看 | 夜夜天天操 | 伊人影视在线观看日韩区 | 亚洲另类老妇videos | 日韩激情小视频 | 男女网站在线观看 | 日韩欧美在线第一页 | 丁香激情六月天 | 小妖精抬起臀嗯啊h军人小说 | 欧美日韩一区二区三区韩大 | 高清一级毛片免免费看 | 天天在线欧美精品免费看 | 国产精品久久二区三区色裕 | 亚洲欧美丝袜综合精品第一页 | 2018天天干夜夜操 | aaaa一级片| 特级黄色毛片 | 乱小说欧美综合 | 黄色在线观看网址 | 中文字幕rct931在线视频 | 性xxx视频在线观看 性国产videofree另类 | 欧美日本高清一本二本三本 | 就爱啪啪手机版 | 黄视频在线观看网站 | 成人羞羞视频 | 天天插视频| 日韩欧美国产中文 | 中国一级毛片录像 | 最近中文字幕在线看免费视频 | 日本xxxⅹ69xxxx护士 | 苗族一级特黄a大片 | 曰批视频在线观看 | 中文字幕综合在线 | 波多野结衣中文字 | 9191精品国产费久久 | 又爽又黄又无遮挡的视频在线观看 |