人人爽天天爽夜夜爽qc-人人爽天天爽夜夜爽曰-人人天天爱天天做天天摸-人人天天夜夜-色网站在线-色网站在线看

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

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

 

  • 咨詢內(nèi)容:        

     

    加入到教程提示  

     

     

     

    “語句未尾缺少分號”

    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


     

    //準備需要的中間變量

    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重新用英文狀態(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


     

    //準備需要的中間變量

    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

     

     

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

     

     

 

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

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


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

相關(guān)文章

    沒有相關(guān)內(nèi)容
主站蜘蛛池模板: 国产精品亚洲欧美动漫卡通 | 在线免费中文字幕 | 18视频在线 | 久久精品一区二区三区中文字幕 | 国产亚洲精品成人久久网站 | 国产91精品一区 | 特级xxxxx欧美孕妇孕交 | 国产精品久久久久久久久久一区 | 成人久久18免费网址 | 欧美在线看片 | 日本欧美视频 | 真人一级一级特黄高清毛片 | 天天射天天搞 | 182tv午夜精品视频在线播放 | 黄网免费| 免费看黄网 | 草草影院www色欧美极品 | 国产高清不卡视频 | 一道本在线视频 | 蜜桃视频成人免费版在线 | 成人午夜看片在线观看 | 三级黄色视屏 | 成人福利在线观看 | 老司机午夜影院 | 亚洲国产成人99精品激情在线 | 欧美午夜精品久久久久免费视 | 免费的一级片网站 | 日本欧洲亚洲一区在线观看 | 伊人精品网 | 在线视频永久在线视频 | 免费一级片在线观看 | 福利在线网址 | 免费精品一区二区三区在线观看 | 黄色大片视频网站 | 成人福利在线观看免费视频 | 一级毛片成人午夜 | 怡红院成人网 | 国产亚洲欧美一区 | 国产免费观看嫩草影院 | 成人小视频免费在线观看 | 黄污视频 |