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: SMA200 rise/fall do not work

      and this modification?

      0_1491004611948_upload-462b4b28-5891-4c2d-80ca-2c40c378320a

      posted in Questions & Answers
      M
      miro1360
    • RE: Inputs for Scripts

      wait little bit for reply ... maybe here will be update for this and if not I show you how manually ... but update is prefered 🙂

      posted in Questions & Answers
      M
      miro1360
    • RE: how do I draw a vertical line for each Daily candle?

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

      0_1490920874609_upload-a59a10b9-b8dd-44d5-913b-650152453dd6

      posted in Questions & Answers
      M
      miro1360
    • RE: object label

      try something like this:
      0_1490920036325_upload-4c5df4e1-7599-4953-93db-f75a573f8e4f

      but it can be different from your project, so better if you post here more specified what you need, some picture as example ...

      posted in Questions & Answers
      M
      miro1360
    • RE: Online Builder Variable issue

      can you give steps:
      1.
      2.
      3.
      x...
      how to replicate your issue?

      posted in Bug Reports
      M
      miro1360
    • RE: Formula to know the average price on several positions

      Lot size from last opened trade you can get with this way:
      0_1490646697150_upload-8f179505-b497-4640-ae13-c8cccf58dbcf

      Lot size from last closed trade this way:
      0_1490646758108_upload-f2f675c8-10e9-4829-9103-e9caad0a9a47

      posted in Questions & Answers
      M
      miro1360
    • RE: Formula to know the average price on several positions

      dont forget, that for JPY pairs is another quotation, so instead of 0.0004 you need give 0.04
      ... or you can instead of this number have this function:
      toDigits(4) (where 4 are 4 pips) ... and it can working with all pairs automatically

      so result formula will be:
      resultBuyPrice=sumPrice/sumLot+toDigits(4);
      resultSellPrice=sumPrice/sumLot-toDigits(4);

      posted in Questions & Answers
      M
      miro1360
    • RE: Formula to know the average price on several positions

      than modify it manually in calculation:
      0_1490625701104_upload-8ea223bc-e672-4b6e-83b3-e1db3bfa197a

      for buy add these pips in digits and for sell subtract it (because logically sell is in profit below open prices) ...

      posted in Questions & Answers
      M
      miro1360
    • RE: Formula to know the average price on several positions

      @MMF said in Formula to know the average price on several positions:

      i Put resultSellPrice in modify stops as Take Profit(custom price level) .
      i tried adjust in Block modify stops but it Ignores the value

      try type into adjust this:
      +4pips

      and note one thing ... for Buy, TP can be placed above current price, and SL can be placed below current price .... for buy you can not place TP below current price ...

      posted in Questions & Answers
      M
      miro1360
    • RE: Formula to know the average price on several positions

      ok, for different lot size and knowing BE price point, you need manually calculation ... something like this:
      https://fxdreema.com/shared/467ZcImHb

      0_1490543211594_upload-c176f95a-e59b-4f91-b81d-c5ff3570c098

      (swaps, commisions, etc. are not calculated here, but you can do it)
      I have not tested if it is working ...

      note, in this case block order numbering is important, if you mix them, it stop working ...

      and I dont know how easier it can be done ....

      posted in Questions & Answers
      M
      miro1360
    • RE: Formula to know the average price on several positions

      I am not sure what exactly you need, but maybe this?
      0_1490532986868_upload-23619674-36ae-48eb-9e91-2d59e849c261

      posted in Questions & Answers
      M
      miro1360
    • RE: Alert Messages

      and this?
      0_1490375197324_upload-79efffdf-2ce7-456c-907b-5e0904f0fa13

      posted in Questions & Answers
      M
      miro1360
    • RE: Help convert this file

      is this not working?
      https://fxdreema.com/converter

      posted in Questions & Answers
      M
      miro1360
    • RE: testing and optimizing

      not as easy as metatrader + fxdreema ...

      posted in Questions & Answers
      M
      miro1360
    • RE: Alert Messages

      this is not working?
      0_1490370166376_upload-fe670bd2-4bb0-4784-9791-06da39dd761d

      posted in Questions & Answers
      M
      miro1360
    • RE: Indicators: Status and Threshold

      save indicator state into variables, for buy = 1, for sell = -1, no signal=0
      0_1490369782125_upload-6f424a31-37d3-4f00-ad64-aea0cd618152

      create different variables for different indicators:
      0_1490369578126_upload-5bc7d390-3b34-44e2-b70b-bea4ee5265d0

      do some math comparisons:
      0_1490370007660_upload-10d232c1-547c-4591-811e-f306220cad0f

      and plot state of variables (indicator state) using Comment block

      posted in Questions & Answers
      M
      miro1360
    • RE: how to get last candle id of an customindicators value != 0 ?

      yes that is true, thanks for notice, I have not seen it before, ... but you can not get values which are not in list (for this you need to ask admin if he will add new functions here) ... it was only example which can be modified into many forms (for non list values)

      note, that 0 is not always empty value (in metatrader) ... becuase default empty value for metatrader buffers is big integer number, or as EMPTY_VALUE ... but I think it can be set in indicator for another value using function SetIndexEmptyValue ...
      https://docs.mql4.com/constants/namedconstants/otherconstants

      this my next example show you nearest stochastic Candle ID which value is above 50 (count starts when current stochastic is below 50) ....
      I dont have your indicator so I can not give you specific example for your problem ... but I am sure you can do it 😄

      https://fxdreema.com/shared/6fcnY6k7

      0_1490297540364_upload-0170d47e-f9db-4ddc-99cc-588eab3b3cdc

      posted in Questions & Answers
      M
      miro1360
    • RE: First green/red bar above/below MA

      and here the same with flags:
      https://fxdreema.com/shared/tq1Kawnod

      posted in Questions & Answers
      M
      miro1360
    • RE: First green/red bar above/below MA

      instead of flags you can use variables ... but it is working with same logic ...
      and this is probably working ...
      maybe sometimes signal can be skipped, it is metatrader 😄 ...

      https://fxdreema.com/shared/Aeoa13t8e

      0_1490294127783_upload-cfe696e8-75d7-4eab-8900-b0324da0eba8

      posted in Questions & Answers
      M
      miro1360
    • RE: how to get last candle id of an customindicators value != 0 ?

      look through my post where I am refering how to work with Loop block ...

      posted in Questions & Answers
      M
      miro1360
    • 1
    • 2
    • 51
    • 52
    • 53
    • 54
    • 55
    • 80
    • 81
    • 53 / 81