PDA

View Full Version : Stops


pala
4th December 2004, 06:19 AM
this might seems incredibly basic but if I want to stop either on the

EXIT Trigger or within a given number of days (WHICHEVER COMES FIRST) is there a way to do this and if so do you put it into the Initial Stop
using the line below
EntryTrigger := RSI(C,14)<29;
EntryPrice := CLOSE;
ExitTrigger := RSI(C,14)>63;
ExitPrice := CLOSE;
InitialStop:0
ExtFml( "TradeSim.Initialize");
ExtFml( "TradeSim.RecordTrades",
"MACD Crossover test", { Trade Data Filename }
LONG, { Trade Position Type }
EntryTrigger, { Entry Trigger }
EntryPrice, { Entry Price }
0, { Optional Initial Stop }
ExitTrigger, { Exit Trigger }
ExitPrice, { Exit Price }
START); { Recorder Control }

Thank You

Paul Collins

Jose
4th December 2004, 10:27 AM
"within a given number of days" from the entry?
You'll need to post the full MS code if you want help here.

jose '-)