It might be useful to have a function to get the entry price. This is important in using trailing stops.
I haven't checked the API functions but this function may be important there, too, if it is not already there.
cskidmore
Feb 7 2005, 11:59 AM
Hello,
Thank you for your suggestion. I will pass it along.
Currently, when using the trading systems within VTtrader, you can get a simulated entry price from a trade by using a combination of code based on the valuewhen() function. However, this is only a simulated entry price... the "actual" entry price may be a few pips more or less than the simulated price.
Regards,
Chris