fxDreema

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

    Posts made by miro1360

    • RE: "Renko Style" EA with trailling Stop, without indicator.

      Go through all my posts, try them as examples and that way you can learn a lot 🙂

      posted in Questions & Answers
      M
      miro1360
    • RE: "Renko Style" EA with trailling Stop, without indicator.

      It should have similiar result ..
      But these pink blocks needs additional filtering ...
      And for checking only a last trade change the parameter "Not more than "n" history trades" to 1:

      0_1550554480346_cb7ecb0f-bb51-4de5-8eed-66e6c3860222-image.png

      posted in Questions & Answers
      M
      miro1360
    • RE: "Renko Style" EA with trailling Stop, without indicator.

      https://fxdreema.com/shared/vyN1rZPZb

      0_1550503605728_1e1d07ad-858d-42c5-9f1c-20da840ea174-image.png

      posted in Questions & Answers
      M
      miro1360
    • RE: Multidimensional Arrays

      yes it is implemented
      https://fxdreema.com/shared/5rvzn7pN

      posted in Questions & Answers
      M
      miro1360
    • RE: File Excel

      load it to your google drive and post a shared link for the file 🙂

      posted in Questions & Answers
      M
      miro1360
    • RE: PositionCloseBy function

      you can change the code like this:
      0_1549339596228_8c312092-01cb-477b-9051-746577bf62f9-image.png
      which will run that function only once, when both ticket numbers are recorded

      ... or you can create another rearrangement of blocks too, like this one:
      0_1549339236243_f80b7faa-0f6d-4c8a-995a-af41393ce2d0-image.png
      where the custom code block happens after all the cycles are finished
      but in this case, custom code block must have its ID number larger (yellow circle) than any number from the green circle

      ... each for loop can go through all the trades (can happens more than 1x) and condition blocks as filters can be added (and record only that trade, which will match the filter) ... but thats your job 😄

      posted in Questions & Answers
      M
      miro1360
    • RE: PositionCloseBy function

      The function PositionCloseBy is from the Trade.mqh library and belongs under CTrade class and therefore an object must be created.

      https://fxdreema.com/shared/E5T9pyT8e

      0_1549295696958_28f6c6a3-6c4f-4ca3-a347-cae4da2c1c93-image.png

      from FxDreema generate only mql5 code
      open generated code in the MetaEditor, in your computer

      add this include in the top of code:
      0_1549294949609_244f06f3-53de-43d4-bb68-5f67d95efaae-image.png

      Above the OnInit() function add this CTrade object Trade definition:
      0_1549295003446_150516d8-63f7-4112-96f4-32c465d926eb-image.png
      Click on the Compile button in the MetaEditor, it generates ex5 file and done 😄

      posted in Questions & Answers
      M
      miro1360
    • RE: Custom Code from MQL4 to MQL5

      I suggest you to read all the comments too, they may contain an interesting reply:

      https://fxdreema.com/forum/post/20720

      posted in Questions & Answers
      M
      miro1360
    • RE: Generate a random chart

      generate data in excel, save as .csv
      import these data into metatrader (Tools - History center - Import)
      consider some dependencies (close[1] == open[0])

      posted in General Discussions
      M
      miro1360
    • RE: Working with custom indicator HELP!

      it is not my indicator ... so what can I say about ....
      buffers there are in the separate window as lines
      arrows are not in buffers, so you can not select arrows from buffers in this case

      perhaps you can check the arrow with condition blocks, its color, date, but it can be quite tedious ......... or rewrite the indicators code to use arrows in buffers 😄 😄

      posted in Questions & Answers
      M
      miro1360
    • RE: Last Digit

      0_1547817835800_2e96b857-5474-4422-8615-bc13a1a72663-image.png

      posted in Questions & Answers
      M
      miro1360
    • RE: Break even line on mutiple trades

      you can easily avoid onTimer function,
      this is without onTimer (not tested 😄 )

      0_1547316058979_miro1360_GravityBE_1.0_noTimer.mq4

      edit: seems be not working in tester 😄

      posted in Questions & Answers
      M
      miro1360
    • RE: Break even line on mutiple trades

      It was long ago 😄 ... Do not import it into My Indicators. Place it on the chart as indicator together with EA, it should plot the line automatically and you can read the line with EA (I do not remember its name but you can find it by listing chart objects).

      posted in Questions & Answers
      M
      miro1360
    • RE: My Indicators - Adding ex4 file

      0_1547302186027_2365adf3-6f8b-4d3d-baa5-e18a02e436d9-image.png

      0_1547302192414_c7318cb9-b1f3-4af9-b8ab-ad9905723fb1-image.png

      0_1547302266634_ed07cd95-3502-4fce-820e-7e1fc0e36afd-image.png

      these enum parameters (drop down list) have unknown number, that means .. you can find them manually, run EA in tester up to the end and indicator appears (first one with parameters as EA has), next place the same indicator into finished chart (with similiar parameters) and you can see, that it is not the same, that means you must find/match the right ID of parameter (in the EA start with 0 and try to match them 😄 :D) ....

      0_1547302407136_5326abd2-9ab7-49c1-9487-4c30f67b0392-image.png

      0_1547302688553_b8dac9a6-51f7-4e67-899f-437b4d69fecb-image.png

      posted in Questions & Answers
      M
      miro1360
    • RE: My Indicators - Adding ex4 file

      maybe it can be, all parameters and buffers must be added manually

      posted in Questions & Answers
      M
      miro1360
    • RE: My Indicators - Adding ex4 file

      for simplification use a cross of 2 moving averages, you can get similiar results 😄

      posted in Questions & Answers
      M
      miro1360
    • RE: How to verifiable data type of edit field's variable?

      try this:
      https://fxdreema.com/shared/rW0qyPdQb

      0_1547137436626_d3a80331-8ab0-4c89-a2b2-519d09d83fab-image.png

      this example returns 0 ... but you can edit it in many ways, ... lets say user enters wrong value, the previous value can be returned, and so on ...

      posted in Questions & Answers
      M
      miro1360
    • RE: Project Description Does Not Work!

      Ahh this one ... yes it seems be dead 😄 I am sure that admin repairs it 🙂

      posted in Questions & Answers
      M
      miro1360
    • RE: Project Description Does Not Work!

      https://ctrlv.cz/shots/2019/01/10/m3Kl.png
      on my side it is working, I tried chrome only ...

      posted in Questions & Answers
      M
      miro1360
    • RE: Price fraction to Pips ?

      0_1546817551279_7976e3a5-fd69-44e4-b253-3f8fe8f864e9-image.png

      posted in Questions & Answers
      M
      miro1360
    • 1
    • 2
    • 12
    • 13
    • 14
    • 15
    • 16
    • 80
    • 81
    • 14 / 81