Drawing horizontal lines and open trades from them.
-
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.
-
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.
-
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