Abate
17th February 2004, 03:54 PM
I am trying to learn to use TradeSim by comparing it with the Enhanced Tester of MetaStock. I did a test on both using the same signal and data and on some of the trades I get 'Cancelled - Open Cost Considered' on the Enhanced Tester while TradeSim executes these orders. Could somebody tell me why the Enhanced Tester does that and not TradeSim.
Abate
This is the entry and exit code:
Entry
EnterTr:=BarsSince(BarsSince( CO() >0 AND Fml( "Bollinger Band Width" ) <.2)<10 AND
Cross(C, BBandTop(C, 21, S, 2) )) <=4 AND
C > PriceChannelLow(5);
EnterTr>=0 Ref(EnterTr,-1)=0
Exit
C < PriceChannelLow(10)
Profit Target Stop at 10% of Entry
Abate
This is the entry and exit code:
Entry
EnterTr:=BarsSince(BarsSince( CO() >0 AND Fml( "Bollinger Band Width" ) <.2)<10 AND
Cross(C, BBandTop(C, 21, S, 2) )) <=4 AND
C > PriceChannelLow(5);
EnterTr>=0 Ref(EnterTr,-1)=0
Exit
C < PriceChannelLow(10)
Profit Target Stop at 10% of Entry