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

您現(xiàn)在的位置:程序化交易>> 期貨公式>> 交易開(kāi)拓者(TB)>> 開(kāi)拓者公式>>正文內(nèi)容

ZLW屠龍刀7分鐘版_滬深300股指_日內(nèi)震蕩【升級(jí)版】【源碼】[開(kāi)拓者公式]

【升級(jí)版】ZLW屠龍刀7分鐘版_滬深300股指_日內(nèi)震蕩_全自動(dòng)交易系統(tǒng)
5.1后傾情放送學(xué)習(xí)性代碼。
重要提示:若要實(shí)盤(pán),后果自負(fù)!

說(shuō)明
應(yīng)用商品:IF888
使用周期:7分鐘K線(xiàn),
測(cè)試區(qū)間:2010.4-2014.04.30
手續(xù)費(fèi):1手手續(xù)費(fèi)100
滑點(diǎn)設(shè)置:程序設(shè)置為+-1個(gè)最小價(jià)位


 

   

//------------------------------------------------------------------------
// 簡(jiǎn)稱(chēng): 日內(nèi)趨勢(shì)策略
// 名稱(chēng): RN
// 版本: VER.2.1
// 類(lèi)別: 公式應(yīng)用
// 類(lèi)型: 用戶(hù)應(yīng)用
// 修改: 2014xxxx www.kzuj.com.cn
//
//------------------------------------------------------------------------
//------------------------------------------------------------------------
Params   
        Numeric Nnn1(5);
        Numeric Nnn2(20);
Vars
        Numeric Lots(1.00);
        Numeric offset(1);
        Numeric i_offset;
               
        NumericSeries a1;
        NumericSeries a2;
        NumericSeries a3;
        NumericSeries a4;
               
        NumericSeries a13;               
        NumericSeries a14;
        NumericSeries a15;

        NumericSeries a17;
        NumericSeries a18;
        NumericSeries a19;
        NumericSeries a20;
        NumericSeries a21;
        NumericSeries a22;
        NumericSeries a23;
        NumericSeries a24;
        NumericSeries a25;
               
        Numeric xx_1010;
        Numeric xx_1030;
//------------------------------------------------------------------------
//------------------------------------------------------------------------
Begin

        i_offset=offset*minmove*PriceScale;
               
        a3=AverageFC(Close[1],17);
        a4=StandardDev(Close[1],17,2);
               
        a1=(a3 + (a4 * 1.88));               
        a2=(a3 - (a4 * 1.88));               
       //------------------------------------------------------------------------               
        a18=Summation(Max(Max((High - Low),Abs((High - Close[1]))),Abs((Low - Close[1]))),23);
               
        a19=(High - High[1]);
        a20=(Low[1] - Low);
               
        a21=Summation(IIF((a19 > 0) and (a19 > a20),a19,0),23);
        a22=Summation(IIF((a20 > 0) and (a20 > a19),a20,0),23);
               
        a23=((a21 * 100) / a18);
        a24=((a22 * 100) / a18);
        a25=Average(((Abs((a24 - a23)) / (a24 + a23)) * 100),12);

//------------------------------------------------------------------------
//------------------------------------------------------------------------
If(Time>0.0920 and Time<0.1515)
{

        if (Time>0.0920 AND Time<0.1510)         
        {
               
                        if ((MarketPosition == 0) and (a4 >= 1.9) and (Time <= 0.1456))         
                        {
                                if ((High[1] > a1) and (Open > (a1 - 3)) and (Open <= High[1]))         
                                {
                                        SellShort(Lots,(Open-i_offset));
                                }

                                if ((Low[1] < a2) and (Open < (a2 + 3.8)) and (a25[1]   < 42))         
                                {
                                        Buy(Lots,(Open+i_offset));
                                }

                        } // www.kzuj.com.cn
                               
                        if ((MarketPosition == 1) and (BarsSinceEntry == 0))         
                        {
                                a14=High;a15=Low;  
                        }
                        if ((MarketPosition == 1) and (BarsSinceEntry >= 1))         
                        {
                                a14=Max(a14,High);  
                        }
                        if ((MarketPosition == -1) and (BarsSinceEntry == 0))         
                        {
                                a15=Low;  
                        }
                        if ((MarketPosition == -1) and (BarsSinceEntry >= 1))         
                        {
                                a15=Min(a15,Low);  
                        }
                               

                        if ((BarsSinceEntry >= 1) and (MarketPosition == 1))         
                        {
                                a13=(a14[1]   - EntryPrice);  
                                if ((BarsSinceEntry >= 5) and ((Close[5] - Open[5]) < 0) and ((Close[4] - Open[4]) < 0) and ((Close[3] - Open[3]) < 0) and (a13 >= 18))         
                                {
                                        Sell(Lots,(Open-i_offset));
                                }
                                if ((BarsSinceEntry > 4) and (a13 >= 29) and (Low <= (EntryPrice + 19)))         
                                {
                                        Sell(Lots,((EntryPrice + 19) - i_offset));
                                }
                        }// www.kzuj.com.cn
  
                        if ((BarsSinceEntry >= 1) and (MarketPosition == -1))         
                        {
                                a13=(EntryPrice - a15[1]  );  
                                if ((BarsSinceEntry >= 4) and ((Close[5] - Open[5]) > 0) and ((Close[4] - Open[4]) > 0) and ((Close[3] - Open[3]) > 0) and (a13 >= 26))         
                                {
                                        BuyToCover(Lots,(Open+i_offset));
                                }
                                if ((BarsSinceEntry > 5) and (a13 >= 30) and (High >= (EntryPrice - 16)))         
                                {
                                        BuyToCover(Lots,((EntryPrice - 16)+i_offset));
                                }

                        }

        }
//------------------------------------------------------------------------
//------------------------------------------------------------------------

        xx_1010=AvgEntryPrice;
               
        if ((BarsSinceEntry >= 1) and (MarketPosition > 0) and (Low <= (AvgEntryPrice - 05)) and ((PositionProfit+(Lots * 1500)) < 0))         
        {
                xx_1030=(xx_1010 - 05);  
                Sell(Lots,(Min(Open,xx_1030) - i_offset));

                if (((a2[1]   - a2) <= 5.6) and (Time <= 0.1456))         
                {
                SellShort(Lots,(Min(Open,xx_1030) - i_offset));
                }
        }

//------------------------------------------------------------------------
        if ((BarsSinceEntry >= 1) and (MarketPosition < 0) and (High >= (AvgEntryPrice + 05)) and ((PositionProfit+(Lots * 1500)) < 0))         
        {
                xx_1030=(xx_1010 + 05);      
                BuyToCover(Lots,(Max(Open,xx_1030) + i_offset));

                if (((a1 - a1[1]  ) <= 5.6) and (Time <= 0.1456))         
                {
                Buy(Lots,(Max(Open,xx_1030) + i_offset));
                }
        }
               
//------------------------------------------------------------------------
//------------------------------------------------------------------------

        If(Time>=0.1510 and Time<0.1513  and MarketPosition>0)
        {
                Sell(Lots,(Open-i_offset));
        }

        If(Time>=0.1510 and Time<0.1513  and MarketPosition<0)
        {
                BuyToCover(Lots,(Open+i_offset));
        }               
               
}

//------------------------------------------------------------------------

End

//------------------------------------------------------------------------
// 編譯版本        GS2010.12.08
// 版權(quán)所有        www.kzuj.com.cn QQ 1145508240
// 更改聲明        TradeBlazer Software保留對(duì)TradeBlazer平
//                        臺(tái)每一版本的TradeBlazer公式修改和重寫(xiě)的權(quán)利
//------------------------------------------------------------------------

 

 

 

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

可聯(lián)系技術(shù)人員 QQ: 1145508240  有需要幫忙請(qǐng)點(diǎn)擊這里留言!!!進(jìn)行 有償 編寫(xiě)!不貴!點(diǎn)擊查看價(jià)格!


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

相關(guān)文章

    沒(méi)有相關(guān)內(nèi)容
主站蜘蛛池模板: 欧美激情午夜 | 欧美一级视频在线高清观看 | 国产成人做受免费视频 | 国产黄在线免费观看 | 亚州视频一区 | 成人激情黄色 | 国产成人精品福利网站人 | 影音先锋日韩 | 一级毛片免费观看久 | 99精品视频3| 欧美成人a视频 | 免费看污污的视频 | 婷婷亚洲久悠悠色悠在线播放 | 中文字幕精品一区二区日本大胸 | 欧美干色| 伊人影视在线观看日韩区 | 国产精品视频网址 | 日本三级带日本三级带黄国产 | 91av成年影院在线播放 | 色偷偷亚洲第一成人综合网址 | 欧美一区精品二区三区 | 亚欧毛片基地国产毛片基地 | 国产亚洲成归v人片在线观看 | 日本一本高清视频 | 成年人在线免费观看网站 | 欧美日韩色视频在线观看 | 一级毛片ab片高清毛片 | 欧美日本中文 | 日本一二区视频 | 日本久色 | 欧美成人免费全部观看天天性色 | 亚洲一级毛片免费观看 | aa一级黄色片 | 一级大黄美女免费播放 | 99精品视频看国产啪视频 | 深夜影院深a入口 | 日韩视频在线精品视频免费观看 | 一区二区中文字幕 | 黑人巨根在线 | 国产第一浮力影院新路线 | 九九九色视频在线观看免费 |