hanhao
26th October 2007, 05:23 AM
InitialStop and EnablePriceFilter gazing into the future to deicide exit
my settings:
entryprice:= Close;
InitialStop:=entryprice*.98; {use a 2% initial stop}
ExtFml("TradeSim.EnablePriceFilter");
ExtFml("TradeSim.EnableProtectiveStop",1);
Here is a perfect example of it using future values to decide when to exit.
http://img139.imageshack.us/img139/5466/65162095cq9.jpg
take note of the 2 pink rectangle values.
on 3/1/1999 the open is 0.85
as the day progresses the price moves down to my initial stop of $0.8379
instead of exiting at 0.8379, tradesim exited at open price 0.85. Isnt that cheating!? Anyone knows how do i solve the problem?
how do i make it exit at 0.8379 or 0.8379*0.99 ?
my settings:
entryprice:= Close;
InitialStop:=entryprice*.98; {use a 2% initial stop}
ExtFml("TradeSim.EnablePriceFilter");
ExtFml("TradeSim.EnableProtectiveStop",1);
Here is a perfect example of it using future values to decide when to exit.
http://img139.imageshack.us/img139/5466/65162095cq9.jpg
take note of the 2 pink rectangle values.
on 3/1/1999 the open is 0.85
as the day progresses the price moves down to my initial stop of $0.8379
instead of exiting at 0.8379, tradesim exited at open price 0.85. Isnt that cheating!? Anyone knows how do i solve the problem?
how do i make it exit at 0.8379 or 0.8379*0.99 ?