大伊人青草狠狠久久-大伊香蕉精品视频在线-大伊香蕉精品一区视频在线-大伊香蕉在线精品不卡视频-大伊香蕉在线精品视频75-大伊香蕉在线精品视频人碰人

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

換個瀏覽器,重新問 [金字塔]

  • 咨詢內容: 初學金字塔,請各位老師挑錯,日內,五分鐘線,當前價格與之前兩個不同周期的開盤價進行比較<!--EndFragment-->,否則賣出,并添加止損條件。 input:t(10,1,100,5),d(5); 一倍周期開盤價:=ref(open,t),noaxis,nodraw; 兩倍周期開盤價:=ref(open,2*t),noaxis,nodraw; //交易條件 開多條件:=close>ref(open,t) and close>ref(open,2*t) and time<185500; 平多條件:=time=185500 or l<enterprice-d*mindiff; 開空條件:=close<ref(open,t) and close<ref(open,2*t)and time<185500; 平空條件:=time=185500 or h>enterprice+d*mindiff;; //交易系統 sellshort(平空條件 and holding<0,holding,market); buy(開多條件 and holding=0,1,market); sell(平多條件 and holding>0,holding,market); buyshort(開空條件 and holding=0,1,market); 懇請各位好心人幫忙看看,不勝感激, 其中把止損離場和收盤前離場放在一起都用market,是不是可以?而且在圖表中發現有的K線上有兩個信號既平空又開多,看著很不舒服,該如何改進

     

  • 金字塔客服:

    除了前面的close改h,close改l的

    還要這樣改

     

    sellshort(平空條件 and holding<0,holding,market); buy(開多條件 and holding=0 and exitbars>0,1,market); sell(平多條件 and holding>0,holding,market); buyshort(開空條件 and holding=0 and exitbars>0,1,market);

     

  • 用戶回復: 改完了,信號全沒了,

     

  • 網友回復: input:t(10,1,100,5),d(5); variable:n=0; 一倍周期開盤價:=ref(open,t),noaxis,nodraw; 兩倍周期開盤價:=ref(open,2*t),noaxis,nodraw; //交易條件 開多條件:=close>ref(open,t) and close>ref(open,2*t) and time<185500; 平多條件:=time=185500 or l<enterprice-d*mindiff; 開空條件:=close<ref(open,t) and close<ref(open,2*t)and time<185500; 平空條件:=time=185500 or h>enterprice+d*mindiff;; //交易系統   if n=0 and 開多條件 and holding=0 then begin   buy(1,1,market);   n:=1; end if n=0 and 開空條件 and holding=0 then begin   buyshort(1,1,market);   n:=1; end sellshort(平空條件 and holding<0,holding,market); buy(開多條件 and holding=0 and exitbars>0 and n=1,1,market); sell(平多條件 and holding>0 ,holding,market); buyshort(開空條件 and holding=0 and exitbars>0 and n=1,1,market);

     

  • 網友回復: 謝謝啦,幫了大忙,贊哦~

 

有思路,想編寫各種指標公式,程序化交易模型,選股公式,預警公式的朋友

可聯系技術人員 QQ: 1145508240  點擊這里給我發消息進行 有償 編寫!不貴!點擊查看價格!


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

相關文章

    沒有相關內容
主站蜘蛛池模板: 国产性做久久久久久 | 日本私人影院 | 西西做人爱免费视频 | 国产综合社区 | 麻豆精品成人免费国产片 | 日本一级特黄毛片高清视频 | 国产成人亚综合91精品首页 | 久久99青青久久99久久 | 最新国产精品久久精品 | 二区在线观看 | 成人影院欧美大片免费看 | 狠狠色噜噜狠狠狠狠米奇777 | 99精品视频免费 | 欧美日韩不卡视频 | 国产精品自在线拍 | 亚洲九九精品 | 免费性视频 | 久热免费在线视频 | 99re这里只有精品在线 | 99久久免费中文字幕精品 | 免费观看一区二区 | 99久久99视频 | 久久精品99成人中文字幕880 | 国产精品成人免费视频不卡 | 91精品国产综合久久青草 | 亚洲区一| 极品福利在线 | 日韩国产午夜一区二区三区 | 久久亚洲国产的中文 | 9999毛片免费看 | 欧美视频在线网站 | 亚洲精品9999久久久久 | 亚洲va久久久久综合 | 一级毛片看真人在线视频 | 日韩手机看片 | 97精品视频共享总站 | 欧美不卡一区 | 老色鬼a∨在线视频在线观看 | 久久精品国产久精国产 | 欧美国产亚洲一区 | 国产成人精品无缓存在线播放 |