fxDreema

    • Register
    • Login
    • Search
    • Back to the main page
    • Categories
    • Recent
    • Tags
    • Popular
    • Search
    1. Home
    2. roar
    3. Posts
    • Profile
    • Following 0
    • Followers 184
    • Topics 35
    • Posts 2406
    • Best 422
    • Controversial 6
    • Groups 0

    Posts made by roar

    • RE: Copy object values

      @robertk the custom code block replaces the "Draw line".
      "Current market" has nothing to do with charts - the symbols aren't tied to any chart - but you still need that block for getting the proper prices.

      posted in Questions & Answers
      roar
      roar
    • RE: Copy object values

      @robertk "Chart ID" specifies the target chart. Apparently the fxdreema block doesn't have that parameter, so I'd guess you have to use the actual mql4 function in a custom code block
      https://docs.mql4.com/objects/objectcreate

      posted in Questions & Answers
      roar
      roar
    • RE: Copy object values

      @robertk still guessing, lol đŸ˜„
      Making visual things into math is often confusing.

      You want to convert regular time to candle time (candle ID)?
      ibarshift() does that
      https://docs.mql4.com/series/ibarshift

      When you know the candle IDs of the source TL, you can use "trendline price by candle ID" to figure out all the info, can't you?

      posted in Questions & Answers
      roar
      roar
    • RE: Copy object values

      @robertk you dont know if the source TL is plotted to candle highs or lows?

      posted in Questions & Answers
      roar
      roar
    • RE: Copy object values

      @robertk do you mean, how to measure if the TL is down sloping or up sloping?

      posted in Questions & Answers
      roar
      roar
    • RE: Error "Array out of range in "

      @ontrade you are asking an array element that isnt there.
      For example, an array of size 3 can have these elements:
      array[0] = 123
      array[1] = 347
      array[2] = 321

      If you try to get array[3], the EA gives error because array[3] doesnt exist - the array is out of range.

      posted in Questions & Answers
      roar
      roar
    • RE: Get better (spread) values

      @ontrade yes, its name is "set current market for next blocks" lol

      Use the search box in the builder

      posted in Questions & Answers
      roar
      roar
    • RE: Get better (spread) values

      @ontrade yes, just put "set current market for next blocks" before your strategy

      posted in Questions & Answers
      roar
      roar
    • RE: So many lines of codes!

      @reader1 for a beginner EA builder, fxdreema is surely more "bug-proof" than trying to code from scratch.
      EAs will be slower, though, thats for sure. I'm ok with that, as building EAs with fxdreema is much faster than coding. I save time, computer loses time, my time is more expensive lol

      posted in Questions & Answers
      roar
      roar
    • RE: Get better (spread) values

      @ontrade you'd have to create an array and then use statistical functions to find the minimums, maximums and averages.. Its quite serious data science, if you go that road.

      If you used mt5, you could just look at the history, lol
      0_1604322559233_73969705-3f16-4c51-8fc2-56bfe4a220aa-image.png

      posted in Questions & Answers
      roar
      roar
    • RE: Downloading my indicators

      @reader1 fxdreema doesnt actually upload the indicators, the site just reads their properties so that you can refer them in your project. In short, not possible.

      posted in Questions & Answers
      roar
      roar
    • RE: So many lines of codes!

      @reader1 fxdreema works with code blocks, you can't avoid the "unnecessary" code. If you want simplified project, just google some mql4 tutorial.

      posted in Questions & Answers
      roar
      roar
    • RE: BUTTON - controlling part of function blocks by press button

      @littleleg here's a working example of a button, hope it helps
      https://fxdreema.com/shared/4LWM6r3Ac

      posted in Questions & Answers
      roar
      roar
    • RE: How can I find the last highest or lowest close price value of last x bar?

      @sokphal then change the "what to get" to candle ID.
      When you know the candle ID, you can get all the candle properties

      posted in Questions & Answers
      roar
      roar
    • RE: ,free version of the builder

      @profit-man free version works for both mt4 and mt5 projects.

      Here's how to create a new project, there you will specify between mt4 and mt5
      0_1604144113555_36660f14-8594-42f9-88f5-f0faccd4a4fb-image.png

      posted in Questions & Answers
      roar
      roar
    • RE: could someone please show me where I'm going wrong

      @jstap mathematically, mid point is not high-low.
      Correct formula is: low + 0.5*(high - low)
      Or simplified: 0.5 * high + 0.5 * low.

      So, here's the fix:
      0_1604097712743_3a635554-679b-4b74-9ec4-4a40408aa673-image.png

      posted in Questions & Answers
      roar
      roar
    • RE: Why my EA always opens 2 pending orders? Please take a look at my ea

      @ankitrader for example,
      if trade -> delete pending orders
      or
      pending orders count != 2 -> delete pending orders

      posted in Questions & Answers
      roar
      roar
    • RE: Why my EA always opens 2 pending orders? Please take a look at my ea

      @ankitrader OCO duplicates your 2 orders. 2*2=4.

      You dont need OCO here, just disable it

      posted in Questions & Answers
      roar
      roar
    • RE: How can I turn DD into a percentage?

      @l-andorrĂ  "relative" sounds a lot like percentage. Never tried this though
      0_1604058695715_4f40f8c0-5f6d-49c1-9977-320cdf000fd1-image.png

      posted in Questions & Answers
      roar
      roar
    • RE: Why my EA always opens 2 pending orders? Please take a look at my ea

      @ankitrader OCO order literally means 2 pending orders.
      0_1604001805170_a6aeda4b-56b5-4ba6-a706-3890eaa3045e-image.png

      posted in Questions & Answers
      roar
      roar
    • 1
    • 2
    • 32
    • 33
    • 34
    • 35
    • 36
    • 120
    • 121
    • 34 / 121