fxDreema

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

    Best posts made by fideld003

    • RE: After closing trade no trade on same day

      Hi @BHovens and @trader-philipps,

      • Were you referring to this one?
        0_1610082636621_2a967e80-6598-4219-bcb2-af5d76cea5e2-image.png

      • If it's not such a hassle, could you kindly provide an example of how you used it?

      • Did you connect it to "Check age" block?

      • 0_1610082749301_b032fb5a-9520-4714-9c9a-4f9d12b17630-image.png

      posted in Questions & Answers
      F
      fideld003
    • RE: Variable uses and examples

      @roar ohhh, I got it. Yeah, the example was nicely done so I was able to grasp at least 80% of it. Thank you for this awwweeeesome example. 🙂

      posted in Questions & Answers
      F
      fideld003
    • RE: Variable uses and examples

      @roar Thanks for the example.

      0_1610694196393_7ebd0625-003f-4148-b7b0-baa9eb42bd74-image.png

      Let's see if I got it right ...

      1. So you've created three variables which are, "buys, sells, and lotA" with a value of zero.
      • Zero meaning that's the starting value, right?
      1. On the "For each Trade" block, there's this orange field that says buys+1
      • This is where the counting happens right? So meaning 0 +1(count of buy) +1(count of buy)
      • The white box there is related to what we defined on the variables tab right?
      • What's the use of the yellow box?
      1. On the "Custom MQL code" block, there's kind of an equation. Upon checking https://docs.mql4.com/math/, these seem to be Math Functions available on MQL4.
      • In layman's term could you describe to me how these lines work? I tried to read the description of those two functions but I just couldn't get it.
        lotA = 0.01*MathLog(buys)*2;
        lotA = MathMax(lotA, 0.01);

      For reference as well, this is the closed trades for Buy.
      0_1610696505855_9e87f58e-fa62-47a0-8704-ef6ebadeb1bb-image.png

      posted in Questions & Answers
      F
      fideld003
    • 1 / 1