fxDreema

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

    any way to do this:

    Questions & Answers
    3
    7
    2933
    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.
    • J
      Jennifer last edited by

      hello is there a way to do this :
      is there a way to make it so that EA does not take any trade for one day if the total profit is above a certain level ? let say 20$ for that day
      for example we deposit 100 $ and start ea on that 100$ account
      ea took some trades and all the trades are now closed and it will check if the total balance is above 100$(deposited amount) by 20$ or not and if it is then dont take anymore trades for that day.

      and on the next day the initial balance for second day is 120$ (100 DEPOSIT and 20 previous day profit)
      and when the total balance for the second day is 140$ (i-e; 120 previous balance and 20$ second day profit) it stop taking anymore trades for that day
      on the third day the initial balance will be 140$ and when the balance for day 3 gets to 160$ (previous day initial balance and current day's profit) it stop taking anymore trades for that day
      and on the 4th day the initial balance will be 160$ and when there is profit of 20$ on 4th day that is (total balance of 180$ 160$ initial balance and 20$ profit of 4th day ) the EA stop taking trades and then starts again the next day
      and so on.....

      i tried using the block " check profit (period of time)" but it didnt quite worked , may be i used it in a wrong way
      also used variables to store the previous balance and current balance but i am not so good with the variables so it didnt worked

      ===>Jennifer Syn<===

      1 Reply Last reply Reply Quote 0
      • B
        BlueMoon last edited by

        I think you can do this by easily by putting a condition before entering new trades. The condition should check the existing equity. If equity is above certain number...only then take new trades. You can decide whatever you want the equity number to be and put this in variables incrementing it each day.

        J 1 Reply Last reply Reply Quote 0
        • J
          Jennifer @BlueMoon last edited by

          @yalgaar
          thanks i tried it that way but how will be the variable be incremented each day automatically ?
          i tried using modify variable block but i must have been doing something wrong

          ===>Jennifer Syn<===

          B 1 Reply Last reply Reply Quote 0
          • M
            miro1360 last edited by

            and using simple Check profit (period of time) block?
            0_1506772965252_upload-2dbabe12-3478-4575-9388-e43122325cb0

            Between trading and gambling is a very small gap, be careful.

            J 2 Replies Last reply Reply Quote 0
            • J
              Jennifer @miro1360 last edited by

              @miro1360
              will this block compare the equity with the balance or will it check the balance increments and decrements for specified time?

              ===>Jennifer Syn<===

              1 Reply Last reply Reply Quote 0
              • J
                Jennifer @miro1360 last edited by

                @miro1360
                and one more thing is it possible to store first day's balance in a variable "a" and then on the next day compare "a" with the second day's balance "b" and if b is greater than a+20 then dont take trade and if b<a+20 then keep taking trades

                ===>Jennifer Syn<===

                1 Reply Last reply Reply Quote 0
                • B
                  BlueMoon @Jennifer last edited by

                  @Jennifer said in any way to do this::

                  @yalgaar
                  thanks i tried it that way but how will be the variable be incremented each day automatically ?
                  i tried using modify variable block but i must have been doing something wrong

                  You can use the "Once a day" block to increment the variable each day

                  1 Reply Last reply Reply Quote 0
                  • 1 / 1
                  • First post
                    Last post

                  Online Users

                  B
                  Z
                  M
                  J
                  G

                  16
                  Online

                  146.7k
                  Users

                  22.4k
                  Topics

                  122.6k
                  Posts

                  Powered by NodeBB Forums | Contributors