fxDreema

    • Register
    • Login
    • Search
    • Back to the main page
    • Categories
    • Recent
    • Tags
    • Popular
    • Search
    1. Home
    2. GSMtricks
    3. Topics
    G
    • Profile
    • Following 0
    • Followers 0
    • Topics 19
    • Posts 52
    • Best 1
    • Controversial 0
    • Groups 0

    Topics created by GSMtricks

    • G

      New candle - Open trade issue
      Questions & Answers • • GSMtricks

      3
      1
      Votes
      3
      Posts
      748
      Views

      roar

      @gsmtricks theres lots of problems with ontimer lately, maybe there is some unknown bug...
      You could do it ontick, and just hope there are ticks during those 1-3 seconds.

      When new candle opens, put the time into a variable with TimeCurrent() function.
      Now you can set condition: TimeCurrent() > variable + 2
      This way you get a 2 second delay from candle open.

    • G

      Server down??
      Bug Reports • • GSMtricks

      12
      0
      Votes
      12
      Posts
      2284
      Views

      X

      Hi.
      Thank you for fixing and extra days for my account
      @fxdreema

    • G

      Open trade when candle open
      Questions & Answers • • GSMtricks

      10
      0
      Votes
      10
      Posts
      2076
      Views

      A

      This is my test on a demo hedge MT5 account
      https://fxdreema.com/shared/BZ7Nkbb1b

      0_1575893090757_Cattura.PNG

      No delay, but it's a demo account

    • G

      Is there a way to check if block in status on/off?
      Questions & Answers • • GSMtricks

      4
      0
      Votes
      4
      Posts
      848
      Views

      G

      I figured this out. I am not using the button as a button, I used shape....

    • G

      Bug with DoubleToString
      Bug Reports • • GSMtricks

      9
      0
      Votes
      9
      Posts
      1757
      Views

      roar

      @gsmtricks Just replace it to the function:
      MathFloor(Rate * 100) / 100

      Hope it works!

    • G

      Server time to Unix and compare
      Questions & Answers • • GSMtricks

      4
      0
      Votes
      4
      Posts
      548
      Views

      jstap

      TimeToString(1570951168,TIME_DATE|TIME_MINUTES) ...will give you that value as a string

    • G

      Not objects deleted while deinit
      Questions & Answers • • GSMtricks

      2
      0
      Votes
      2
      Posts
      481
      Views

      B

      Good day, can you please post the fix here so others may learn?I would like to see what I'm doing wrong in DeInit as well so I can correct my EA's reboot ability. Thanks in advance.

    • G

      How to include library?
      Questions & Answers • • GSMtricks

      27
      0
      Votes
      27
      Posts
      7734
      Views

      A

      @miro1360 đŸ˜„ , useful

    • G

      Parse WebRequest response and store into Variables
      Questions & Answers • • GSMtricks

      9
      0
      Votes
      9
      Posts
      4307
      Views

      G

      @trader-philipps
      Yes, sure I have it done.
      You can try your self. Open any Expert generated by FxDreema and try to add line:
      #include <JAson.mqh>

      You will see - no way to compile it after that.

    • G

      Select menu with conditions?
      Questions & Answers • • GSMtricks

      2
      0
      Votes
      2
      Posts
      683
      Views

      fxDreema

      What do you mean, what are these payloads?

    • G

      How to get normal value?
      Questions & Answers • • GSMtricks

      2
      0
      Votes
      2
      Posts
      739
      Views

      fxDreema

      MetaTrader decides how to format the number automatically in this case. There is a function DoubleToString() to format the number, but the second parameter of this function is the number of digits after the decimal point. If I put 8 digits it prints the value normally, but if the value is for example 10, it prints 10.00000000. So I don't know how to make it work properly for big and small numbers. One way is to add new parameters in the "Comment" block for formatting, but I don't think that I like the idea... I don't know.

    • G

      How to find lowest and highest value from indicator x-candles?
      Questions & Answers • • GSMtricks

      5
      0
      Votes
      5
      Posts
      1370
      Views

      l'andorrĂ 

      I'm not sure. I guess it will depend on the info of that buffer. In general I would say you will need a custom loop to find that value.

    • G

      Is it possible to use CURL requests etc?
      Questions & Answers • • GSMtricks

      4
      0
      Votes
      4
      Posts
      1136
      Views

      R

      Curl is an external executable, accessible with the ShellExecute function and dll. Usually comes with other good tools. Python will probably do the rest of what you need or Perl, etc.
      Not sure what the latency will be, but you can probably make things work with those tools.
      Using fxD's 'Write to file' to shoot your data outside of MT. Lots of tools for looking inside CVS files after that.
      Various MT functions that go both ways too, accessible through fxD's 'Custom MQL code' block.

      Done this with other platforms and tools in the past. Usually not that hard.

    • G

      Combine variables
      Questions & Answers • • GSMtricks

      5
      0
      Votes
      5
      Posts
      2015
      Views

      fxDreema

      Yes, something doesn't work and I will check it. But you can better do it that way in this case:
      0_1526900090341_56544a4b-9362-41f8-a0ae-ee1d9db82fa1-image.png

    • G

      But with output to file variables
      Bug Reports • • GSMtricks

      1
      0
      Votes
      1
      Posts
      476
      Views

      No one has replied

    • G

      Draw line chart?
      Questions & Answers • • GSMtricks

      6
      0
      Votes
      6
      Posts
      2086
      Views

      fxDreema

      Well, as you probably know, lines are normally drawn by indicators. And their lines are actually a little bit different kind of lines. If you try the "Trace" block, it draws a line, but that line is made out of multiple trend-lines, multiple objects. Compared to that, Moving Average draws a line that does not appear on the list of objects. So the best is to make a custom indicator. EAs are primarily designed to read indicators data and put trades and orders here and there.

    • G

      Help on trace. Want to get buffer -> 0
      Questions & Answers • • GSMtricks

      1
      0
      Votes
      1
      Posts
      599
      Views

      No one has replied

    • G

      Can't trace indicators
      Bug Reports • • GSMtricks

      10
      0
      Votes
      10
      Posts
      2871
      Views

      G

      Yes - it works. I can see all arrows and data arrows in buffer.

    • G

      Can't delete opbjects
      Questions & Answers • • GSMtricks

      3
      0
      Votes
      3
      Posts
      775
      Views

      G

      Thx. Works

    • 1 / 1