Please help a noob - order closing issue - Page 2
Page 2 of 502 FirstFirst 12
Results 11 to 14 of 14

Thread: Please help a noob - order closing issue

  1. #11
    Quote Originally Posted by ;
    Hi Why is this not working if I may ask: The EA functions when I've only the profit side of things but when I insert the reduction side as well it opens and closes the orders immediately after opening the pending orders that it places.I just want the EA to close all order when a particular profit or loss level is reached... (Please bear in mind I only begun coding about a month ago.Also how do I add code in that humorous window atforexintuitiveand not at the main article ) In the Global field I declare: dual initaite_equity=0; At the init I acknowledge: initaite_equity=AccountEquity();...
    Hi ,

    I am bad in coding but I am using one EA for myself and now I am attaching here. I simply used that EA to close all positions as soon as it reaches certain amount of equity; you could try.
    https://forexintuitive.com/attachmen...1280229465.ex4

  2. #12
    Quote Originally Posted by ;
    quote Hi, I am not good in coding but I am using one EA for myself and I am attaching here. I just used that EA to close all positions when it reaches certain amount of equity; You can try. file
    Hello aahmad.

    Thanks for the EA.Will see how I can use it.

    From the way.Nice perform with your trading diary and trading up to now this year.Hope it lasts for the remainder of the year but I am convinced it will

    All of the best



  3. #13
    Quote Originally Posted by ;
    quote Hello , I am bad in coding but I am using one EA for myself and I am attaching here. I simply used that EA to close all places as soon as it reaches certain quantity of equity; you could test out. document
    I attempted this EA on my live account but it closes all started orders, but when I attempt on demonion it works correctly, do you possess the mql of the EA for check relating to this error

  4. #14
    You have weird parenthesis from the reduction part of the code...

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