Attached is a sample code that shows how to perform auto trading in Real Time Market Scanner through an indicator with the help of unmanaged orders.
>>>Download video demo<<<
How to utilize Real Time Market Scanner for auto trading
- Henry MultiСharts
- Posts: 9165
- Joined: Aug 25 2011
- Has thanked: 1264 times
- Been thanked: 2958 times
Using this idea as a basis, is there anyway using C# or the PowerLanguage.NET API to reference the market scanner group names/IDs?
What I mean is, is there a variable/function that gives us the name of the market scanner group that the symbol being referenced is in?
Thanks in advance!
What I mean is, is there a variable/function that gives us the name of the market scanner group that the symbol being referenced is in?
Thanks in advance!
- Henry MultiСharts
- Posts: 9165
- Joined: Aug 25 2011
- Has thanked: 1264 times
- Been thanked: 2958 times
Hello aallstar,Using this idea as a basis, is there anyway using C# or the PowerLanguage.NET API to reference the market scanner group names/IDs?
What I mean is, is there a variable/function that gives us the name of the market scanner group that the symbol being referenced is in?
Thanks in advance!
You can get only symbol parameters. There is no way to get any information regarding the market scanner group names/IDs at the moment. That is possible to transfer certain values through the study inputs.
In one of the next versions of MC .Net that will be possible to get the scanner row number from the code.
- STAR_Trader
- Posts: 18
- Joined: Sep 12 2012
- Location: Tokyo Japan
- Has thanked: 4 times
- Been thanked: 2 times
Henry,
I agree, MC needs this function.
For traders who want to auto-trade a portfolio based on different asset classes, we need some way of referencing the different scanner groups.
Then we can code rules such as: no more than 25% of the portfolio value to be invested in any one group. This allows us to prevent over exposure to any one particular asset class/group (i.e. bonds, equity, commodity, FX etc, etc)...
Until MC offers this function, are you aware of any work around using MC.net?
I agree, MC needs this function.
For traders who want to auto-trade a portfolio based on different asset classes, we need some way of referencing the different scanner groups.
Then we can code rules such as: no more than 25% of the portfolio value to be invested in any one group. This allows us to prevent over exposure to any one particular asset class/group (i.e. bonds, equity, commodity, FX etc, etc)...
Until MC offers this function, are you aware of any work around using MC.net?
- Henry MultiСharts
- Posts: 9165
- Joined: Aug 25 2011
- Has thanked: 1264 times
- Been thanked: 2958 times
STAR_Trader, it is already in my post aboveUntil MC offers this function, are you aware of any work around using MC.net?
That is possible to transfer certain values through the study inputs.