Help with quotOrderSend error 4051quot - Page 2
Page 2 of 502 FirstFirst 12
Results 11 to 13 of 13

Thread: Help with quotOrderSend error 4051quot

  1. #11
    Quote Originally Posted by ;
    Hi. Im not getting anymore of the errors and I got it to track the bid/ask after attaining the beginning point (BEPoint) since you place it. I really do have a query about your code however. The component that calls the Trailing_Control is only activated once per bar? Which means the Stoploss will simply be upgraded once per bar?
    Ernie11-

    Yes you're correct. You can eliminate the condition in case you want but it will then check on every tick.

    You are also correct that there is no additional monitoring included. Your post wasn't clear as to what you wanted to do following the initial trailing stop.

  2. #12
    cyber1. Ok thank you. I hadn't ever thought about upgrading once per, neat idea. I love to code as much as possible myself but once I get stuck I ask for assistance on that part only and continue going.
    Whatever else you think I should add to aid with the money management part you can consider?
    Thank you again.

  3. #13
    Pls do a publish to the order size. Inserted Code double Buy_Lots Also make certain that it's greather then your broker allows it.

    Example you perhaps wish to ship 0.005 lot, which is not possible( MT4 limit), or 0.05 however, your broker require min 0.1 lot.

    Also use the Equity, not the Balance, maybe check the free margin too

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 more information