您現在的位置:程序化交易>> 期貨公式>> 交易開拓者(TB)>> 開拓者公式>>正文內容

開拓者TB 夾板震蕩系統 源碼[開拓者公式]

開拓者TB《期市截拳道夾板震蕩系統》源碼:

 

Params


Numeric
today(20090419)


Numeric
endTime(150000)

Numeric
interval(30)

Numeric
outStep(50)

Vars


Numeric
tem:

Numeric
needPosition(0):

NumericSeries
upLine(0)

NumericSeries
downLine(0)

NumericSeries
wantStopLong(0)

NumericSeries
wantStopShort(0)

Begin


if(Date!=today)

{return;}


if(date!=date[1]||CurrentBar==0)

{upLine=close+interval;

downLine=close-interval;

wantStopShort=upLine+outStep;

wantStopLong=downLine-outStep;

}Else

{upLine=upLine[1];


downLine=downLine[1];


wantStopShort=wantStopShort[1];

wantStopLong= wantStopLong[1];}

if(NumLosTrades==0)

{tem=0C4TwoLine3(MarketPosition(),downline,upline,wantStopLong,wantStopShort,90000,endTime,needPosition;}

Commentary(“upLine:”+Text(upLine));

Commentary(“downLine:”+Text(downLine));

Commentary(“wantStopShort:”+Text(wantStopShort));

Commentary(“wantStopLong:”+Text(wantStopLong));

Commentary(“tem1:”+Text(tem));

Commentary(“needPosition:”+Text(needPosition)):

if(tem==0)

{return;}

if(MarketPosition==0)

{if(needPosition>0)

{buy(1,close);}Else

{SellShort(1,close);}

return;}

if(MarketPosition>0)

{if(needPosition<0)

{SellShort(1,close);}Else

{Sell(1,close);}

return;}

if(MarketPosition<0)

{if(needPosition>0)

{buy(1,close);}Else

{BuyToCover(1,close);}}

End

 

 

 

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

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

 


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

相關文章

    沒有相關內容
  主站蜘蛛池模板: 91成人在线免费视频| 久久精品国产亚洲精品| 美女张开腿让男人桶的动态图 | 色噜噜狠狠狠狠色综合久一| 影音先锋亚洲资源| 亚洲av无码一区二区三区在线播放 | 精品视频一区二区三区四区五区 | 人人爽人人爽人人片av| 一级一级女人真片| 日韩A∨精品日韩在线观看| 制服丝袜怡红院| 国产精品午夜剧场| 国语高清精品一区二区三区| 中文字幕在线看片成人| 最新孕妇孕交视频| 亚洲精品成人网站在线观看| 91在线|欧美| 山村乱肉系列h| 久久无码人妻一区二区三区午夜| 欧美猛男做受视频| 免费无码不卡视频在线观看| 西西人体高清444rt·wang | 在线免费你懂的| 三上悠亚大战黑人在线观看| 欧美成人免费全部观看天天性色 | 美女视频一区二区| 国产自无码视频在线观看| 中文japanese在线播放| 欧美激情一级二级三级在线视频| 午夜影院老司机| 手机1024看片| 天天综合天天综合| 久久精品国产亚洲一区二区| 欧美综合中文字幕久久| 全彩里番acg海贼王同人本子| 都市激情亚洲色图| 国产真实乱人偷精品| 99久久精品免费观看国产| 日韩一区二区三区精品| 亚洲国产精品综合一区在线| 羞羞视频免费网站在线看|