EA fix: Close all positions at profit target X - Page 2
Page 2 of 733 FirstFirst 123 LastLast
Results 11 to 20 of 329

Thread: EA fix: Close all positions at profit target X

  1. #11
    Hello....


    Will you help me


    Close All Lot (instant and pending order) when current price retracement and attaining to any take profit . And shut all lot with this pair just. Not yet for another pair. Because We've put on separate state



    Thank You.

  2. #12
    Quote Originally Posted by ;
    Hello programming experts. This very simple EA allows multiple (usually hedged) trades to be shut when an inputed profit goal is attained. It's potentially helpful.

    However, as with other easy EA's of its type I've examined, once the profit goal is attained, it will begin to close rankings, but it will stop closing positions if that floating profit drops below the goal level (simple to occur if the price is changing or the negative trades would be the last to be shut). . So it tends to leave two or 1 trades. . And then will shut...
    I neglect to get the ea. Can anybody send me

  3. #13
    Quote Originally Posted by ;
    Hi Hedgehog, The code you have should work to close everything unless there's an error - like the price is too near or slippage is too fantastic. I made. If specific positions have errors, it just keeps trying . I think they will close eventually. I think that it is OK, although I'm not at my computer with MT4, therefore I was unable to compile it. Give it a shot. Viper document
    Hi Sir Viper! Will you be able to re-code and compile it to .LUA so that I can use it using FXTS Marketscope Strategy? Credits to hedginghog as this is 1 egy I am looking for for ages.

    Thank you!

  4. #14
    Quote Originally Posted by ;
    Hi Hedgehog, The code you have should work to shut everything unless there's an error - like the price is too near or slippage is too fantastic. I made. If specific positions have errors, it just keeps trying forever. I think they will close. I'm not in my computer with MT4, therefore I was not able to compile it, but I think it is OK. Give it a shot. Viper document
    MR TRADINGVIPER YOU ARE MY HEROOOOOOOOOOOOOOOOO... thanx alot for ur effort and for sharing this amazing EA, ive been lookin around for quite a while and I have dozens just to do exactly as this 1 will. . All expert advisors didnt shut exactly on the same targeted price, my broker have HUGE take profit requirements now im done with it by this fantastic tool. .

    I wanted to ask if u can make a second copy of it targeting the profitable trades ammount by PIPS not the value (bcz u know 1 pip for silver differs than just 1 pip of EUR/USD). . All I need is to specify profits by The amount of pips in profit
    i.e: (2 pips) not ($10.0) is it feasible please ?????

  5. #15
    1 Attachment(s) pls. Try attached, I extended the onscreen-comment also
    2 new outside vars added, should be self-explanatory ...
    https://www.forexsoutheast.asia/fore...arry-grid.html

  6. #16
    Quote Originally Posted by ;
    pls. Strive attached, I long the onscreen-comment also 2 new external vars added, ought to be self explanatory ... document
    thank you so much @fxdaytrader_ I just watched the reply I promise I didnt receive an email that some1 responded to the article thank you so much for ur help

  7. #17
    If there a way to produce this work?

    Instance, if equity lt;= 800 then shut all positions. I tried to change the gt;= to lt;= in the mql document and it didn't work.

    If(BuyProfit SellProfit lt;= ProfitTarget) CloseAll();

    it just closed any transactions directly away like the first.

    Thanks so much!

  8. #18
    Quote Originally Posted by ;
    pls. Try attached, I expanded the onscreen-comment also 2 new outside vars added, should be self-explanatory ... document
    I have been searching for an EA to close a basket of trades at profit in pips. This EA is excellent but it considers ALL the trades on the account to figure the profit. Can anyone alter the code so the EA will close trades only on a single pair.

  9. #19
    Quote Originally Posted by ;
    Hi Hedgehog, The code you have should work to close everything unless there's an error - like the price is too near or slippage is too fantastic. I made. If positions have mistakes, it just keeps trying . I think they will close. I am not at my pc with MT4, therefore I was unable to compile it, but I think it is OK. Give it a shot. Viper file
    Than you,you are fantastic. Cheers

  10. #20
    Quote Originally Posted by ;
    pls. Try attached, I prolonged the onscreen-comment also 2 new outside vars added, should be self-explanatory ... document
    That's exactly what I've been on the lookout for but near goal should be the price, not cash or pips. One price goal. Is it possible?

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.