@FreedomFlyer I dont mind I'll share something soon
Best posts made by Makideba
-
RE: Place pending order at mouse click on chartposted in Questions & Answers
-
RE: Place pending order at mouse click on chartposted in Questions & Answers
@FreedomFlyer This is what I have done, I could not get the mouse click on chart working as I initially wanted the method @jstap suggested works better.
By drawing lines moving them and then placing pending orders where they are. In the link im sharing, though I'm not using this method.
What im doing here is.
on Int
- Drawing 2 edit fields -> 1 for buy line and 1 for sell line
- Drawing 2 buttons -> 1 to place my lines based on those edit fields and 1 to place pending once ive confirmed that those lines are in the places I want
on Chart
- Ive just configured those interactions
Latest posts made by Makideba
-
RE: Place pending order at mouse click on chartposted in Questions & Answers
@FreedomFlyer This is what I have done, I could not get the mouse click on chart working as I initially wanted the method @jstap suggested works better.
By drawing lines moving them and then placing pending orders where they are. In the link im sharing, though I'm not using this method.
What im doing here is.
on Int
- Drawing 2 edit fields -> 1 for buy line and 1 for sell line
- Drawing 2 buttons -> 1 to place my lines based on those edit fields and 1 to place pending once ive confirmed that those lines are in the places I want
on Chart
- Ive just configured those interactions
-
RE: Place pending order at mouse click on chartposted in Questions & Answers
@FreedomFlyer I dont mind I'll share something soon
-
RE: Place pending order at mouse click on chartposted in Questions & Answers
@jstap I forgot to respond here Thank you.
Managed to get this working as per your suggestion. Things have changed since then but learnt to make things better overall thanks to you
-
RE: Place pending order at mouse click on chartposted in Questions & Answers
Hi Jstap
So I done this with a buy and sell line and works but the line is very hard to select and move. (maybe there is a property setting im missing that makes this easier, I have tried making the width of the line thicker but this hasn't helped )
The other issue with this is when ive placed an pending order at a line and try to move the line again it more often selects the pending and I end up moving the pending vs moving the line. However I have not thought of creating a button to place/delete a line so think this may help
Still the issue I'm finding here is that the line is difficult to click and drag.
-
RE: Place pending order at mouse click on chartposted in Questions & Answers
Thanks I will reach out to them see if they may be able to help
-
RE: Place pending order at mouse click on chartposted in Questions & Answers
Thought as much, that I would need custom code for this any ideas on where to look?
-
Place pending order at mouse click on chartposted in Questions & Answers
Good day
I could not find any posts related to this if it has been answered already please share link to that post.
I would like to create Buy and Sell pending buttons, that when you click one of these buttons it loads your mouse cursor with a horizontal line, then on click it places a pending order at this price level (while your cursor is on the chart)