fxDreema

    • Register
    • Login
    • Search
    • Back to the main page
    • Categories
    • Recent
    • Tags
    • Popular
    • Search
    1. Home
    2. pontedruse
    3. Posts
    P
    • Profile
    • Following 0
    • Followers 0
    • Topics 4
    • Posts 33
    • Best 3
    • Controversial 0
    • Groups 0

    Posts made by pontedruse

    • RE: MT4 to MT5 equivalent block

      @xyon126 In this example there are 3 variables. in one there is net profit from current positions; in the second there is the net profit of closed positions; and in the third there is the total net profit, (ie the sum of the net profit of both current and closed positions).
      https://fxdreema.com/shared/hlsyDBhHb

      posted in Questions & Answers
      P
      pontedruse
    • RE: MT4 to MT5 equivalent block

      @xyon126 No I don't speak Spanish, I just renamed the variable, as you renamed it, that is: beneficio_neto.

      posted in Questions & Answers
      P
      pontedruse
    • RE: MT4 to MT5 equivalent block

      @xyon126 If the net profit of the open positions, you need to put it in a variable, then try this: https://fxdreema.com/shared/Dh1v3Zbfe

      posted in Questions & Answers
      P
      pontedruse
    • RE: MT4 to MT5 equivalent block

      @xyon126 So it is a momentary profit, which can be both positive and negative

      posted in Questions & Answers
      P
      pontedruse
    • RE: MT4 to MT5 equivalent block

      @xyon126 This block: Check block (unrealized), should work, because it calculates the sum of the positive and negative profit of the open positions.
      https://fxdreema.com/shared/HreRjfcDd

      posted in Questions & Answers
      P
      pontedruse
    • RE: @roar, Sell ​​now and Buy now with% of Balance or% of Equity but with minimum lot. (Solved)

      @xyon126 I can't tell you, unfortunately I've never worked with draw lines.

      posted in Questions & Answers
      P
      pontedruse
    • RE: @roar, Sell ​​now and Buy now with% of Balance or% of Equity but with minimum lot. (Solved)

      @xyon126 Hello. in this case you have to put 100%
      because the fxdreema algorithm transforms dollars into lots by multiplying: 3000 x 0.00001 = 0.03
      or by dividing 3000/100000 = 0.03

      If you would have put 200% the result would have been:
      6000 x 0.00001 = 0.06 or: 6000/100000 = 0.06
      etc.etc.

      In practice, the budget is halved, doubled or tripled, multiplying everything by 0.00001 or dividing by 100000.

      Regarding the par (EURUSD, GBPJPY) etc. it is not specific to a single pair, but is good for all par pairs.

      posted in Questions & Answers
      P
      pontedruse
    • RE: @roar, Sell ​​now and Buy now with% of Balance or% of Equity but with minimum lot. (Solved)

      @xyon126 Hi if you only want 0.5 % of capital, you have to multiply the capital by 0.005.

      If, on the other hand, you want the capital + 0.5 % you have to multiply the Capital by 1.005

      But you have to keep in mind that if you use that modified formula I gave you last time: (AccountEquity () * PERCENTAGE / 10000000); for equity, and which can also be used very well for balance making it become like this: (AccountBalance () * PERCENTAGE / 10000000);

      0.005 becomes 0.5 and 1.005 becomes 100.5

      I hope I was clear 🙂

      posted in Questions & Answers
      P
      pontedruse
    • RE: How to calculate Total Wins & Total Losses

      @mabz_h try this way

      https://fxdreema.com/shared/yc6r9Z2Ec

      posted in Questions & Answers
      P
      pontedruse
    • RE: @roar, Sell ​​now and Buy now with% of Balance or% of Equity but with minimum lot. (Solved)

      @xyon126 If you want to get the percentage as you say you have to change it in this way: (AccountEquity () * PERCENTAGE / 10000000);

      As for the 2 blocks located on init, you can very well delete them because they are not needed, I just forgot to delete them.

      posted in Questions & Answers
      P
      pontedruse
    • RE: @roar, Sell ​​now and Buy now with% of Balance or% of Equity but with minimum lot. (Solved)

      @xyon126 Try this code: https://fxdreema.com/shared/OaBJphFqd

      However, in order to use it you have to create a variable that you will call: LOT which you will initialize with 0 (zero), and which you will put in place of the buy and sell lots in the market. And also you will have to create 2 constants, 1 you will call it: PERCENTAGE, and you will put the percentage% of Equity you want to put into play,(to calculate 1% you will have to write 0.01 while to calculate 10% you will have to write 0.1). And the other you will call it: MINIMUM_LOT, and inside you will put the value 0.02 that is the minimum of the lot beyond which you must not go down. I hope I was clear.

      posted in Questions & Answers
      P
      pontedruse
    • RE: Variable comparison of losing and winning closed positions

      @pontedruse said in Variable comparison of losing and winning closed positions:

      @pontedruse said in Variable comparison of losing and winning closed positions:

      hi. I would like to put in a variable all closed positions, both Buy and Sell winning. And the same thing I would like to do with the losing ones, to be able to compare them with the Condition block. How can I do?
      thank you.

      @trader.philipps @ambrogio @josecortesllobat @seb 0 @Zackry @AlphaOmega @CPxiom @timmyhanke @Spuzy @biztet @Hadees @TitanGeorge @CPBonzo @Xfire @CDWilder1 @fxDreema

      posted in Questions & Answers
      P
      pontedruse
    • RE: Variable comparison of losing and winning closed positions

      @l-andorrà Thanks all the same for your kindness. If you come up with any new ideas later, just let me know.

      posted in Questions & Answers
      P
      pontedruse
    • RE: Variable comparison of losing and winning closed positions

      @pontedruse said in Variable comparison of losing and winning closed positions:

      hi. I would like to put in a variable all closed positions, both Buy and Sell winning. And the same thing I would like to do with the losing ones, to be able to compare them with the Condition block. How can I do?
      thank you.

      @roar

      posted in Questions & Answers
      P
      pontedruse
    • RE: Variable comparison of losing and winning closed positions

      @l-andorrà I tried it but it doesn't work. There is no function in mql5 that directly calculates the number of closed winning and losing positions ??

      posted in Questions & Answers
      P
      pontedruse
    • RE: Variable comparison of losing and winning closed positions

      @l-andorrà Show me a practical example, with some pictures. However I use mt5 no mt4.

      posted in Questions & Answers
      P
      pontedruse
    • RE: Variable comparison of losing and winning closed positions

      @l-andorrà The limit should be: that once the 2 variables have been compared with each other, for example: reaching parity (sell and buy winnings == sell and buy losses), the count must start from zero, and re-count the new trades winners and losers that close from the confrontation onwards

      posted in Questions & Answers
      P
      pontedruse
    • RE: Variable comparison of losing and winning closed positions

      @pontedruse

      posted in Questions & Answers
      P
      pontedruse
    • RE: Variable comparison of losing and winning closed positions

      @l-andorrà

      posted in Questions & Answers
      P
      pontedruse
    • Variable comparison of losing and winning closed positions

      hi. I would like to put in a variable all closed positions, both Buy and Sell winning. And the same thing I would like to do with the losing ones, to be able to compare them with the Condition block. How can I do?
      thank you.

      posted in Questions & Answers
      P
      pontedruse
    • 1
    • 2
    • 1 / 2