Posted By: SnoopySniff
exitTrade causes for(current_trades) not being cycled - 12/15/18 21:50
I am cycling through open trades with for(current_trades) and do some stuff in it.
Then later I am closing specific trades with exitTrade(ThisTrade) in an other for(last_trades) cycle.
After that exitTrade procedure the for(current_trades) is not entered anymore, even there is at least one trade open.
I can't find a solution. Could it be a bug? Any help is appreciated.
PS: Same problem with for(open_trades)...
Then later I am closing specific trades with exitTrade(ThisTrade) in an other for(last_trades) cycle.
After that exitTrade procedure the for(current_trades) is not entered anymore, even there is at least one trade open.
I can't find a solution. Could it be a bug? Any help is appreciated.
PS: Same problem with for(open_trades)...