fxDreema

    • Register
    • Login
    • Search
    • Back to the main page
    • Categories
    • Recent
    • Tags
    • Popular
    • Search

    Retrieve highest value for

    Questions & Answers
    2
    2
    436
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • H
      holygrailfx last edited by

      I am looking to Retrieve the highest value for a 30 candle period for the MACD line.

      So I wnat to look back and retrive the highest value within a certain period.

      Is there already an easy way within fxdreema? Or do I have to try my luck in wriing value to variables?

      Any advice welcome

      Gideon

      1 Reply Last reply Reply Quote 0
      • fxDreema
        fxDreema last edited by

        There is nothing about this in "Condition" or as a block. I was thinking about this many times, to add something in "Condition" or to do it as a separate block, but there are downsides for both cases, so I don't know 🙂

        The best way is to have a custom indicator that does this calculation and also draws the values you want to use. Indicators do their job better. Doing indicator's job in an EA is not very efficient in most cases. Just imagine - getting and checking the same 30 values on every tick.

        1 Reply Last reply Reply Quote 0
        • 1 / 1
        • First post
          Last post

        Online Users

        H
        A

        7
        Online

        146.8k
        Users

        22.4k
        Topics

        122.6k
        Posts

        Powered by NodeBB Forums | Contributors