Page 2 of 2 FirstFirst 12
Results 11 to 15 of 15
 4 Attachment(s)    

Thread: CloseTrades_After_Account_Profit_Reached.mq4

  1. #11

    Default

    Neo I played with it as I wanted to make the Trailing Stop work on the profit side and the OrderClose All work on the loss side...but it had bugs..(.reacting counter to the direction of the currency). I really want to get the CloseAll at profit with Trailing Stop AND CloseAll PENDING LIMIT ORDERS at that time too figured out first as I'd like to use this with live accounts. Anyone have any ideas...?? The code from shisuyu and the code from me are unrelated... Neo you can make it work like you want if you open two different charts and attach shisuyu's two programs on those separately ....BillR

  2. #12

    Default

    Quote Originally Posted by BillR View Post
    Neo you can make it work like you want if you open two different charts and attach shisuyu's two programs on those separately ....BillR
    Cheers for the input. I guess it will have to be the two-chart formula unless I can find a better equity manager that I don't have to fork out for.

    Another feature that would be brilliant would be to have an input which would close all on a percentage of balance. For example, maybe you want to close all trades when your equity digs into 7% of your account. The nice thing about being able to control the equity proft/loss with percentages is that as your account increases (hopefully!), the stops are changed on the fly.

  3. #13

    Default

    Neo...
    AccountEquity()-AccountBalance()>=AccountBalance()*XXX;
    Might work...BillR

  4. #14
    Junior Member
    Join Date
    May 2009
    Posts
    2

    Default

    The common mistake is when traders and investors buy or sell when the rate on currency is cheap. Sometimes this is a good move, but just because the rate is low, does not mean that it will profit the investor.

  5. #15
    Junior Member
    Join Date
    Dec 2015
    Posts
    1

    Default

    BillR, Awsome and doing what I expect, but i'm very late to read this post ( disucssed long ago), onthing I observed is I could not modify "My_money_profit_target" to 0.50, the only accepted values is $1 onward, is it possible we can edit this to <$1?

    Pls help

    -Sathya-

Tags for this Thread

alpari, broker, brokers, closing, demo, eas, experts, funyoo, hedging, live, low, mq4, nfa, profit, real, robot, robots, sells, spread, stop, stoploss, strategy, system, test, time, tool, trading, trading system, trailing

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •