Margin at Broker

Questions about MultiCharts and user contributed studies.
no erocla
Posts: 134
Joined: 31 May 2013
Has thanked: 60 times
Been thanked: 7 times

Margin at Broker

Postby no erocla » 24 Apr 2014

Hello,

there is the possibility to get the account margin information from the broker (es. IB) through MC ?

Thank you for any answer

Regards
No Erocla

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

Re: Margin at Broker

Postby Andrew MultiCharts » 25 Apr 2014

Hello ,

You cannot receive this value directly from your broker, but you can use the following workaround:
  • Specify the margin in the settings of each symbol you need: QuoteManager -> make a right-click on the symbol -> Edit Symbol... -> enter correct margin value in the respective field.
  • Use Margin keyword in your code to return those values.

no erocla
Posts: 134
Joined: 31 May 2013
Has thanked: 60 times
Been thanked: 7 times

Re: Margin at Broker

Postby no erocla » 25 Apr 2014

Ok thank you for answer.

It contains the sum of all margin in all opened charts with Marketposition <> 0 like a global variable ? Or maybe, it just contains the margin value on current chart ?

Regards
No Erocla

bailey
Posts: 16
Joined: 05 Oct 2011
Has thanked: 1 time
Been thanked: 1 time

Re: Margin at Broker

Postby bailey » 26 Apr 2014

Unfortunataly this workaround is not for FX :-(

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

Re: Margin at Broker

Postby Andrew MultiCharts » 28 Apr 2014

It contains the sum of all margin in all opened charts with Marketposition <> 0 like a global variable ? Or maybe, it just contains the margin value on current chart ?
Of current chart only.
Unfortunataly this workaround is not for FX :-(
:-(
Please leave us such feature request.

no erocla
Posts: 134
Joined: 31 May 2013
Has thanked: 60 times
Been thanked: 7 times

Re: Margin at Broker

Postby no erocla » 28 Apr 2014

Ok thank you.

And there is any possibility to putting chart in or ? So they can't go at market togheter but only 1 per time ?

Again
No Erocla

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

Re: Margin at Broker

Postby Andrew MultiCharts » 28 Apr 2014

And there is any possibility to putting chart in or ? So they can't go at market togheter but only 1 per time ?
Please elaborate.

no erocla
Posts: 134
Joined: 31 May 2013
Has thanked: 60 times
Been thanked: 7 times

Re: Margin at Broker

Postby no erocla » 28 Apr 2014

For example i've two charts with two different trading systems:

Chart1: EURUSD (100k per trade)
Chart2: GBPUSD (100k per trade)

I would like that the orders generated by these 2 charts are in OR, i.e. they can't works togheter but just 1 per time.

I hope i was comprehensible

Regards
No Erocla

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

Re: Margin at Broker

Postby Andrew MultiCharts » 28 Apr 2014

Chart1: EURUSD (100k per trade)
Chart2: GBPUSD (100k per trade)

I would like that the orders generated by these 2 charts are in OR, i.e. they can't works togheter but just 1 per time.
Global Variables are required. The scenario looks like a pair trading to me. Please read about possible pair trading emulations in MC.

One more thing: in coming MC 9.0 we are going to (please don't tell anyone, it is a secret so far)... introduce portfolio trading feature, that will let you reach your goal easily.

no erocla
Posts: 134
Joined: 31 May 2013
Has thanked: 60 times
Been thanked: 7 times

Re: Margin at Broker

Postby no erocla » 28 Apr 2014

Yes i thought about GV, but some problem occurs when 2 signals comes exactly at the same time.
I know about this new very important feature and im waiting for it, when it will be available ?

Regards
No Erocla

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

Re: Margin at Broker

Postby Andrew MultiCharts » 28 Apr 2014

First public beta should be available within a month, this is not 100% information.


Return to “MultiCharts”