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

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

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

 

  • 咨詢內容:        

     

    加入到教程提示  

     

     

     

    “語句未尾缺少分號”

    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分鐘翻轉系統

    //《日內30分鐘翻轉系統》

    //適用于1分鐘周期

    //編寫日期:20100812-JYL


     

    //準備需要的中間變量

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

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


     

    //建立多頭的進場條件

    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重新用英文狀態下輸入一次

     

  • 用戶回復:

    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);

    //《日內30分鐘翻轉系統》

    //適用于1分鐘周期

    //編寫日期:20100812-JYL


     

    //準備需要的中間變量

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

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


     

    //建立多頭的進場條件

    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

     

     

  • 網友回復:

     

     

 

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

可聯系技術人員 QQ: 262069696  點擊在線交流進行 有償 編寫!不貴!點擊查看價格!


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

相關文章

    沒有相關內容
主站蜘蛛池模板: 国产一级视频播放 | 精品无码久久久久久久动漫 | 国产精品第7页 | 野外一级毛片 | 久久亚洲伊人 | 亚洲黄色高清 | 天天综合在线视频 | 九九99久久 | 一级欧美毛片成人 | 日韩国产在线 | 综合色亚洲 | 热久久国产欧美一区二区精品 | 波多野给衣一区二区三区 | 日本精品高清一区二区不卡 | 五月天色区 | 天天摸天天爽天天澡视频 | 一道本不卡免费视频 | 国产精品久久久视频 | 涩涩一区| 福利视频免费 | 久久综合九色综合97婷婷女人 | 成年女人色毛片免费 | 毛片视屏 | 精品一区二区三区在线成人 | 97久久国产一区二区三区四区 | 鲁一鲁射一射 | 全免费午夜一级毛片一级毛 | 一区二区三区国产 | 久热re国产手机在线观看 | 亚洲精品一区二区在线播放 | 亚洲第一永久在线观看 | 99热久久免费精品首页 | 欧美一区色| 成人黄色网 | 久久精品入口麻豆 | 成人综合久久精品色婷婷 | 亚洲精品免费在线观看 | 色婷婷亚洲十月十月色天 | 在线观看91精品国产不卡免费 | 久久这里只精品国产99热8 | 色偷偷91久久综合噜噜噜 |