I think I might have found the issue Steve - bearing in mind the bold abovespotdespot wrote:Steve - my stack trades seem to be being set at the original lot size and not the remaining lot size after part close/BE. The display on screen is displaying "lot size" correctly so StackLotSize must be correct as it stands but somehow the stack trade is being sent at the original size.
I will have a look but, as you know, I am at best a cut and paste coder....![]()
Is anyone else seeing this? If not then I will need to see if I have anything different with my settings that might cause it.
Cheers,
Dave.
In LookForTradingOpportunities(), if you are using % risk rather than fixed lots, SendLots gets reset in the "if (SendLong)"/"if (SendShort)" (trade sending sections) after initially being set to StackTradeLot at the start of the function.
Cheers,
Dave.