fxDreema

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

    price is close to support or resistance before trading

    Questions & Answers
    2
    6
    2140
    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.
    • G
      gunterd last edited by

      I have many support and resistance lines on the chart. how can I have the ea check if price is x number of pips from one of my horizontal lines? i tried check distance but it doesn't seem to work

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

        I don't know if you have a custom indicator or something else, but take a look at that "Adjust" field:
        0_1549192925345_8a84514f-a34f-4160-bc69-a46996503564-image.png
        In it you can write something like +10pips, where "pips" is a keyword that fxDreema understands and turns 10 into something like 0.0001. This way you are adding 0.0001 to the value.

        1 Reply Last reply Reply Quote 0
        • G
          gunterd last edited by

          I have horizontal lines generated by fxdreema. so I have the values in the form of variables and objects. I am still having trouble however having the ea identify when price is within x number of pips from the lines. I only want trades to open near the horizontal lines

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

            Can you make a simple example that shows the problem? I can see your latest project, but it is big and also Buy and Sell blocks are disabled

            1 Reply Last reply Reply Quote 0
            • G
              gunterd last edited by

              I will try something soon. I am just wondering if I am using the check distance block correctly

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

                Because you are working with objects, it's also important that they exist and they can be loaded. Are you sure that you can get their levels correctly? Hint - visualize these values with Trace or Comment blocks.

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

                Online Users

                N
                S

                12
                Online

                146.7k
                Users

                22.4k
                Topics

                122.6k
                Posts

                Powered by NodeBB Forums | Contributors