Open Positions and Order Placement

Questions about MultiCharts and user contributed studies.
sean.dbtrader
Posts: 5
Joined: 15 Sep 2011
Has thanked: 1 time

Open Positions and Order Placement

Postby sean.dbtrader » 16 Sep 2011

Are there features in MultiCharts that allow you to check Open Positions from PowerLanguage and place orders outside of a strategy?

User avatar
TJ
Posts: 7742
Joined: 29 Aug 2006
Location: Global Citizen
Has thanked: 1033 times
Been thanked: 2222 times

Re: Open Positions and Order Placement

Postby TJ » 16 Sep 2011

Are there features in MultiCharts that allow you to check Open Positions from PowerLanguage and place orders outside of a strategy?
if you press [F1], you can find all the position related EasyLanguage keywords:

Image


not sure what you mean by checking order and placing orders outside of a strategy.
Attachments
position.gif
(10.2 KiB) Downloaded 422 times

sean.dbtrader
Posts: 5
Joined: 15 Sep 2011
Has thanked: 1 time

Re: Open Positions and Order Placement

Postby sean.dbtrader » 17 Sep 2011

Hi TJ,

Thank you for your reply. What I mean by checking outside of a strategy, is to be able to check the account positions and place orders without the code being a strategy.

I come from a TS evironment and in version 9.0 they have an AccountsProvider object to check accounts and OrderTicket objects to place orders. These object can be used outside of a strategy. They also have all of the strategy position keywords that you listed from the help and I'm well aware of these.

But what I'm interested in finding out is if MultiCharts has features similar to the AccountsProvider and OrderTicket in TS. I haven't been able to find anything similar so far.

Thank you,
Sean

User avatar
Henry MultiСharts
Posts: 9165
Joined: 25 Aug 2011
Has thanked: 1264 times
Been thanked: 2957 times

Re: Open Positions and Order Placement

Postby Henry MultiСharts » 20 Sep 2011

Hello Sean.
As far as we are concerned this feature is not very popular among the traders at the moment.
That is why such functionality has not been implemented in MultiCharts yet.
The implementation of such feature may come when it will become more popular.
You may want to submit a feature request to the Project Management of our web site so other users can vote for it: https://www.multicharts.com/pm/

sean.dbtrader
Posts: 5
Joined: 15 Sep 2011
Has thanked: 1 time

Re: Open Positions and Order Placement

Postby sean.dbtrader » 20 Sep 2011

I see that the signal "!From Strategy to Broker MP Synchronizer!" makes a call to a function called PlaceMarketOrder. I can't seem to find documentation on this in the help. Where can I find more information on this function?

Thank you,
Sean

User avatar
Henry MultiСharts
Posts: 9165
Joined: 25 Aug 2011
Has thanked: 1264 times
Been thanked: 2957 times

Re: Open Positions and Order Placement

Postby Henry MultiСharts » 20 Sep 2011

PlaceMarketOrder
Places market order at the broker without position changing on the chart

Usage
PlaceMarketOrder(IsBuy, IsEntry, Contracts)

Where:
IsBuy indicates whether order is buy or sell,
IsEntry indicates whether order is entry or exit,
Contracts indicates the number of contracts/shares of the order.

Notes
Works with auto trading turned off. Can be used as a mean of synchronization of strategy market position with a broker
viewtopic.php?f=1&t=9206
This information will be present in the updated MultiCharts help file.


Return to “MultiCharts”