fxDreema

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

    Drawing horizontal lines and open trades from them.

    Questions & Answers
    2
    3
    1708
    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.
    • C
      coverman last edited by

      I would like to draw a horizontal line 10 pips above current price and 10 below.
      How can this be done? Thought it should be done with "Draw Line".

      And if the market moves to this line it should buy/sell.
      I would also add a delay to the line so it isn't moving every tick.

      Is this possible to make? I have been looking around the different blocks but couldn't find the right ones.

      C 1 Reply Last reply Reply Quote 0
      • C
        coverman @coverman last edited by

        Actually I could make that horizontal line after all. But can't make it BUY/SELL when it has crossed the lines.
        I did set the condition to check if it crossed the line, but it doesn't make the trade.

        0_1537435772576_Skärmavbild 2018-09-20 kl. 11.29.04.png

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

          Be careful with the first 2 options in "Draw Line" (and each Draw block). Click on their titles (the first 2 options, A and B) to see explanation.

          But I think you don't want particular name for the lines. Names are unique and you can't have 2 objects with the same name. So I will suggest to create your lines with whatever names, then use:

          For each Object -> Condition (where you check the price, but the Source of the object will be "Picked in loop") -> delete (orange block, to delete the line) -> Buy/Sell

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

          Online Users

          H
          B
          K
          A
          S

          15
          Online

          146.7k
          Users

          22.4k
          Topics

          122.6k
          Posts

          Powered by NodeBB Forums | Contributors