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

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

換個(gè)瀏覽器,重新問 [金字塔]

  • 咨詢內(nèi)容: 初學(xué)金字塔,請各位老師挑錯(cuò),日內(nèi),五分鐘線,當(dāng)前價(jià)格與之前兩個(gè)不同周期的開盤價(jià)進(jìn)行比較<!--EndFragment-->,否則賣出,并添加止損條件。 input:t(10,1,100,5),d(5); 一倍周期開盤價(jià):=ref(open,t),noaxis,nodraw; 兩倍周期開盤價(jià):=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;; //交易系統(tǒng) 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,是不是可以?而且在圖表中發(fā)現(xiàn)有的K線上有兩個(gè)信號既平空又開多,看著很不舒服,該如何改進(jìn)

     

  • 金字塔客服:

    除了前面的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);

     

  • 用戶回復(fù): 改完了,信號全沒了,

     

  • 網(wǎng)友回復(fù): input:t(10,1,100,5),d(5); variable:n=0; 一倍周期開盤價(jià):=ref(open,t),noaxis,nodraw; 兩倍周期開盤價(jià):=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;; //交易系統(tǒng)   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);

     

  • 網(wǎng)友回復(fù): 謝謝啦,幫了大忙,贊哦~

 

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

可聯(lián)系技術(shù)人員 QQ: 1145508240  點(diǎn)擊這里給我發(fā)消息進(jìn)行 有償 編寫!不貴!點(diǎn)擊查看價(jià)格!


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

相關(guān)文章

    沒有相關(guān)內(nèi)容
主站蜘蛛池模板: 亚洲激情区| 老子午夜精品我不卡影院 | 午夜国产在线观看 | 亚洲精品一区二区三区国产 | 中国第一毛片 | 亚洲第一黄色网址 | 久久99精品这里精品3 | 国产一区二区亚洲精品 | 成人a毛片免费视频观看 | 亚洲乱码一区二区三区国产精品 | 亚洲欧美日韩国产色另类 | 欧美777精品久久久久网 | 青草社区 | 久草在线新免费 | 五月天堂婷婷 | 色域综合 | 欧美成人在线观看 | 中国精品久久 | 中文线码中文高清播放中 | 看全色黄大色大片免费久久久 | 亚洲成人在线免费观看 | 亚洲国产天堂久久综合 | 四虎午夜影院 | 狠狠狠狠狠狠 | 亚洲一区二区三区在线免费观看 | 2018天天操天天干 | 久久久久一 | 亚洲日本一区二区三区高清在线 | 欧美一级毛片高清免费观看 | 日本在线观看www鲁啊鲁视频 | 日日狠狠 | 国产日韩91 | 中文字幕久久网 | 欧美男女爱爱视频 | 亚洲天天在线日亚洲洲精 | 国产r67194吃奶视频 | 亚洲天堂区 | 国产在线不卡视频 | 99热热久久 | 中文字幕精品视频在线 | 欧美成人一区二区三区在线视频 |