fxDreema

    • Register
    • Login
    • Search
    • Back to the main page
    • Categories
    • Recent
    • Tags
    • Popular
    • Search

    Automatic higher balance-goal after profit

    Questions & Answers
    2
    2
    354
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • M
      mojcika last edited by

      Hi!
      I have a problem with making my EA..I hope I can describe it well...
      I already made an EA that opened trades on some EMA and PSAR conditions and when reached the goal-balance (for example make 10€ daily) it closes positions...if the trend changes, the trade is closed and the next trade adds on lots (some tipe of martingale but not doubling). On the next day (for example at 9 am) the EA sets a new goal - balance+10€ and it starts trading again. But now I would like the EA working all day - so what blocks do I have to use so the EA looks at last trades (even if they are from last day -if I trade from 9am till 8pm for example); if last trade was a loser then it works - the EAopens new trade with more lot..but I don't know how to change the EA so when the last trade is closed in profit, the EA should right away set a new goal - reach the balance from before +10€ and then closes the trade when equity reaches this new goal? Please help me 🙂

      1 Reply Last reply Reply Quote 0
      • fxDreema
        fxDreema last edited by

        I'm not sure I understand the whole question, but if you just want to check the profit of the last trade, you can use:

        • "Check profit (last closed)"
        • or "For each Closed Trade" (set Not more than n history trades to 1) and then any other pink block, for example "check profit"
        1 Reply Last reply Reply Quote 0
        • 1 / 1
        • First post
          Last post

        Online Users

        11
        Online

        146.8k
        Users

        22.4k
        Topics

        122.6k
        Posts

        Powered by NodeBB Forums | Contributors