I have no idea this moment how one can catch in a script strategy the limit.
With a limit in the code when conditions true like
{entryOrderSd1a=EnterShortLimit(4,true,1,GetCurren tBid(), "Sd1a");
limitshort=GetCurrentBid();}
I think the limitshort must not be always the limit accurately at the tick.
Therefore I want to ask please how I can assign my variable limitshort the exact "working limit" price (which I need for cancelling purposes)
And when writing this I have another question: when using different dataseries I thought the code above with EnterShortLimit(4,...........) is correct 100%. In my script I have BIP0,1,2,3 for YM and NQ and BIP4 for MYM and MNQ but this week it occurred that the entry was done not in the micro but in the mini! (that caused me also $ 25,- to pay margin violation fee).
How can this occur? Is it more safe to run the script in a chart with micro with BIP0?
Thank you!
Tony
Comment