fxDreema

    • Register
    • Login
    • Search
    • Back to the main page
    • Categories
    • Recent
    • Tags
    • Popular
    • Search
    1. Home
    2. miro1360
    3. Best
    M
    • Profile
    • Following 0
    • Followers 257
    • Topics 27
    • Posts 1611
    • Best 192
    • Controversial 5
    • Groups 0

    Best posts made by miro1360

    • RE: Pending buy and sell order

      https://fxdreema.com/shared/QTlBAQIQc

      0_1560777587346_840d7b74-61be-47db-ba9b-d671df820ab6-image.png

      0_1560777612937_998d5d46-3876-41ea-9306-6251eee69acd-image.png

      posted in Questions & Answers
      M
      miro1360
    • RE: Finding the nearest horizontal line of indicator. (Complex question)

      Someone can play and convert it into blocks, other users can benefit from it πŸ™‚

      posted in Questions & Answers
      M
      miro1360
    • RE: ObjectSet function on MQL5

      ObjectSetInteger(0, LoadedObjectName(), OBJPROP_STATE, 0);

      ObjectSetInteger(0, "exactObjectName", OBJPROP_STATE, 0);

      posted in Questions & Answers
      M
      miro1360
    • RE: How to include library?

      it is simple ...
      copy your include files into your fxdreema local folder (folder named MQL4\Include)
      you can recompile the inserted mqh file in metaeditor
      the json file needed to be modified because (all the variables/objects named as "v" or "c" must be renamed to something else)
      https://gofile.io/?c=3ysLTa

      do your job in fxdreema and generate only mql code
      0_1569787315754_21b0969e-c016-412e-a0c1-f48513b1de90-image.png

      open the EA in metaeditor and insert desirable statement in the top of EA code and click compile button:
      0_1569787482377_e21c9a3e-08da-4443-9174-c044b089a5ec-image.png

      hope for no errors

      posted in Questions & Answers
      M
      miro1360
    • RE: How to include library?

      this is how to create a custom code block in the studio, only for the MQL4 (mql5 probably the same)

      0_1569806013504_102e1da5-3b11-4cfc-9896-3bc68b3f6899-image.png

      then insert the include block in the project ... only the mq4 code can be generated from fxdreema, then it has to be compiled with the metaeditor:

      0_1569804161478_b3312996-7cc8-45ed-a448-42028874cd31-image.png
      ...

      Would be easy to have a block for includes maybe on init tab?!?

      Well, it is not that simple because you have to compile with your local Metaeditor even with a block for includes (the include files can be seen only from local, they are needed for the compilation process ..... custom indicators may not be present, that is the difference). Therefore the web based ex4 compilation throws an error, because the compiler looks for these "missing" libraries on the compilation machine (webserver).

      Just use the first method, it will take a few seconds.
      Test your code prototypes in the Metaeditor, and after that put a functional prototype into a complicated EA in fxdreema.

      That is all I can do to help you πŸ™‚

      posted in Questions & Answers
      M
      miro1360
    • RE: How to include library?

      note this:

      0_1569806405004_235679c4-36f4-4b80-9951-cd947513f1da-image.png

      ... for an include file with such issue, it will only be done only once, but it must be correctly done

      posted in Questions & Answers
      M
      miro1360
    • RE: Can someone help me with SL calculated form wick?

      all blocks are executed at the tick X, but the order of path execution depends on the ID (lowest first) ... did you get it?

      the example above goes as:
      8-9-10
      11
      12-13-14
      16
      20
      21-22 or 21-23
      ... everything in one tick (if an execution time is less as the time between 2 ticks)

      posted in Questions & Answers
      M
      miro1360
    • RE: Can someone help me with SL calculated form wick?

      here the execution is as:
      8-100-10
      1
      21-22 or 21-23
      11
      2
      12-13-14

      0_1574965948862_2194298f-c3cd-4a59-82c4-997c621f3c3e-image.png

      posted in Questions & Answers
      M
      miro1360
    • RE: Can someone help me with SL calculated form wick?

      @tom-5
      you are exactly right, I totally forgot about this option in the Martket properties, you can use it this way .... anyway if you come to a stage where you need more detailed logic then you already know how

      @seb-0
      it can execute 1000 of simple blocks in one tick as well as one very complicated custom block may need a few ticks to execute πŸ˜„ ... the above are very simple blocks (light blocks, easy to calculate)

      a complicated block is something where EA has to use many array calculations (e.g. complicated work with zigzag) .... or a bad or overlooped logic πŸ˜„

      posted in Questions & Answers
      M
      miro1360
    • RE: Combine multiple profit values within the same bar to form an added numerical value in the chart.

      0_1575744883198_fec6933e-b287-4be2-8f84-2bf288351c6b-image.png

      posted in Questions & Answers
      M
      miro1360
    • RE: How to make this dropdown menΓΉ?

      https://fxdreema.com/forum/search?term=enum&in=titlesposts

      posted in Questions & Answers
      M
      miro1360
    • RE: Tick Chart

      I will save you time, it's a bullshit.
      Ticks are emulated by brokers. You don't get real ticks, there is nothing like real ticks for normal traders. There is no way to be one step ahead of the banks and big institutions.

      posted in Questions & Answers
      M
      miro1360
    • RE: backtesting ea in mt4

      the more accurate your strategy needs, the sooner it crashes πŸ˜„

      posted in Questions & Answers
      M
      miro1360
    • RE: RANDOM NUMBERS

      0_1586114947964_d92844f8-b15d-4ee6-aeb3-b3ae1fc660aa-image.png

      posted in Questions & Answers
      M
      miro1360
    • RE: zero divide error MT5

      workaround:
      add this to line 569:
      if (SymbolInfoDouble(symbol, SYMBOL_POINT) == 0) { return (CustomPoint(symbol) / xxx); }
      where xxx is 0.00001 or 0.001 ... or any (depends on symbol)

      posted in Questions & Answers
      M
      miro1360
    • RE: How to fix this mq4 file?

      delete lines from 1146 to the end

      posted in Questions & Answers
      M
      miro1360
    • RE: How to fix this mq4 file?

      by automated naming for variables πŸ˜„
      on the other hand, if EA is sold as profitable but ruins the customer's accounts, who is the thief πŸ˜„

      posted in Questions & Answers
      M
      miro1360
    • RE: non usable buffers

      0_1589300967334_2aa4697c-08e0-4f9c-b6fb-b64e27f84f34-image.png

      and yes, it slightly repaints πŸ˜„
      https://fxdreema.com/shared/nFdV3NTVc

      0_1589301974263_485de268-246b-468b-bd13-a7dadb652780-image.png

      posted in Questions & Answers
      M
      miro1360
    • RE: Problem with custom indicator

      just a fast fix πŸ˜„
      DisplayType value is now disabled (it should print all on the chart)

      0_1589950552038_t3-high-low-activator-mtf_fxdreema.mq4

      posted in Questions & Answers
      M
      miro1360
    • RE: Apply template on selected pair

      only this for current chart:
      0_1591986596042_f00f5aa2-5665-417d-bdc1-0d385c7f9b80-image.png

      or modified code for all charts with a specified pair: (untested)
      0_1591987061017_6bd6579c-bd75-427b-8aa0-174ee8978066-image.png

      posted in Questions & Answers
      M
      miro1360
    • 1
    • 2
    • 6
    • 7
    • 8
    • 9
    • 10
    • 9 / 10