fxDreema

    • Register
    • Login
    • Search
    • Back to the main page
    • Categories
    • Recent
    • Tags
    • Popular
    • Search
    1. Home
    2. kketzal
    3. Topics
    K
    • Profile
    • Following 0
    • Followers 0
    • Topics 9
    • Posts 29
    • Best 0
    • Controversial 0
    • Groups 0

    Topics created by kketzal

    • K

      Import fxDreema Satellite Functions in Custom Blocks
      Questions & Answers • • kketzal

      2
      0
      Votes
      2
      Posts
      628
      Views

      fxDreema

      Thos functions are automatically generated, I don't recommend to use them 🙂

    • K

      Custom Loop for Testing Moving Averages
      Questions & Answers • • kketzal

      3
      0
      Votes
      3
      Posts
      669
      Views

      K

      OK. Sorry. It's solved.
      Yes, I'm using a custom block....the problem was a "indicator Rise/Fail" block...it was with "pass once per bar" parameter selected....that was the problem.

      Thanks!

    • K

      To check if a certain trade is in breakeven...
      Questions & Answers • • kketzal

      4
      0
      Votes
      4
      Posts
      714
      Views

      fxDreema

      There is no special block or option for this, so..
      https://fxdreema.com/shared/RaI9c8jTc
      Well, not very elegant. I didn't tested it 😮

    • K

      Closing Pending Orders after 'N' bars
      Questions & Answers • • kketzal

      5
      0
      Votes
      5
      Posts
      1031
      Views

      K

      Ok!

      Thank you so much! 🙂

    • K

      FEATURE REQUEST: "Save As..." option
      Questions & Answers • • kketzal

      2
      0
      Votes
      2
      Posts
      485
      Views

      fxDreema

      There is no such option. It depends by the way, you are probably talking for the local desktop version, because normally for the web one it pops Save as every time.
      Well, you can always create a copy of some .mq4/.ex4 file that was generated. Then the same file can be again imported as a project.

    • K

      #include <somelibrary.mqh> doesn't work on Library Studio
      Bug Reports • • kketzal

      18
      0
      Votes
      18
      Posts
      4311
      Views

      fxDreema

      Now it must be ok 😕

    • K

      To Modify Label Object Text property
      Questions & Answers • • kketzal

      2
      0
      Votes
      2
      Posts
      696
      Views

      fxDreema

      Depends on how you want to select that object - by name or by type. If it's by type, then something like this: https://fxdreema.com/shared/NoypePCLd
      There is a little problem here, if you set "Text color" of block 3 to "No change", it actually changes it's code to None. I'm not sure when this bug appeared, because I think it worked when I was building this block, but in the new MT4 color constants are now different so I must fix them anyway. Better set the color to something. And notice that there are some labels generated by the EA itself.

      By name... it seems that I didn't created a block to select an object by name 🙂 Here is what I can suggest now - MQL code:

      string label_name="mylabel"; string label_text="New Text"; if(ObjectFind(0,label_name)==0) { ObjectSetString(0,label_name,(ENUM_OBJECT_PROPERTY_STRING)OBJPROP_TEXT,label_text); ChartRedraw(0); }

      The (ENUM_OBJECT_PROPERTY_STRING) is not mandatory, but I found that sometimes it reports weird error message if it's not there.

    • K

      HOW CAN I CHECK A VARIABLE OR CONSTANT VALUE??
      Questions & Answers • • kketzal

      6
      0
      Votes
      6
      Posts
      1484
      Views

      fxDreema

      Yes, there are many data types, but from all of them only string is unique. All the others are basically integer, which is a whole number. Integer can be used with double (floating number), with boolean (0 or 1). In some situation even string can be used as integer 🙂

      In the case yes, you can compate 0 with false and 1 with true.

    • K

      HOW WORKS "FORMULA" BLOCK????
      Questions & Answers • • kketzal

      6
      0
      Votes
      6
      Posts
      1302
      Views

      l'andorrà

      @genesys Please open a new thread for your issue.

    • 1 / 1