If I'd like to write a code manually (not using the Strategy Builder), with the following context:
If my conditions are met, then place a limit buy position that is 24 ticksize greater than current high
Here's how I wrote it (it should be very straightforward )
EnterLongLimit(Convert.ToInt32(DefaultQuantity), (High[0] + (24 * TickSize)) , "");
However, it executes, but not on the same exact price I specified. Can you please advise what's wrong?
Thanks..
Comment