elljay1867
8th May 2005, 08:46 AM
I am using;
ExitTrigger :=
ExtFml("TradeSim.TrailingStop",
Trigger,
Long,
1.*ATR(10),
HIGH,
LOW);
as my exittrigger. Could you tell me how i could use the result in the ExitLong:=???
as i wish to use the exittrigger to set the exitprice and sell with Conditional Orders on the day the exittrigger is triped.
I have tryed using
ExitPrice:=
Ref(ExitTrigger,-1);
and
ExitPrice:=
ExtFml("TradeSim.TrailingStop",
Band,
Long,
1.*ATR(10),
HIGH,
LOW);
both of these gave erorr's.
your help would be much apprecated.
If only it was as easy as adding "ExtFml("SetExitPriceToExitStop");
les
ExitTrigger :=
ExtFml("TradeSim.TrailingStop",
Trigger,
Long,
1.*ATR(10),
HIGH,
LOW);
as my exittrigger. Could you tell me how i could use the result in the ExitLong:=???
as i wish to use the exittrigger to set the exitprice and sell with Conditional Orders on the day the exittrigger is triped.
I have tryed using
ExitPrice:=
Ref(ExitTrigger,-1);
and
ExitPrice:=
ExtFml("TradeSim.TrailingStop",
Band,
Long,
1.*ATR(10),
HIGH,
LOW);
both of these gave erorr's.
your help would be much apprecated.
If only it was as easy as adding "ExtFml("SetExitPriceToExitStop");
les