fxDreema

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

    Breeeeen

    @Breeeeen

    3
    Reputation
    121
    Profile views
    24
    Posts
    2
    Followers
    0
    Following
    Joined Last Online
    Location New Zealand Age 39

    Breeeeen Unfollow Follow

    Best posts made by Breeeeen

    • RE: Enabling more system blocks

      Well this is embarrassing, I'm was sure they weren't there before (but they are now... of course).
      Thanks for the info!

      posted in Questions & Answers
      B
      Breeeeen
    • RE: Tutorial - Create Custom Blocks with "FXDreema Studio"

      You're a genius, it works like a charm! Thanks for your help.
      For reference if it helps others, I did it like this in the on Init tab, I can now use the .ex5 button:

      image.png

      posted in Tutorials by Users
      B
      Breeeeen

    Latest posts made by Breeeeen

    • RE: No Position Nearby filter

      Thanks for your reply, will give it a shot.

      posted in Questions & Answers
      B
      Breeeeen
    • No Position Nearby filter

      Hi everyone,

      Is there a way to filter the "No Positions Nearby" block to only a certain number of positions?

      To paraphrase, the "For each Position" block allows you to specify either newest to oldest (vice versa) and not more than "n" trades, can this be done for the "No Positions Nearby" block?

      I did a check on the forum before posting this, but if it's been asked before then apologies for missing it! Thanks for reading đŸ™‚

      320a724f-070b-4257-9c1d-1ef33ae84cb5-image.png

      posted in Questions & Answers
      B
      Breeeeen
    • RE: Some of my fxd EA's won't reinitiale after changing settings or timeframes

      @fxDreema as what Mantadiver was asking, is there a way we can automatically exclude this code so we don't have to jump into meta editor each time? Essentially what we want is for the EA to reinitialise when changes to any settings have been made.

      posted in General Discussions
      B
      Breeeeen
    • RE: Tutorial - Create Custom Blocks with "FXDreema Studio"

      You're a genius, it works like a charm! Thanks for your help.
      For reference if it helps others, I did it like this in the on Init tab, I can now use the .ex5 button:

      image.png

      posted in Tutorials by Users
      B
      Breeeeen
    • RE: Tutorial - Create Custom Blocks with "FXDreema Studio"

      Hi @QuantEngineer , I'm wondering if this tutorial could help me with not having to write my enumerations each time I export a file.

      Basically each time I want to export the file, I have to click the .mq5 button (not the .ex5) because of missing enumerations and then open the file in MetaEditor and add in the enumerations manually as per the picture below.
      image.png

      I tried adding a block using the tutorial above and adding it to the OnInit tab but every time I try clicking .ex5, I still get the same error that enumerations are missing.
      image.png

      Any ideas how I might use a custom block to save me the hassle of having to manually add these enumerations each time I export?

      posted in Tutorials by Users
      B
      Breeeeen
    • RE: How to set conditions on closing trades

      @l-andorrĂ  no that money doesn't need to be customizable, just as long as profits is greater or equal to losses, whatever their values.
      I tried a loop condition, what changes would you make to this example? https://fxdreema.com/shared/XVQAQMwSb (this is in MT5)

      posted in Questions & Answers
      B
      Breeeeen
    • RE: How to set conditions on closing trades

      Hi @l-andorrĂ , sorry the +25 and -23 were just examples, it should be any number as long as profits are equal to or greater than the losses.

      posted in Questions & Answers
      B
      Breeeeen
    • How to set conditions on closing trades

      Hi everyone,

      How would someone set up a situation where the EA does the following?

      1. Count the total dollar value of all profitable trades
      2. Close all profitable trades
      3. Start closing losing trades (biggest loss first) until the amount closed in losses equals the profits
      4. Skip any trades where it would make the total losses closed to be greater than profit closed

      To use an example, let's say I have 3 winning trades and 4 losing trades:

      Winning trades
      Trade 1 buy profit $5
      Trade 2 sell profit $8
      Trade 3 buy profit $12

      Losing trades
      Trade 4 buy loss $6
      Trade 5 sell loss $7
      Trade 6 buy loss $8
      Trade 7 buy loss $9

      Desired outcome: close trades 1-3 (total closed profit of $25) and then close trade 7, then trade 6, skipping trade 5 (since this would make the losses go over the profit) but closing trade 4 (total closed losses of $23)?

      I tried a proof of concept but it failed to do what I wanted it to (it closed everything):
      https://fxdreema.com/shared/XVQAQMwSb
      (This is in MT5)

      posted in Questions & Answers
      B
      Breeeeen
    • RE: OrderCheck() failed: Unsupported filling mode (10030) [possibly solved?]

      I want to say yes to both, but it's "magically" come alright since posting this (was not working for two days prior). Thanks admins I guess!

      posted in Bug Reports
      B
      Breeeeen
    • OrderCheck() failed: Unsupported filling mode (10030) [possibly solved?]

      Hi everyone,

      My MT5 EA works perfectly for seven different currencies that I'm testing it on, but on USDCAD it gives me this error.
      Looking at old threads, the admins have fixed this in the past but it pops up again from time to time.
      My broker is Blackbull Markets.
      Thank you.

      0_1649409186399_aa9a94f9-3f9e-4362-8165-16680f46444f-image.png

      posted in Bug Reports
      B
      Breeeeen