PDA

View Full Version : Stop Loss question


Dave
23rd September 2003, 10:37 PM
I am currently using the exit trigger to work in my stops.

eg. exit trigger = (my normal exit trigger) or (my stop loss)

But in the tradesim results, I won't get results showing when I am stopped out or when I have a normal exit.

From what I read the initial stop does not cater for any change, only a static stop price at entry.

pardon my stupidity, but is there a way to use any sort of stop loss I like and have it triggered as a stop loss exit in the tradesim database?

David Samborsky
23rd September 2003, 11:53 PM
From what I read the initial stop does not cater for any change, only a static stop price at entry.

Yes this is true.

If you want a fixed stop which holds constant throughout the course of the trade then for example you could use the following:-


InitialStop:=0.9*EntryPrice;

ExtFml(“TradeSim.Initialize");
ExtFml(“TradeSim.EnableProtectiveStop”,INACTIV ITY_DELAY);
etc


If you want a variable stop then you need to modify your exit trigger to include the stop mechanism. However this result will not appear in the trade database as stopped out but rather a normal exit.

Dave
24th September 2003, 02:13 AM
Thanks again David. This clears up the question.

Is this something that could be included in a later release?

I believe it would be of great benefit to be able to set a parameter that could be used as a changing stop and when triggered it would enter the tradesim db as a stop. This would be clear in your trading records when the stop is triggered.