您現(xiàn)在的位置:程序化交易>> 期貨公式>> 金字塔等>> 金字塔知識(shí)>>正文內(nèi)容

阿火模板不下單,后臺(tái)的. [金字塔]

  • 咨詢內(nèi)容:

    Globalvariable:hold=drawnull;

    //藍(lán)色部分改為你自己的模型
    buycond:=h>ref(hhv(h,10),1);
    sellcond:=l<ref(llv(l,10),1);
    if holding>0 and sellcond then sell(1,1,market);
    if holding<0 and buycond then sellshort(1,1,market);
    if holding=0 and buycond then buy(1,1,market);
    if holding=0 and sellcond then buyshort(1,1,market);
    cc800988:=holding;//這句放在信號(hào)穩(wěn)定的地方


    drawtextex(1,1,800,0,'虛擬持倉(cāng)為:'+numtostr(cc800988,0));//在圖表上輸入虛擬持倉(cāng)以便監(jiān)控
    if not(islastbar) or workmode<>1 then exit;
    xiadan800988:=cc800988-hold;
    if xiadan800988>0.5 then begin
     cang:=min(xiadan800988,abs(hold));
     if hold<0 then begin
      tsellshort(1,cang,mkt,0,0,'800988'),allowrepeat;
      debugfile('D:\800988.txt',numtostr(hold,0)+' '+numtostr(cc800988,0)+' 平空 %.0f',cang);
     end
     cang:=xiadan800988+min(hold,0);
     if cang>0 then begin
      tbuy(1,cang,mkt,0,0,'800988'),allowrepeat;
      debugfile('D:\800988.txt',numtostr(hold,0)+' '+numtostr(cc800988,0)+' 開多 %.0f',cang);
     end
    end
    if xiadan800988<-0.5 then begin
     cang:=min(abs(xiadan800988),abs(hold));
     if hold>0 then begin
      tsell(1,cang,mkt,0,0,'800988'),allowrepeat;
      debugfile('D:\800988.txt',numtostr(hold,0)+' '+numtostr(cc800988,0)+' 平多 %.0f',cang);
     end
     cang:=abs(xiadan800988)-max(hold,0);
     if cang>0 then begin
      tbuyshort(1,cang,mkt,0,0,'800988'),allowrepeat;
      debugfile('D:\800988.txt',numtostr(hold,0)+' '+numtostr(cc800988,0)+' 開空 %.0f',cang);
     end
    end
    hold:=cc800988;

    這個(gè)是模板,為什么加上去不下單呢,是不是3.0修改了什么呀

     

  • 金字塔客服: 阿火的代碼里面,有的思路我總是看不太懂,你直接私信下阿火看看。。。

     

  • 用戶回復(fù): 阿火都連系不上呀

     

  • 網(wǎng)友回復(fù):

    http://www.weistock.com:8080/vip/forum.php?mod=viewthread&tid=167&extra=page%3D1

    請(qǐng)您仔細(xì)看看VIP論壇給您的回復(fù)

     

  • 網(wǎng)友回復(fù): 又是一個(gè)BUG呀,那為什和2.95也不能用呀

 

有思路,想編寫各種指標(biāo)公式,程序化交易模型,選股公式,預(yù)警公式的朋友

可聯(lián)系技術(shù)人員 QQ: 1145508240  有需要幫忙請(qǐng)點(diǎn)擊這里留言!!!進(jìn)行 有償 編寫!不貴!點(diǎn)擊查看價(jià)格!


【字體: 】【打印文章】【查看評(píng)論

相關(guān)文章

    沒有相關(guān)內(nèi)容
主站蜘蛛池模板: 丰满爆乳无码一区二区三区| 亚洲精品第一国产综合精品| 亚洲婷婷第一狠人综合精品| 小次郎收藏最新地址| 久草视频免费在线观看| 爱搞视频首页在线| 国产一区二区三区四| 44444色视频在线观看| 天堂网www最新版资源在线| 久久aⅴ免费观看| 樱桃视频高清免费观看在线播放 | 亚洲国产最大av| 大色皇大久久大久久| 中文无码字幕中文有码字幕| 欧美一区二区三区久久综合 | 攵女yin乱合集高h小丹| 亚洲av最新在线观看网址| 热久久99精品这里有精品| 可爱男生被触手入侵下面| 麻豆亚洲av熟女国产一区二| 国产精品美女久久久久| japanese日本护士xxxx10一16| 无翼乌全彩无遮挡之老师| 亚洲AV无码乱码麻豆精品国产| 波多野结衣bd| 免费看黄色片子| 色国产在线视频一区| 国产妇女馒头高清泬20P多毛| 97久久精品人人澡人人爽| 少妇人妻偷人精品视蜜桃| 久久久久AV综合网成人| 最近中文字幕mv手机免费高清 | 国产高清在线视频| 一二三四在线播放免费视频中国| 日本一区二区三区免费观看| 亚洲国产成+人+综合| 波多野结衣在线不卡| 免费看日b视频| 美女的大胸又黄又www又爽| 国产偷亚洲偷欧美偷精品| 久久五月激情婷婷日韩|