Hi asx trader,
Unfortunately you are making it a bit awkward to comment in that you haven't posted your TradeSim instruction code for the system.
Now at least we can relate your sytem code to SMM which should make things easier!
Given that SMM triggered on 29/12/06 and you entered at OPEN on the next bar ($3.12) then the system stop loss is "0.91*LongEntryPrice" which would equal $2.8392 on the data I use.
Your code (If(Ref(C,-1)> 0.91*LongEntryPrice) seems somewhat unusual for an InitialStop as in IMO you need to give the Long trade a chance to develop and would thus use Ref(CLOSE,-1) < 0.91*LongEntryPrice. However, as stimulated, that is just my opinion.
The "reason" for the ExitTrigger trailing stop, as I understand it, is to hopefully protect profits and thus activate an EXIT which is above our InitialStop.
So lets calculate the ExitTrigger value given on 10/1/2007 based on the code posted:-
(ExtFml( "TradeSim.TrailingStop",TRIGGER,LONG,3*ATR(10),High,Low));
which is approxiamately $3.0326 (i.e. higher than the InitialStop of $2.8392) and therefore a valid ExitTrigger!
Whilst the ExitPrice depends on the TradeSim code used in the system I would suggest it is probably at $3.02 which is the value of the OPEN on 11/1/2007.
Hope this all makes sense and I haven't missed any issues.
All the best asx trader,
ozt