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
Margin at Broker
- Andrew MultiCharts
- Posts: 1587
- Joined: 11 Oct 2011
- Has thanked: 931 times
- Been thanked: 559 times
Re: Margin at Broker
Hello ,
You cannot receive this value directly from your broker, but you can use the following workaround:
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.
Re: Margin at Broker
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
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
- Andrew MultiCharts
- Posts: 1587
- Joined: 11 Oct 2011
- Has thanked: 931 times
- Been thanked: 559 times
Re: Margin at Broker
Of current chart only.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 ?
Unfortunataly this workaround is not for FX
Please leave us such feature request.
- Andrew MultiCharts
- Posts: 1587
- Joined: 11 Oct 2011
- Has thanked: 931 times
- Been thanked: 559 times
Re: Margin at Broker
Please elaborate.And there is any possibility to putting chart in or ? So they can't go at market togheter but only 1 per time ?
Re: Margin at Broker
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
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
- Andrew MultiCharts
- Posts: 1587
- Joined: 11 Oct 2011
- Has thanked: 931 times
- Been thanked: 559 times
Re: Margin at Broker
Global Variables are required. The scenario looks like a pair trading to me. Please read about possible pair trading emulations in MC.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.
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.
Re: Margin at Broker
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
I know about this new very important feature and im waiting for it, when it will be available ?
Regards
No Erocla
- Andrew MultiCharts
- Posts: 1587
- Joined: 11 Oct 2011
- Has thanked: 931 times
- Been thanked: 559 times
Re: Margin at Broker
First public beta should be available within a month, this is not 100% information.