fxDreema

    • Register
    • Login
    • Search
    • Back to the main page
    • Categories
    • Recent
    • Tags
    • Popular
    • Search
    1. Home
    2. BlueMoon
    3. Topics
    B
    • Profile
    • Following 3
    • Followers 3
    • Topics 96
    • Posts 246
    • Best 5
    • Controversial 2
    • Groups 0

    Topics created by BlueMoon

    • B

      Log messages to a file
      Questions & Answers • • BlueMoon

      2
      0
      Votes
      2
      Posts
      699
      Views

      fxDreema

      There is a block "Write to file". You can connect it after "Once per bar" (set to 1 hour) for example. A .csv file is written and the new data is appended, but I don't think that this will be a problem

    • B

      Thank you fxDreema
      Questions & Answers • • BlueMoon

      6
      2
      Votes
      6
      Posts
      1397
      Views

      A

      I also enjoy working here. Thank you!

    • B

      Close each trade if certain conditions?
      Questions & Answers • • BlueMoon

      12
      0
      Votes
      12
      Posts
      5099
      Views

      L

      @josecortesllobat @l-andorrΓ  Hi Jose, thank you, but I was wondering if this was good by itself,... or does this (the Condition for TP or Condition for SL) go under a purple For each position or For each Trade Block? Please advise

    • B

      Low and High of last x candles
      Questions & Answers • • BlueMoon

      3
      0
      Votes
      3
      Posts
      1310
      Views

      Abade69

      @yalgaar If you want the mean of the high/lows just add the formula blocks at the end of the loop (the yellow conection).

    • B

      Terminate other EAs
      Questions & Answers • • BlueMoon

      10
      0
      Votes
      10
      Posts
      2665
      Views

      B

      Thanks for all your help

    • B

      Template Paramter ambiguous, cound be ulong or int
      Questions & Answers • • BlueMoon

      4
      0
      Votes
      4
      Posts
      610
      Views

      B

      I can confirm that the problem is indeed caused by the mentioned block.

      But I have had this since many weeks and have been working just fine. What happened and why its throwing this error now while compiling?

      @fxDreema5
      @fxDreema5

    • B

      Spread Filter Block
      Questions & Answers • • BlueMoon

      3
      0
      Votes
      3
      Posts
      1035
      Views

      B

      Basically I want to use the filter so trades are taken only under "Normal Market Conditions"

      My definition of "Normal Market Condition" is when the spreads are within the average limits. Example my brokers average spread for GBPNZD is around 3 pips. But then during Market open, Market Close, News...this spread can be as high as 20-30 pips and even more. This period of hight spread sometimes is not just a few seconds or minutes...it could be as much as 2 hours during Market Open or Market Close times.

      How do I filter this? Since if the block is collecting average for only a past few seconds...then for the filter....a 20 pips spread would be considered as normal.

    • B

      Check last closed trade
      Questions & Answers • • BlueMoon

      9
      0
      Votes
      9
      Posts
      2397
      Views

      fxDreema

      If it's only for 1 single trade, the last one, then you can use:

      For each Closed Trade (set 1 to Not more than....) -> pips away from open-price

    • B

      Source Code Fxdreema
      Questions & Answers • • BlueMoon

      11
      0
      Votes
      11
      Posts
      2917
      Views

      roar

      Check your project options

    • B

      Indicator Builder
      Questions & Answers • • BlueMoon

      4
      0
      Votes
      4
      Posts
      1377
      Views

      fxDreema

      Long time ago, when I started making fxDreema, the only indicator builder I knew was some part of Molanis. Now I don't know whether Molanis still exists or not πŸ™‚ It's kinda strange that no one decided to make something like that, and I never tried to do it. But maybe there is explanation - indicators are mostly mathematical calculations, I guess we can just write all the formulas easily in the source code instead of connecting bunch of blocks or whatever. I think that if there is an indicator builder, it would be pretty limited in what it can do, but I'm not sure.

    • B

      Delete existing Pending Orders when Trade opened
      Questions & Answers • • BlueMoon

      4
      0
      Votes
      4
      Posts
      1355
      Views

      E

      Hi @yalgaar

      Do this...

      0_1516552105779_7b5b2d80-e212-4681-8793-28a50125277e-image.png

    • B

      Modify Stops of Trades Block
      Questions & Answers • • BlueMoon

      4
      0
      Votes
      4
      Posts
      1250
      Views

      M

      admin can add it πŸ˜„

    • B

      Add values of string and double variables?
      Questions & Answers • • BlueMoon

      2
      0
      Votes
      2
      Posts
      1082
      Views

      M

      lets say your third variable is
      String result
      use custom code block and "add" them together:
      result = hello + (string)abc;

      (string)abc means, that abc you want convert to string from double ...

      if you want space between, than this:
      result = hello + " " + (string)abc;

      if you want to add something own:
      result = hello + " " + (string)abc + " myText";

      if you need precision from double number, do this:
      result = hello + DoubleToStr(abc, 4);
      where number 4 means how much digits you need after decimal ...

    • B

      Timeframe as input
      Questions & Answers • • BlueMoon

      12
      0
      Votes
      12
      Posts
      5867
      Views

      jstap

      @fxgump πŸ‘

    • B

      Can I import .mq4 files?
      Questions & Answers • • BlueMoon

      3
      0
      Votes
      3
      Posts
      1748
      Views

      fxDreema

      No. You can only import .mq4 files previously created by fxDreema. This is because there is embedded data about the project in the .mq4 file (at the bottom of the file) that fxDreema adds automatically. When importing a file, the MQL4 code is never read.

    • B

      Draw an arrow above and Below Candles
      Questions & Answers • • BlueMoon

      6
      0
      Votes
      6
      Posts
      2444
      Views

      M

      only manually in metaeditor πŸ˜„

    • B

      Notification options without MT4 installed on my phone
      Questions & Answers • • BlueMoon

      3
      0
      Votes
      3
      Posts
      1506
      Views

      M

      I can partially resurrect your hope πŸ˜„ ...
      but only 2. option as email message I tried few months ago ... open Options in metatrader and click there on "Email" option and here it is ... enable it and fill all fields ... as example for gmail:

      SMTP server: smtp.gmail.com:465
      SMTP login: your email login
      SMTP password: your email password
      From: your email as "your.email@gmail.com" (without quotes)
      To: again your email "your.email@gmail.com" (without quotes)
      click on Test button to see, and wait for email, check also spam ... if delivered, click ok ... if not delivered, try to do something with firewall (allow metatrader here) and check all fields if are correct ...

      after that block "Send email" is doing his job and send email when is triggered based on previous conditions ...

    • B

      How to obtain factorial of a variable?
      Questions & Answers • • BlueMoon

      3
      0
      Votes
      3
      Posts
      643
      Views

      fxDreema

      I don't even remember what factorial is, I'm so bad in math πŸ™‚ There are some Math functions in MQL already, but even if there is no function like this, you can try to make your own function (somewhere in /studio) and use it in the code

    • B

      What do these errors and warnings mean?
      Questions & Answers • • BlueMoon

      4
      0
      Votes
      4
      Posts
      902
      Views

      B

      bump!
      This is really time sensitive for me.

    • B

      zero divide in '11872-26913.mq4' (5750,31)
      Questions & Answers • • BlueMoon

      6
      0
      Votes
      6
      Posts
      1697
      Views

      B

      I wanted to provide more information. I was able to debug this myself and found out exactly which line of code is throwing this error. Here is that line. Can you please help finding out what is happening here? and how I can fix this?

      return(CustomPoint(symbol)/MarketInfo(symbol,MODE_POINT));

    • 1
    • 2
    • 3
    • 4
    • 5
    • 2 / 5