Confused about things.......

Questions about MultiCharts and user contributed studies.
maxpi
Posts: 58
Joined: 03 Jun 2007

Confused about things.......

Postby maxpi » 17 May 2008

I'm reading the documents, the forums, etc. and have questions about autotrading. I want to use limit orders in a strategy. How can I get feedback from TWS on the limit order status? I could figure that out from the strategy view if price is traded through but I can't do that if price is touched.

In the PowerLanguage editor I see the choice for marketposition_checked but no mention of that keyword in the documents anywhere, what does that keyword do?

User avatar
Marina Pashkova
Posts: 2758
Joined: 27 Jul 2007

Postby Marina Pashkova » 20 May 2008

Hi maxpi,

If you want to receive feedback about a limit order status in a code - this can't be done in MultiCharts. If you simply want to know what happened to a limit order, the necessary information is displayed in the alert messages shown in the bottom left-hand corner of the MultiCharts screen.

Marketposition_checked is basically the same thing as marketposition. The only difference is that if the information for the position ago is not available marketposition returns 0, while marketposition_checked returns an error.


Return to “MultiCharts”