Download MetaTrader 5

VTSO

To add comments, please log in or register
tickTrader
143
tickTrader 2014.07.03 16:40 

Hi there,

I'm looking for info about VTSO . I would like to know how that is working internally, in the code, some sample would be nice. All I know is that it is virtual. Also, I would like to know if before placing a VTSO i need to place a normal stop loss order in order for the VTSO work. Thanks

Alain Verleyen
Moderator
31094
Alain Verleyen 2014.07.03 17:49  
What is "VTSO" ?
tickTrader
143
tickTrader 2014.07.03 21:31  
is a virtual trailing stop order
Stuart Browne
5885
Stuart Browne 2014.07.04 00:47  
Hi tT

Each EA would be coded slightly differently depending on the logic of the trailing stop. But basically, every tick the logic is run to see if the current price meets or exceeds the trailing stop price. If it does then the EA simply closes the order at the current market price.

There is no need to place a normal stop loss for this to work however, you will often see an "emergency" stop loss put in place well outside the range of the trail stop. This is useful if the EA crashes or the VPS drops connection with the trade server etc.

Filter
tickTrader
143
tickTrader 2014.07.04 14:41  
Filter:
Hi tT

Each EA would be coded slightly differently depending on the logic of the trailing stop. But basically, every tick the logic is run to see if the current price meets or exceeds the trailing stop price. If it does then the EA simply closes the order at the current market price.

There is no need to place a normal stop loss for this to work however, you will often see an "emergency" stop loss put in place well outside the range of the trail stop. This is useful if the EA crashes or the VPS drops connection with the trade server etc.

Filter

Hello Filter,

 

thanks for the info, I was thinking just that,  but I wasn't quite sure. So I should definitely use this "emergency" SL in case EA goes off line. 

To add comments, please log in or register