I_marketposition_at_Broke as indicator for manual trading  [SOLVED]

Questions about MultiCharts and user contributed studies.
florianp3
Posts: 20
Joined: 10 Jun 2014
Has thanked: 4 times

I_marketposition_at_Broke as indicator for manual trading

Postby florianp3 » 10 Jun 2014

vars:broker_mp(0),broker_avgentry(0);
broker_mp = I_MarketPosition_at_Broker;
broker_avgentry=I_AvgEntryPrice_at_Broker;
Plot1(broker_mp,"broker_mp");
Plot2(broker_avgentry,"broker_avgentry");

// there are no plots when I execute orders directly at broker; why can't I see my position if this code is supposed to ask my broker? (which is IB)

User avatar
Andrew MultiCharts
Posts: 1587
Joined: 11 Oct 2011
Has thanked: 931 times
Been thanked: 559 times

Re: I_marketposition_at_Broke as indicator for manual tradin  [SOLVED]

Postby Andrew MultiCharts » 11 Jun 2014

Hello florianp3,

It will work if auto-trading is enabled on the chart where the study is applied to.


Return to “MultiCharts”