fxDreema

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

    Topics created by ibetusuck

    • I

      horizontal or trendline help please
      Questions & Answers • • ibetusuck

      2
      0
      Votes
      2
      Posts
      360
      Views

      fxDreema

      Horizontal lines are made out of only 1 price level and they are visible from left to right, the whole chart. Trend lines are made out of 2 price levels and 2 times. You want a trend line where both points have the same price levels, but different times.

    • I

      seeminly simple idea, kicking my @ss, please help
      Questions & Answers • • ibetusuck

      2
      0
      Votes
      2
      Posts
      1020
      Views

      fxDreema

      Round numbers detector is some kind of filter, it should be placed somewhere under "on Tick" so it can check the current price at every tick and it would pass every time the price reaches a new round number. But this block is not really suitable for making pending orders.

      In the pending orders blocks there is nothing about round numbers, this is something that I should add, but who knows when. Anyway, I got something for you. These are some simple formulas for calculating round numbers out of the Bid price (in this example): https://fxdreema.com/shared/xHE9eHHHc

      MathCeil() and MathFloor() are MQL4 functions that give you the nearest bigger and the nearest smaller integer:
      https://www.mql5.com/en/docs/standardlibrary/mathematics/stat/mathsubfunctions/statmathceil
      https://www.mql5.com/en/docs/standardlibrary/mathematics/stat/mathsubfunctions/statmathfloor

      Bid is a predefined variable in MQL4 and it gives you the current Bid price of course. There is Ask as well.

      My example gives this result on the chart: http://prntscr.com/hafr46

      These values can be used as Open Price for a pending order and you can also customize the formula if you want.

    • I

      fifo violations
      Questions & Answers • • ibetusuck

      2
      0
      Votes
      2
      Posts
      650
      Views

      M

      https://fxdreema.com/forum/topic/4246/example-for-each-trade
      https://fxdreema.com/shared/FRLmvb2Bb
      using Pink blocks you can do it ...

    • I

      need help with treadlines please
      Questions & Answers • • ibetusuck

      6
      0
      Votes
      6
      Posts
      1536
      Views

      fxDreema

      I can hardly understand your questions 🙂 Maybe you can show some screenshots?

    • 1 / 1