fxDreema

    • Register
    • Login
    • Search
    • Back to the main page
    • Categories
    • Recent
    • Tags
    • Popular
    • Search
    1. Home
    2. roar
    3. Posts
    • Profile
    • Following 0
    • Followers 184
    • Topics 35
    • Posts 2406
    • Best 422
    • Controversial 6
    • Groups 0

    Posts made by roar

    • RE: Time source wrong calculation

      Looking at the source, the time model seems to use TimeLocal() and TimeGMT() but then immediately remove the difference to server time - I wonder what's up with that @fxDreema 😄

      image.png


      Also a good thing to remember:

      image.png

      posted in Bug Reports
      roar
      roar
    • Tip: Avoiding lopsided optimizations

      When running a genetic optimization, sometimes the best results converge towards an inputs set that produces a very small number of very successful trades. This is usually a bad thing, because few very successful trades is statistically less reliable than a lot of semi-successful trades.

      To avoid this optimization problem, you can code a custom criterion that takes trade number into account, but if you are lazy like me, you can use a "handicap": create some extra blocks that make 100% bad trades -> now the optimization discards all results with too few trades, because those trades cannot offset the intentionally bad trades. Input sets that produce a lot of good trades will have the upper hand in optimization.

      Example of a simple handicap model:
      https://fxdreema.com/shared/Jdk6zDAtb

      posted in Tutorials by Users
      roar
      roar
    • RE: Here, take this profitable ea

      @PauloSouza the lot size is set in this custom block. You can replace 0.10 with your constant name.
      316ae1e1-53c8-40dd-80cd-efa3243c075c-image.png

      posted in Tutorials by Users
      roar
      roar
    • RE: Time source problem

      @El_Moein seems like it. Next step I would crete a fresh project and try again with the fxdreema block.

      posted in Questions & Answers
      roar
      roar
    • RE: What causes stack overflow error in mql4?

      @zearma yes, but there is some oversight neither of us can see right now.

      posted in Questions & Answers
      roar
      roar
    • RE: What causes stack overflow error in mql4?

      Ok, so compiling is not the problem here.
      I need to see the loop and when does the loop end.

      posted in Questions & Answers
      roar
      roar
    • RE: Easy way to make ENUM

      @BBMess MA method is always an enumeration by itself, that might cause problems.
      https://www.mql5.com/en/docs/constants/indicatorconstants/enum_ma_method

      Please send a shared link of your example

      posted in Tutorials by Users
      roar
      roar
    • RE: What causes stack overflow error in mql4?

      Can you show the error log of the metaeditor when you try to compile?

      posted in Questions & Answers
      roar
      roar
    • RE: What causes stack overflow error in mql4?

      Does your loop ever end?

      posted in Questions & Answers
      roar
      roar
    • RE: Time source problem

      What does this output for you?

      test.ex4
      test.mq4

      d5bde6dd-2dd1-4026-8232-3592fd0e263a-image.png

      posted in Questions & Answers
      roar
      roar
    • RE: Time source problem

      Is this a backtest chart or live chart?

      posted in Questions & Answers
      roar
      roar
    • RE: Can we change the magic number?

      @GTOAT777 the magic number can be found in the project settings

      posted in Questions & Answers
      roar
      roar
    • RE: Pips away from open price - based on ATR

      @Chikano11 Select price fraction and then select the ATR indicator

      91bb5e06-472b-4074-a5b6-eca3afd190c0-image.png

      posted in Questions & Answers
      roar
      roar
    • RE: modify take profit after entering operation

      @slydexx naturally you need to check the current stop before modifying it. In the latest version you are modifying every position regardless of their stop.

      Also, switch the "If position" block to a "for each position". Pink blocks always need a purple loop block as a parent. The blue blocks sometimes work, but they are not intended to work like that and thus not reliable.

      posted in Questions & Answers
      roar
      roar
    • RE: modify take profit after entering operation

      @slydexx the block I mentioned isn't there

      posted in Questions & Answers
      roar
      roar
    • RE: Closing 70% of the position

      image.png

      posted in Questions & Answers
      roar
      roar
    • 1
    • 2
    • 3
    • 4
    • 5
    • 6
    • 7
    • 120
    • 121
    • 5 / 121