fxDreema

    • Register
    • Login
    • Search
    • Back to the main page
    • Categories
    • Recent
    • Tags
    • Popular
    • Search
    1. Home
    2. miki
    3. Best
    M
    • Profile
    • Following 0
    • Followers 4
    • Topics 14
    • Posts 233
    • Best 14
    • Controversial 1
    • Groups 0

    Best posts made by miki

    • RE: Object naming with arrays

      @roar error is in the output code. FxDreema code is:
      0_1611652570090_Immagine.png

      right code is:
      0_1611652739603_Immagine.png
      and it work right.

      posted in Bug Reports
      M
      miki
    • RE: ARRAY OUT OF RANGE AND ERROR 4754 <<<SOLVED>>>

      @ambrogio I'm sorry,I can't help you.

      posted in Questions & Answers
      M
      miki
    • RE: Strategy Results, Good? Bad? Okay?

      @seb-0 sp500 is closely related to EURUSD, usually a strategy that works on EURUSD also works on sp500. The goodness of the strategy is there but for a more credible test it simulates withdrawals at least once a year and, not negligible, the drawdown that is psychologically sustainable for you.

      posted in General Discussions
      M
      miki
    • RE: Close partial profit works in mt4 but not mt5.

      @sm24 you are right, i know this bug for a long time. I solved it changing the code by hand.

      posted in Bug Reports
      M
      miki
    • RE: ARRAY OUT OF RANGE AND ERROR 4754 <<<SOLVED>>>

      @ambrogio as you can see from the example in the comment, the project works with pending orders, as I had already mentioned. Your project does not. Without seeing it, it is difficult to give answers.

      posted in Questions & Answers
      M
      miki
    • RE: Object naming with arrays

      @roar If they pass individually, that's right. Probably conflicts are to occur when passing different data to the same variable at the same time.

      posted in Bug Reports
      M
      miki
    • RE: print message

      @qais-3 Use pass once blocks where needed but remember to reset them in the project.

      posted in Questions & Answers
      M
      miki
    • RE: ANOTHER MT5 BUG?

      @ambrogio you're right in live mode one position is open every tick

      posted in Bug Reports
      M
      miki
    • RE: Pay

      I start to laugh 🤣 I follow the discussion.

      posted in Questions & Answers
      M
      miki
    • RE: ANOTHER MT5 BUG?

      @miro1360 in the tester with a negative number work correctly, it's in live mode that don't work fine

      posted in Bug Reports
      M
      miki
    • RE: How to EA draw an indicator on the chart automatic?

      @khacdiepvnc if you use MT5 to add an indicator on the chart in automatic mode, in on init tab open a custom mql block and copy paste this code :

      long handle=ChartID();
      if(!ChartIndicatorAdd(handle,1,v::atrcurrent))
      PrintFormat("Failed to add ATR indicator on %d chart window. Error code %d",
      handle,GetLastError());
      if(!ChartIndicatorAdd(handle,0,v::imacurrent))
      PrintFormat("Failed to add EMA indicator on %d chart window. Error code %d",
      handle,GetLastError());

      First "if" is for a subwindow indicator like ATR in this case, second "if" is for an indicator in main chart like EMA.
      v::atrcurrent and v::imacurrent you have to replace them with the handles of the indicators you want to use.

      posted in Questions & Answers
      M
      miki
    • RE: "As money plus swap and commission" block not working fine.

      @fabiobioware as money shows you only the last position loaded because you don't add the old variable with the new one :
      As_Money + As_Money and in the end of the loop(yellow exit) As_Money must be reset to 0

      https://fxdreema.com/shared/uulRnwj5

      Without swap

      0_1614602352156_Immagine.png

      with swap
      0_1614602553220_Immagine.png

      The calculation is correct

      posted in Bug Reports
      M
      miki
    • RE: Save .csv file to a different location.

      @fabiobioware first step is open a custom mql code block, copy past the second part of code and use it in your project when you want copy file. If for example you want copy at start put the block in OnInit tab otherwise in OnTick tab.
      Download source file .mql5 open it and add first part of code on the top after #define section. Stop.

      0_1614965389831_Immagine.png

      posted in Questions & Answers
      M
      miki
    • RE: Sum profits from selected positions

      @xfire normally check profit unrealized block does this job without other block

      posted in Questions & Answers
      M
      miki
    • 1 / 1