Question About the quotFor Loopquot - Page 2
Page 2 of 732 FirstFirst 12
Results 11 to 12 of 312

Thread: Question About the quotFor Loopquot

  1. #11
    Quote Originally Posted by ;
    Closing transactions if you are closing all transactions you can use a while loop and then loop it while orderstotal gt;0 For closing all orders for a certain pair you'll have to use an incremental counter BUT each time you shut an order you want to reset the counter back to the beginning. This is because of how orders are indexed when you use the orderselect function
    you won't have this issue if you use a decremental for or while loop.

  2. #12
    Thank you for your valuble input.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
This website uses cookies
We use cookies to store session information to facilitate remembering your login information, to allow you to save website preferences, to personalise content and ads, to provide social media features and to analyse our traffic. We also share information about your use of our site with our social media, advertising and analytics partners.