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: Indicator

      standard indicators with buffers is not possible create, but you can create EA as indicator, here is plenty amount of Object blocks as Draw lines, arrows, rectangles, etc .. and you can easily create indicate objects for current bars, or alternatively use loop block and do something more complicated (go through my replies, somewhere I have examples how to create this, search for loop or array ... ) ...

      posted in Questions & Answers
      M
      miro1360
    • RE: how can i Disable spread text on chart

      or use Delete objects block where you can specify name exactly (in Name starts with give whole object name) ...

      posted in Questions & Answers
      M
      miro1360
    • RE: Any suggestion for Renko Chart !?

      hi, renko is tricky ... because first what is renko ... it is generated in specified pips range as current price is oscillating up and down ... most of renko generators are holding all renko candles generated from time when generator started - this means if you want good history of renko candles, you need leave runing generator long time without restart, but when it is restarted, renko chart is generated from new time and all history bars are lost ... most of renko generators have function "generate history bars from M1 candles" -- this is good, but not perfect because you have not real ticks in these candles and they are generated only on price range of M1 chart - the smaller renko candle is, the less accurate in history candles, and opposite ... this small perfection detail is in renko big problem, because in most cases you cant test your EA in tester - you can test is if it is working as open/close, but you cant test it for profit in tester ... the only way how to test renko is forward demo (this take months and most probably fails in all scenarios 😄 ) ...

      renko generators in most case generate offline charts in some period (in settings can be specified), like M2 ... this means timeframe == 2 ... so in fxdreema insert your timeframe in constants/inputs as int type and in condition timeframe apply this constant:
      0_1504016542782_upload-9bf79963-00eb-49ab-b389-2f89fa6516e7

      example below is well known renko strategy (2 new candles in same color opens trade in direction and one opposite it close) ..

      https://fxdreema.com/shared/XgbcqQb9d

      0_1504017149539_upload-e9c3cbc5-ef61-4467-b1b0-470660914c80

      posted in Questions & Answers
      M
      miro1360
    • RE: Draw Arrow for past Signal

      using loop ...
      you can learn from my replies, study them one after another and it can answer you a lot of questions 😄 ...

      https://fxdreema.com/forum/topic/4546/simple-question-print-objects-multiple-times-on-initialization-of-indicator

      https://fxdreema.com/forum/topic/4774/text-object-on-the-top-of-each-bar/2

      https://fxdreema.com/forum/topic/4542/loop-bar-ema

      posted in Questions & Answers
      M
      miro1360
    • RE: Is it possible to have a dropdown list for inputs?

      its like cookery book now without index 😄
      just cook everything, one after another and you become culinary art 😉

      posted in Questions & Answers
      M
      miro1360
    • RE: THE COLOR SIGN HAS FIXED?

      when it repaints, it is not very good for EA because you dont know when signal is confirmed, it can be 1 candle, it can be 4 candle 😄

      posted in Questions & Answers
      M
      miro1360
    • RE: ***Important problem :strategy tester***

      I thought it can working with these handle operations but it is not working - I tested it now (I tested it in correct way with CopyBuffer function and arrays), but without success ...
      so you need wait or communicate with MQL company if they add HideTestIndicators in MT5

      but you can do this little trick in on Init:

      0_1505585532720_upload-648ccf21-fa12-40cf-8581-98af6d4e6777

      it makes visual mode in MT5 tester functionless and user can test EA only without visual mode option ...

      posted in Questions & Answers
      M
      miro1360
    • RE: ***Important problem :strategy tester***

      standard reply from MQL5 😄 IndicatorRelease() is not working in tester (at least in case as I tested it) ...

      posted in Questions & Answers
      M
      miro1360
    • RE: How do I use the Edit Field?

      this can be solution:
      https://fxdreema.com/shared/dUBijpg9d

      posted in Questions & Answers
      M
      miro1360
    • RE: Freeze % of free margin

      hi ambrogio ... I am not sure about calculation ... but what I think ...
      management is working in way, that Lots are calculated from some reference, here is reference % of Free margin ... as example your Free margin is 9000 USD, and you set % as 10%, so your trade will have so much lots that next Free margin will be 8100 USD (because 10% of 9000 = 900 and 9000-900 = 8100) ... now your free margin oscilates about +-8100 USD and for next trades you get lots calculated again with the same principle, 10% from 8100 USD is 810 and next trade have so much lots that free margin will be 8100-810=7290 USD ... if your portfolio get free margin higher, like 12000, 10% from 12000 USD is 1200 and next trade opens so much lots that Free margin will be 12000-1200=10800 USD 😄 ... but I am not sure if this is right, it is what I think ...

      posted in Questions & Answers
      M
      miro1360
    • RE: how i do that in ea ?

      separate orders into different groups:
      https://fxdreema.com/shared/W7uvaIBmc

      0_1510089458248_9f7ba73e-46e2-489e-9542-6f438cd9e052-image.png

      posted in Questions & Answers
      M
      miro1360
    • RE: Adjust parameter

      yes it can be ...
      https://fxdreema.com/shared/pIaslI9oe

      0_1511748979145_785f9645-55a2-489a-97d0-367c8d65d6f2-image.png

      posted in Questions & Answers
      M
      miro1360
    • RE: Any way to do this with indicators?

      not sure if I help you, it needs few lines of code ...

      you can use global variables to communicate between EA and indicator, and in indicator code you set few "options" based on global variables for indicator appearance
      https://docs.mql4.com/customind/setindexstyle
      SetIndexStyle(0, DRAW_NONE, EMPTY, EMPTY, CLR_NONE);

      or as you mentioned, using templates ... standard it is problem, but you can use my cheatsheet for saving variables into file
      https://fxdreema.com/forum/topic/5164/example-save-variables-into-file-and-read-them-back-advanced

      posted in Questions & Answers
      M
      miro1360
    • RE: Magic Number in comments

      0_1513269040140_ba531a0d-6a54-482b-bebc-9a3327efcaaf-image.png

      posted in Questions & Answers
      M
      miro1360
    • RE: Help Please!

      start with simple projects, do few and try understand how fxdreema works little bit ... after that you can do more advanced stuffs 🙂

      posted in Questions & Answers
      M
      miro1360
    • RE: Trading multiple pairs with 1 chart

      yes, that is possible

      posted in Questions & Answers
      M
      miro1360
    • RE: Indicator with 100 Input Parameters

      edit indicator in metaeditor, open it and save it with different name, than somewhere in begin of code you can find "input" or "extern" ... for parameters, which should be non visible in fxdreema, delete all "input" or "extern" words and leave rest of code ...

      0_1517349185453_4ef6a95d-a1b5-4d53-b45f-ce36afd27509-image.png

      as example:
      original: input int adxPerioda = 14;
      edited: int adxPerioda = 14;

      or original: extern int adxPerioda = 14;
      edited: int adxPerioda = 14;

      or you can change their default value, as this:
      edited: int adxPerioda = 34;

      click on compile button in metaeditor and import your new indicator into fxdreema, now only desirable parameters are visible

      posted in Questions & Answers
      M
      miro1360
    • RE: Is there a way to run EA with computer off?

      use something as VPS service, there are many, I found good stability with contabo - I found it as best stability+power+price (about 15€ monthly +5€ for windows and any customization in power like more RAM, or CPU power, and it can hold >10 metatrader together or many EAs), https://contabo.com/?show=vps (select with SSD, not HDD, because SSD is much faster)
      ... or find own VPS service (with windows if you are not familiar in linux)

      there are also another services from amazon, or you can pay for whole dedicated server 😄 but these are not cheap ...

      posted in Questions & Answers
      M
      miro1360
    • RE: Getting current net position (number of lots opened)

      try bucket of trades:

      0_1521894074929_7e51676e-1c38-483c-8d44-f3cba33a3d24-image.png
      it is for MT5 too (Bucket of Positions)

      posted in Questions & Answers
      M
      miro1360
    • RE: Indicators and mqh include files

      you must specify all depending enumerations which are implemented in included file:

      for this one it should be only Smooth_Method:
      0_1522696005791_24e688ef-3a75-4cda-b6a8-f48d21b51cd8-image.png

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