Draw horizontal line from trade for SL & TP
-
Hi,
Newbie here.....
Can anyone share an example of drawing a horizontal line from an order, to use as TP/SL.
I have tried from: 'trade Created'-Draw line' & 'if trade'-Draw line.
But obviously i'm missing something....Great site btw, enjoying it very much! thank you!
-
for most simplified solution, are you looking for virtual stop loss?
they can be enabled in project options:
Emergency stops are working as normal SL TP ..
-
Hi, Thanks for the reply,
what I am trying to do is after the order opens the trade; then draw a horizontal line at x pips from the open price. (I then use the line to manage/close the trade, or open more etc)
I have tried 'on tick' & on 'on trade', i'm sure i'm just missing something......
Thanks!
-
I am using this way to do some things. Might be good for you:

When some condition price crosses any of the TPi_Price (drawn by H line) -> Do this (close position, open order, move SL, etc.). I am not sure if you can use a H Line as a Price Level but you can set a variable with the Price level to draw the H line.
I hope it gives you an idea
-
Thank you, Yes, that is much more the like what i was thinking.