PDA

View Full Version : Profit Stop and Tradesim Approach


jacche
10th January 2004, 03:22 PM
Hi David,
I am trying to build a profit stop to exit a trade when Low is 10% down from the Highest High Price Since Entry:

e.g.
LongEntryTrigger := Cross(mov(c,3,s),mov(c,5,s));
LongEntryPrice := Open;
LongExitTrigger := L <= 0.9*HighestSince(1,LongEntryTrigger,H);
LongExitPrice...

My question is, how do I know that Tradesim is returning the highest High since trade entry as opposed to highest High of the most recent trigger (which is not what I need actually) ? Can you pls explain to me how Tradesim addresses this and any suggestions for a more efficient approach most welcomed..

Many thanks in advance
rgds
jack

David Samborsky
12th January 2004, 12:40 PM
Hard to do using the Metastock formula language which is why the SetProfitStop function was incorporated into the RecordTrades function.

See page 65-66 of the TradeSim V3.0.0 User Manual.

jacche
13th January 2004, 02:43 AM
thanks David, didn;t realize there was a section specifically for profit stops - musta missed it, will check.

rgds
jack