Say I have an enter position like
limit = 2; stop = 1,15 EnterLongStopLimit(BarsInProgress, true, 999999, limit, stop, "EnterLong");
limit = 1,15; stop = 2; ExitLongStopLimit(BarsInProgress, true, FilledQuantity, limit, stop, "ExitLong", "EnterLong");
1) Will enterLong stop getting filled for i placed an exitlong tied to it by the bind signal (signalName in documentation of EnterLong function and "EnterLong" string in the samples above)?
1.a) If the answer is NO what is the signalName purpose?
2) If i want to exit a partial filled position i should cancel the enterlong to prevent it to enter further and place an exitlong. And even thought the enterlong was canceled i should bind the exitlong to the enterlong using the signalName, is it?
3) As I didn't cancel the enterlong it would enter a little more, therefor, as "i set the FilledQuantity variable with the quantity orders the enterlong has reached till the time i set the enterlongstoplimit" by the time the exitlong reaches filled I'll find myself with some orders yet to exit?
4) If i do cancel the enterlong before place the exitlong should i got any warning or error message because i place an exitlong bonded to the canceled enterlong?
thanks
Comment