Some people want to plot an aribitrary line into a chart, and generate an order when the chart touches or crosses.
Please add this feature.
Add order generation line feature
- Marina Pashkova
- Posts: 2758
- Joined: 27 Jul 2007
Something to look forward to woohoo! You might want to take a look at NT to see how they do it....its a pretty good implementation though could be improved a little. If you could trade off a sloping line (which requires complexity as the order price changes bar to bar) that would be something pretty special.Hi Haerim,
Trading from chart will be developed in Q1 2008.
Regards.
Re: I am talking about direct order line drawing on the char
yes you can, script reads the line parameters (tl_get functions) and places a market order, piece of cake... if you want to emulate a limit order let the price touch your line then move one tick in your favor and hit the market with your market order or trigger off the bid/ask....not from the script.
What I want is not using script but directly from a chart...
Thank you maxpi for your detail answer. Appreciate it.
However, what I meant was to plot an arbitrary line manually and when the bar touches the order is generated.
I understand it is possible to generate orders from script using tl_getline and so on. But that's not what I wanted.
However, what I meant was to plot an arbitrary line manually and when the bar touches the order is generated.
I understand it is possible to generate orders from script using tl_getline and so on. But that's not what I wanted.
- Marina Pashkova
- Posts: 2758
- Joined: 27 Jul 2007