Close StopOrder
Created at 29 Nov 2017, 14:51
Close StopOrder
29 Nov 2017, 14:51
Hi everyone,
i would like to know, how close a delete a PlaceStopOrder, after 5 min that i opened ?
thks you
Replies
... Deleted by UFO ...
PanagiotisCharalampous
29 Nov 2017, 15:19
Hi mto1995,
The best way to do this is to use the expiration time parameter as below
PlaceStopOrder(TradeType.Buy, Symbol, 1000, 1.2, "order", 0, 0, Server.Time.AddMinutes(1));
Best Regards,
Panagiotis
@PanagiotisCharalampous
mto1995
29 Nov 2017, 15:16
i found thks
@mto1995