| |||||||||||
当前位置:网站主页>系统交易> GHOST TRADER交易系统GHOST TRADER交易系统文章来源: 文章作者: 发布时间:2008-03-09 >> GHOST TRADER交易系统
Building Winning Trading Systems with TradeStation书里的6个交易系统之一的WLD版。 The strategy of this system is predicated on the thesis that winning trades are more likely to follow losing trades. Therefore, to implement this strategy the system is "ghost" or paper traded in the background and a real trade is entered only after a ghost or real losing trade. The ghost trading accurately simulates the action of Wealth-Lab to the extent that entry and exit conditions are evaluated, market position is maintained, simulated entry and exit prices are calculated, and hypothetical profits determined. However, the ghost system does not enter real trades. That is left to the real system which enters a real trade only following a real or ghost losing trade, logs that trade, and uses it in the determination of back test performance. The authors suggest that this system is mostly a template demonstrating how background ghost trading may be used to develop information for the use and benefit of foreground real trading. The core trading logic itself is simple enough. Long and short trades are entered stop when the 9-day RSI crosses under/over the 70/30 critical levels preconditioned by the 9-day EMA being outside a channel formed by the 19-day EMA of highs and lows. Positions are closed stop when the EMA penetrates the highest high/lowest low of the past 20 days. This system was back tested over five years against the WL-100 portfolio. The real system alone gave a RAR=34.7% and 148/425=34.8% winners. Using the ghost system and entering a new real trade only after a losing ghost or real trade yielded a RAR=20.7% and 144/426=33.8% winners thus calling the losing trade hypothesis into question. Alternatively, using the ghost system and entering a new trade only after a winning ghost or real trade resulted in a RAR=76.6% and 103/316=32.6% winners. It therefore appears, at least for this core logic, watchlist, and backtest period, that when you're hot you're hot!
var Bar,paneRSI,myPosition :integer; for Bar:= 21 to BarCount-1 do {--------------------Ghost System--------------------} if myPosition = 0 then if EMA(Bar-1,#Close,9) < EMA(Bar-1,#Low,19) then if ((myPosition = +1) and (PriceLow(Bar) < Lowest(Bar-1,#Low,20))) then if ((myPosition = -1) and (PriceHigh(Bar) > Highest(Bar-1,#High,20))) then {-------------------Real System--------------------} if ((MarketPosition = 0) and (myProfit < 0)) then if MarketPosition = +1 then {----------Plotting----------} paneRSI:=CreatePane(75,true,false);
上一篇:交易系统的秘密和秘密的交易系统 下一篇:资金系统分析框架与指标
|
|
特别声明:以上除<交易师原创文集>外其余均转载于网络,由于大多文章出处不详,如有冒犯请来电,我们立即删除或为您署名。
Copyright © www.tradercn.com All
Rights Reserved 京ICP备05006464号
交易师诠释什么是期货、什么叫期货、股指期货、什么是股指期货、黄金期货、期货软件、期货交易系统、期货投资
期市有风险,投资需谨慎