fxDreema

    • Register
    • Login
    • Search
    • Back to the main page
    • Categories
    • Recent
    • Tags
    • Popular
    • Search
    1. Home
    2. Bocadeangu
    B
    • Profile
    • Following 0
    • Followers 1
    • Topics 4
    • Posts 12
    • Best 0
    • Controversial 0
    • Groups 0

    Bocadeangu

    @Bocadeangu

    0
    Reputation
    237
    Profile views
    12
    Posts
    1
    Followers
    0
    Following
    Joined Last Online

    Bocadeangu Unfollow Follow

    Latest posts made by Bocadeangu

    • Metatrader backtest taking 5X longer than normal

      I have Metatrader 5 on 2 computers.

      In one, Windows is XP. On that computer, Metatrader backtest my EA in 1:30 minutes. This computer has an outdated version due to the use of Windows XP.

      In another, I have Windows Server 2012 with the most up-to-date version of Metatrader. Performing the same Backtest with the same EA takes almost 14 minutes to complete.

      I think there is a bug in the most recent versions of Metatrader.

      Is anyone else noticing this slowness on BackTest?

      posted in Questions & Answers
      B
      Bocadeangu
    • RE: The biggest problem with FXdreema

      @fxmich78

      I have Metatrader 5 on 2 computers.

      In one, Windows is XP. On that computer, Metatrader backtest my EA in 1:30 minutes. This computer has an outdated version due to the use of Windows XP.

      In another, I have Windows Server 2012 with the most up-to-date version of Metatrader. Performing the same Backtest with the same EA takes almost 14 minutes to complete.

      I think there is a bug in the most recent versions of Metatrader.

      I'm having the same delay problem and not using lines.

      posted in Questions & Answers
      B
      Bocadeangu
    • RE: Help for Write custom block Mql Code: Condition + modify variables

      @miki Thanks a lot for the help.

      In what I need to program, I don't need to confirm that the condition is false. If it is not true, you can move on to the next comparison.

      If I write the way below is there a problem ???

      if (Variable1> 0) {Variable1 = Variable1 * Constant;}
      if (Variable2> 0) {Variable2 = Variable2 * Constant;}
      if (Variable3> 0) {Variable3 = Variable3 * Constant;}
      if (Variable4> 0) {Variable4 = Variable4 * Constant;}

      posted in Questions & Answers
      B
      Bocadeangu
    • RE: Help for Write custom block Mql Code: Condition + modify variables

      @miki I managed to pass the block with writing as follows:

      if (Variable1> 0) {Variable1 = Variable1 * Constant;}
      else if (Variable1 <= 0) {Variable1 = Variable1;}

      if (Variable2> 0) {Variable2 = Variable2 * Constant;}
      else if (Variable2 <= 0) {Variable2 = Variable2;}

      posted in Questions & Answers
      B
      Bocadeangu
    • RE: Help for Write custom block Mql Code: Condition + modify variables

      @miki Thanks for commenting. With blocks, I know how to make logic.

      But I would like to write in MQL5 code because I have to make these comparisons with 132 variables.

      I made the example with blocks just to serve as a reference about what I want to write in the "CUSTOM MQL Code" block.

      posted in Questions & Answers
      B
      Bocadeangu
    • Help for Write custom block Mql Code: Condition + modify variables

      Goodnight. I already apologize for my English. I'm using google translator. @fxDreema @miro1360

      I would like to write in the block "CUSTOM MQL CODE" but I don't know anything about MQL5 programming.

      I need to write code that checks for 1 condition. If the condition is true, change a variable. If it is false, skip to check the next condition.

      I have 3 variables that will be checked. If the condition is true, the variable will be multiplied by a constant. If the condition is false, check the next variable.

      Example:

      If Variable1> 0, Variable1 = Variable1 * Constant, Pass
      If Variable1 <= 0, Pass

      If Variable2> 0, Variable2 = Variable2 * Constant, Pass
      If Variable2 <= 0, Pass

      If Variable3> 0, Variable3 = Variable3 * Constant, Pass
      If Variable3 <= 0, Pass

      https://fxdreema.com/shared/NkUHSeMUd

      posted in Questions & Answers
      B
      Bocadeangu
    • RE: enable and disable indicators in ea

      https://fxdreema.com/shared/C54tyxrE

      Veja se consegue entender o exemplo.

      @Mateus_F

      posted in General Discussions
      B
      Bocadeangu
    • RE: enable and disable indicators in ea

      Vou fazer e postar aqui para voce.

      posted in General Discussions
      B
      Bocadeangu
    • RE: disable a block in the robot through a constant

      I answered about a way to do this in your other topic.

      posted in Questions & Answers
      B
      Bocadeangu
    • Help to compare 61 variables at the end of trade

      Good evening, friends from the forum. @fxDreema

      I am Brazilian and I already apologize for the English. I'm writing through Google Translate.

      My EA project here at Fxdreema is intended to look like a simple neural network (Perceptron).

      Through indicators and candles, each CONDITION block assigns a value to a unique variable. The value can be 1 or -1.

      I need help to find out at the end of the trade which variables were with negative numbers and which variables were positive.

      Let's say the sum of the variables was> 0. In this case, I make a purchase.

      If the trade is a winner: I want to see which variables were positive and increase their value. (Example: If it was 1, I want to change the value to 1.2)

      I want to see which variables were negative and decrease their values. (Example: if it was 1, I want to change the value to 0.9)

      I know what I can do with blocks. But you would have to compare 61 variables with 2 CONDITION blocks each (162 blocks). After that, use 162 more blocks of MODIFY VARIABLES.

      My question is whether there is a more elegant solution in the CUSTOM MQL custom block to be implemented.

      Obs. I am completely layman in MQL5 code. I don't know anything about programming.

      posted in Questions & Answers
      B
      Bocadeangu