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: Creating additional trade to existing trade coding issue

      actually, I tried it and it is working in opening this second trade:

      0_1495592846101_upload-3f82503f-e411-4dbe-9226-2fc85c43d1a0

      but I disabled this close (only for testing purpose if this open is working, because 200pips in pips away distance is too much, you need enable it or set TP, or set this 200pips to lower value):
      0_1495592874251_upload-dbeea2da-3086-40c3-ab38-f921f3ba79ca

      posted in Questions & Answers
      M
      miro1360
    • RE: Why can't this EA be put into a chart

      from some reason cyclus for will not accept that variable ... maybe admin can check it why (probably MT4 reasons) ...

      but here is how to do it working:
      https://fxdreema.com/shared/qj2zd966b

      ... and I am not sure of that variable what you used as "factor_modificado" in condition block, maybe better if you do as this:
      https://fxdreema.com/shared/GkuKACI3b

      posted in Questions & Answers
      M
      miro1360
    • RE: Every "n" bars.

      problem is here in block code:

      this is original:
      0_1495554032720_upload-fd58acb7-0f5b-4973-8607-177f4335978b

      and maybe it must be like this:
      0_1495554074047_upload-5432f80e-fe78-4306-af34-8cb00bf6e988

      admin can check it ...

      posted in Questions & Answers
      M
      miro1360
    • RE: Every "n" bars.

      thats true, something is not ok with this block ...
      0_1495553561029_upload-10e7ee75-34a9-4a6c-aa9c-c52a92aefb36

      I tried and it is ploting arrows every 2xN bars, it means when I set every 10, it plots every 20, when I set every 5, it plots every 10 ...

      posted in Questions & Answers
      M
      miro1360
    • RE: Creating additional trade to existing trade coding issue

      😄 no no ,,, pass block you replace with your "additional trade" block, because I dont know which block is this additional trade block, I have not found this name so it must be something (maybe add to volume?) ...

      posted in Questions & Answers
      M
      miro1360
    • RE: Why can't this EA be put into a chart

      try update metatrader to newest build (>=1080) ...

      posted in Questions & Answers
      M
      miro1360
    • RE: Creating additional trade to existing trade coding issue

      try this for additional trade:

      0_1495551631399_upload-6fb92efe-6c55-4545-886b-61950ecf7ec3

      (Pass block replace with your additional trade block)

      posted in Questions & Answers
      M
      miro1360
    • RE: how to open new buy and sell when one trade hit stoploss

      do it in "on Trade" section

      0_1495490207346_upload-bd08fc2f-c077-4906-9616-6b75a32b5dc7

      posted in Questions & Answers
      M
      miro1360
    • RE: how create order in case of Candle up or down , Rsi up or down ?

      try something like this:
      (and for sell opposite)

      0_1495475396643_upload-ad152777-e2fc-46d0-b43e-47256ff763a7

      posted in Questions & Answers
      M
      miro1360
    • RE: indicator integration

      not so easy, you need recreate part of code (of data calculation) into this code ... maybe you can do it with formula blocks but result can be a lot of blocks, all depends on indicator itself

      posted in Questions & Answers
      M
      miro1360
    • RE: Action if Hammer detected

      https://fxdreema.com/forum/topic/4657/how-to-search-hammer-candles

      posted in Questions & Answers
      M
      miro1360
    • RE: How to Fix Critical Runtime Error 503 in Ontick Function

      I had situation when USDCHF returned me 0 in that case 😞 so only solution was hardly code data, not from symbolinfo ...

      posted in Questions & Answers
      M
      miro1360
    • RE: indicator integration

      I think he need it because of reason "hide indicator" to prevent create copy of his EA 😄 but this is only one of reasons why somebody need integrate indicator into EA, maybe it is something other ...

      posted in Questions & Answers
      M
      miro1360
    • RE: button with price coordinates?

      note that on Chart is not working in tester ...

      posted in Questions & Answers
      M
      miro1360
    • RE: Read if textfile exists (from another application)

      hi, using these functions you can do it:
      https://docs.mql4.com/files
      ...
      look at this function:
      https://docs.mql4.com/files/fileisexist
      it is what you need, it checks existence of specific file
      so take condition block and try this:
      0_1495288391433_upload-42bfc0da-546a-4834-a532-6322c554c7bd

      posted in Questions & Answers
      M
      miro1360
    • RE: indicator integration

      yes you can do this using custom code blocks, and avoid whole calculation of data (all historical candles which you dont need in EA, calculate only present data) ..

      posted in Questions & Answers
      M
      miro1360
    • RE: button with price coordinates?

      button itself no, but why not use classical rectangle as button? you can not get state of this rectangle, but you can get event when is here "clicked on object"
      0_1495287816491_upload-b802b7bd-c6d4-4e68-b052-71f9f4182f3f

      posted in Questions & Answers
      M
      miro1360
    • RE: How to Fix Critical Runtime Error 503 in Ontick Function

      I am not sure if this solved your problem ... and about fix in fxdreema, maybe it can help in some situations where TickValue or PipValue() returns 0 ...

      posted in Questions & Answers
      M
      miro1360
    • RE: How to Fix Critical Runtime Error 503 in Ontick Function

      you can be sure, that it is caused by divide, so do something easy to avoid it:

      your code:

      else if (mode=="balanceRisk"){size=((value/100)*AccountBalance())/(sl*TickValue*PipValue(symbol));}
      

      change to this:

      else if (mode=="balanceRisk"){
        if(sl==0){size=0;}
        else if(TickValue==0){size=0;}
        else if(PipValue(symbol)==0){size=0;}
        else {size=((value/100)*AccountBalance())/(sl*TickValue*PipValue(symbol));}
      }
      
      posted in Questions & Answers
      M
      miro1360
    • RE: How to Fix Critical Runtime Error 503 in Ontick Function

      is not that caused when ATR_Multiplo is 0? because here is zero divide
      ... when you need divide with 0 or something very close to 0, place somewhere before this divide code this:
      if(ATR_Multiplo==0) { ATR_Multiplo=0.000001; }
      and it prevent your code from null divide error and you will be able to divide with number very close to null ...

      posted in Questions & Answers
      M
      miro1360
    • 1
    • 2
    • 45
    • 46
    • 47
    • 48
    • 49
    • 80
    • 81
    • 47 / 81