fxDreema

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

    Check if price crosses lines (supports/resistences)

    Questions & Answers
    2
    2
    942
    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.
    • D
      David197 last edited by

      Hello,

      I want to create an EA that checks if the price crosses some horizontal lines and then open/close trades. There are a lot of horizontal lines and I want not to have to rename all of them.
      How can I do it? I’ve been trying with -For each object- but it does not work as I supposed it should. It skips some lines and does not open nor close the trades as it should.

      Any idea?

      Than you,
      David

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

        So there are 2 main ways to select objects - by name (because each object has unique name) or by searching/filtering (loading each object and checking if it is what we want). The first way you can do in "Condition" directly. The second way is with using this "For each Object" block. I guess that you can't use the first way, so you should use "For each Object". I don't know why it is not working for you, but if you can give me more details and even a small project for an example... I need to know what you are doing exactly and what the goal is, so then I can test it here and see what is the problem.

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

        Online Users

        Q
        C
        T
        S
        A
        M
        R
        G
        G
        Y
        C
        S

        36
        Online

        146.7k
        Users

        22.4k
        Topics

        122.6k
        Posts

        Powered by NodeBB Forums | Contributors