I want to thank everyone who has contacted me offering help for this little project. I really appreciate willingness of the forum members to help. With the help of one forum member I was able to finish the code.
I would like to use chart trader to set the first trade manually as a pending limit order.
The following is what i would like to occur:
Using Chart trader (if possible) I would set a limit order at future/forex value e.g 1.0000 (First trade), the ' average down' trade (second Trade) would be set x tick away automatically as a pending order also. If the first trade came into profit (using an ATM) the strategy would also cancel the second trade (pending limit order) automatically.
If the second trade was activated, when it came to designated profit target (designated in an ATM) it would close itself and the first trade.
The strategy would have coding for a third or forth average down trade if required.
Is it possible to enter a limit order for this strategy using chart trader?
I have a request for a draw tool.........I think it would be pretty easy for the talent in here. What I would like to have is a horizontal ray that plots to the right where I click my mouse........also it should be tagged with the price its at and how many ticks away price is and live updating of course........1 more thing it should have but I could live with out is for the tags to be on the opposite side of the line from price.........and the ability to name the line like target 1, target 2 or what ever i want. And the ability to change the line properties ie.......color, dash, dot the width and font size.......just a few choices for the font size and line size.
willing to pay a reasonable price
The main reason I'm asking for this is to have the Ray be Horizontal with one mouse click and not having to adjust the Ray to be level.......1 mouse click and level.....would be a cool time saver.......the rest is just bells and whistles.
Last edited by Bsinks; November 22nd, 2015 at 08:16 AM.
Reason: added information
Ok here is what I have so far for the last request.......THIS FILE IS NOT COMPLETE YET.........here is list of what it needs to be complete
1) I need a button on the tool bar so I can click on it and add the ray via the mouse at the point where my cursor is at. The button can be labeled HR for Horizontal Ray
2) I want the line to start plotting to the right of where the cursor is at.
3) The info and ticks away number should be closer to the right margin.
As it stands now the indicator will plot as soon as I add the indicator to the list.....and it plots at the current price.....this is no good......it needs to plot where the cursor is at......If i need to move it I can.
So please if any body can fix it.....let me know.......its safe as is.......its loaded on my Ninja now with no problems......but like I said its not finished.
One other thing is the ticks away will show a minus sign.......that can be removed if possible