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

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

加入到教程提示 語句未尾缺少分號(hào) [金字塔]

 

  • 咨詢內(nèi)容:        

     

    加入到教程提示  

     

     

     

    “語句未尾缺少分號(hào)”

    variable:a=0;

     

    if con1 and holding=0 then beign

    buy(1,1,market);

    a:=h;

    end

    if h>a then sell(holding>0,0,market);


     

    例三:30分鐘翻轉(zhuǎn)系統(tǒng)

    //《日內(nèi)30分鐘翻轉(zhuǎn)系統(tǒng)》

    //適用于1分鐘周期

    //編寫日期:20100812-JYL


     

    //準(zhǔn)備需要的中間變量

    h30 := ref(hhv(h,30),1);

    l30 := ref(llv(l,30),1);


     

    //建立多頭的進(jìn)場條件

    long := h>h30 and time>093000 and time<145000;


     

    if long then

    begin

    sellshort(holding < 0, 0, limitr, h30);

    buy(holding = 0, 1, limitr, h30);

    end


     

    //畫出多頭的止損線

    partline(holding>0, l30,colorred);


     

    //開空條件

    short := l < l30 and time > 093000 and time < 145000;


     

    if short then

    begin

    sell(holding > 0, 0, limitr, l30);

    buyshort(holding = 0, 1, limitr, l30);

    end


     

    //畫出空頭的止損線

    partline(holding<0, h30, colorgreen);


     

    //收盤前5分鐘平倉

    if time > 145500 then

    begin

    sell(holding > 0, 0, thisclose);

    sellshort(holding < 0, 0, thisclose);

    end

     

     

  • 金字塔客服:

    if con1 and holding=0 then beign

    這里的begin重新用英文狀態(tài)下輸入一次

     

  • 用戶回復(fù):

    con1樓主沒定義,我假定con1:=1;

    variable:a=0;
    con1:=1;
    if con1 and holding=0 then

    begin
    buy(1,1,market);

    a:=h;

    end

    if h>a then sell(holding>0,0,market);

    //《日內(nèi)30分鐘翻轉(zhuǎn)系統(tǒng)》

    //適用于1分鐘周期

    //編寫日期:20100812-JYL


     

    //準(zhǔn)備需要的中間變量

    h30 := ref(hhv(h,30),1);

    l30 := ref(llv(l,30),1);


     

    //建立多頭的進(jìn)場條件

    long := h>h30 and time>093000 and time<145000;


     

    if long then

    begin

    sellshort(holding < 0, 0, limitr, h30);

    buy(holding = 0, 1, limitr, h30);

    end


     

    //畫出多頭的止損線

    partline(holding>0, l30,colorred);


     

    //開空條件

    short := l < l30 and time > 093000 and time < 145000;


     

    if short then

    begin

    sell(holding > 0, 0, limitr, l30);

    buyshort(holding = 0, 1, limitr, l30);

    end


     

    //畫出空頭的止損線

    partline(holding<0, h30, colorgreen);


     

    //收盤前5分鐘平倉

    if time > 145500 then

    begin

    sell(holding > 0, 0, thisclose);

    sellshort(holding < 0, 0, thisclose);

    end

     

     

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

     

     

 

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

可聯(lián)系技術(shù)人員 QQ: 262069696  點(diǎn)擊在線交流進(jìn)行 有償 編寫!不貴!點(diǎn)擊查看價(jià)格!


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

相關(guān)文章

    沒有相關(guān)內(nèi)容
主站蜘蛛池模板: 亚洲视频二区 | 天天做天天添天天谢 | 免费精品久久久久久中文字幕 | 国产99精品 | 中文精品久久久久中文 | www.欧美com| 奇米影视奇米色777欧美 | 精品免费一区二区三区 | 亚洲综合在线观看视频 | 亚洲 欧洲 另类 综合 自拍 | 亚洲日本欧美日韩高观看 | 日本黄色录像 | 久久久久亚洲视频 | 91精品国产视频 | 日日操影院 | 免费一级毛片在线播放视频 | 一本色道久久爱88av俺来也 | 深夜福利影院在线观看 | 日本波多野结衣字幕久久 | 日日碰狠狠添天天爽爽爽 | 欧美伊香蕉久久综合类网站 | 日本精品高清一区二区不卡 | 福利在线视频观看 | 亚洲五月综合缴情婷婷 | 久久黄色一级视频 | 一级成人a免费视频 | 有色视频在线观看免费高清 | 99视频精品全国免费 | 欧美一级a俄罗斯毛片 | 农村三级孕妇视频在线 | 午夜免费福利影院 | 亚洲国产精品综合一区在线 | 久久精品一区二区三区四区 | 久久亚洲精品一区成人 | 免费女人18毛片a级毛片视频 | 国产网站麻豆精品视频 | 中文字幕专区在线亚洲 | 欧美精品国产第一区二区 | 国产成人免费在线 | 在线观看精品视频一区二区三区 | 亚洲精品一二三区 |