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: how to create indicator Divergence Stochastic Alert

      I don't have it anymore, try this:
      https://www.mql5.com/en/code/8655

      posted in Questions & Answers
      M
      miro1360
    • RE: How to delete the texts created with the "comment (ugly)" block

      you write the empty comment 🙂
      0_1607264824251_b1865075-3f3d-4873-b2a8-cbedebeb0f93-image.png

      posted in Questions & Answers
      M
      miro1360
    • RE: How to delete the texts created with the "comment (ugly)" block

      https://fxdreema.com/shared/Uc12vDNVd

      posted in Questions & Answers
      M
      miro1360
    • RE: SEND OBJECTS TO THE BACKGROUND OF THE GRAPH

      you need to refresh (recreate) all relating objects in ascending order ... sending an existing object in the background actually does not appear graphically, but only for mouse clicks (selecting) --- this is how metatrader works

      posted in Questions & Answers
      M
      miro1360
    • RE: How can I get the same blue/red arrows for manual trades?

      good point 🙂
      looks like it is not possible to select and simply send objects below an existing object, but it is possible to "redraw" the existing object (run the object block) and it will be stacked one on top of the other ...

      posted in Questions & Answers
      M
      miro1360
    • RE: How can I get the same blue/red arrows for manual trades?

      The block For each Closed trade with many history trades should be used once (which is done in the on Init). Then you can use the same block with one history trade and place it in On Trade section (so as not to unnecessarily recalculate the entire history of trades that have already been recalculated and plotted).

      0_1606410305846_1b1836ea-b0cf-41bc-84de-82ff9a5567a3-image.png

      Set the magic number to 0 ... it will catch the manually opened trades.

      posted in Questions & Answers
      M
      miro1360
    • RE: How can I get the same blue/red arrows for manual trades?

      Something like this ... add all Draw Arrow blocks for each parameter of trade, include also a trendline ...
      but not exactly the same arrows will be created (this I think is caused directly by metatrader) ... you can use wingdings codes
      https://docs.mql4.com/constants/objectconstants/wingdings
      here are the arrow codes: https://docs.mql4.com/constants/objectconstants/arrows
      0_1606273907696_e396e9fb-115f-435a-a560-bd1a2b74a2e2-image.png

      Try it 🙂

      posted in Questions & Answers
      M
      miro1360
    • RE: example: Trendline EA

      it is working exactly as the condition said:

      0_1603921041278_43d88930-b499-4449-9672-14c08599b941-image.png

      0_1603921157984_90b18f4c-bb34-4db0-9fb6-209b8916ca02-image.png

      posted in Tutorials by Users
      M
      miro1360
    • RE: example: Trendline EA

      you most probably forget to put a name for the trendline on the chart, the example from my first post is working fine 😄

      posted in Tutorials by Users
      M
      miro1360
    • RE: ZigZag

      I posted it somewhere, find it between my replies

      posted in Questions & Answers
      M
      miro1360
    • RE: How Do I Create An EA With This Type of Custom Indicator?

      your EA is right, but the indicator repaints on many past candles (indicator is useless for any EA)

      How to check if an indicator repaints?

      you can trace the values of indicator (in the main or a separate window) using trendlines
      https://fxdreema.com/shared/5vQ8dwt0c
      (Trace block can be used for indicator in the main window)
      purple trendlines are the real values from the current and first candle
      you can clearly see how the indicator repainted itself over time (where the values were at the beginning), crazy .... this youtube guy has a good reaction for the indicator 😄 https://www.youtube.com/watch?v=kyPzl8M4yCE
      0_1602962933520_6310c368-524f-4249-99f3-77fbe2b01f99-image.png

      see, how the same trendline is stable on RSI
      0_1602963390603_ec24b5f4-73b9-4c3a-b121-d27d22883210-image.png

      posted in Questions & Answers
      M
      miro1360
    • RE: How Do I Create An EA With This Type of Custom Indicator?

      correct, in this case the color depends on the zero, sometimes it is much more complicated because the code contains different conditions to set up the color 😄 in this case it is just the null ...
      exactly, this "fisher yurik" indicator repaints like crazy, up to fifth or sixth candle

      posted in Questions & Answers
      M
      miro1360
    • RE: How Do I Create An EA With This Type of Custom Indicator?

      this indicator code recall me an indicator which repaints, fisher ... not bad one for a visual analysis but a wrong choice for EA ... it repaints on a fifth candle or so 😄
      anyway, the condition is simple, if indicator is more or less than null

      0_1602789483755_b592522f-9578-422e-bf22-aa833ce8bd8b-image.png

      posted in Questions & Answers
      M
      miro1360
    • RE: how can Set Order for Each Candle ?

      remove the No trade block, it restricts opening next trades on each candle

      posted in Questions & Answers
      M
      miro1360
    • RE: how can Set Order for Each Candle ?

      use a time filter, Once per bar

      posted in Questions & Answers
      M
      miro1360
    • RE: Alert - Information

      use variables and add them together to a final message:

      0_1602687894147_9078f312-a31e-4065-9377-22647a50c706-image.png

      posted in Questions & Answers
      M
      miro1360
    • RE: Alert - Information

      share your project or a part of it

      posted in Questions & Answers
      M
      miro1360
    • RE: getting the candle id for previous day high and low

      the custom code can help you ("for" is the loop, "break" ends the loop before it comes to an end)
      iMA is the indicator, it can be any, even a custom
      https://docs.mql4.com/indicators/ima

      0_1602635748453_37f0112e-f070-4f4f-9f28-ad5b3b6d338d-image.png

      you can recreate it into blocks, or use it as is
      https://fxdreema.com/shared/ye5WVCBpb

      working with time in mql is sometimes tricky

      if you don't understand some variables, you can easily print them on the screen with the comment block (debugging :D)

      0_1602636306577_ea7d28a2-b2dc-4222-ba47-24412d1cee18-image.png

      posted in Questions & Answers
      M
      miro1360
    • RE: getting the candle id for previous day high and low

      But there is no option to get Candle ID 😄 anyway, you can always do a loop 😄 😄

      posted in Questions & Answers
      M
      miro1360
    • RE: getting the candle id for previous day high and low

      again the same technique, but with "My Indicators" option, because it has much more settings
      0_1602606412285_89c0a9f4-034c-47b9-9516-3156d203c6c6-image.png

      indicators can be downloaded here:
      https://www.mql5.com/en/code/mt4/indicators/page57

      posted in Questions & Answers
      M
      miro1360
    • 1
    • 2
    • 3
    • 4
    • 5
    • 80
    • 81
    • 3 / 81