Mark price level with mouse click
-
Hi everyone!
I'm building a tool that allow trader to set position with perfect risk in very fast way.I want to set stop loss level with mouse button click. So i need to mark the price level when i click the mouse button and maybe save it in a variable.
Do you have some good solution?
-
@fenixtrading This is a very interesting question. I guess (and that's just a guess) that it is possible, but not completely sure. Is any of those panel builders near here?
-
@fenixtrading Hello, you could put a button that when pressed will draw a horizontal line with a specific name, then you configure a condition in which if the price is equal to the price 1 of that object do whatever you want, open position, close, BE .. .
-
@l-andorrà @ajmd97fx thanks for your answers.
I found a good solution meanwhile:
I plot/delete horizontal lines with hotkeys and used their vaules as stoploss/tp levels.
I also used variables to save price levels and when buy/sell button is pressed i enter market with certain % depending of stop loss.Easy Risk managment and superfast stop loss settings.
-
@fenixtrading That sounds ver interesting. Could you please share that part of your project?
-
@fenixtrading Your idea is the same as mine, to obtain the distance from the price to a horizontal line and calculate the necessary lot according to a risk predefined by you or by a percentage?
-