Download MetaTrader 5
To add comments, please log in or register
Any questions regarding MQL5 Cloud Network? FAQ will help you!
legburger
57
legburger 2015.02.23 22:03 
If I offer an EA or Indicator, how can it be programmed to only work for a certain broker. I am looking at creating an application for a broker.
Carl Schreiber
6396
Carl Schreiber 2015.02.23 22:09  
Read the Book, Documentation or the editor's reference there is the:


AccountCompany

Returns the brokerage company name where the current account was registered.

string  AccountCompany();

legburger
57
legburger 2015.02.23 23:02  
gooly:
Read the Book, Documentation or the editor's reference there is the:


AccountCompany

Returns the brokerage company name where the current account was registered.

string  AccountCompany();

Thanks
legburger
57
legburger 2015.02.24 15:28  
legburger:
Thanks
Gooly, oneother question. Can I use the same parameters to permission a group within a broker. DEMO/REAL or a group set up by the broker (such as Bronze/silver/gold)?
Carl Schreiber
6396
Carl Schreiber 2015.02.24 15:43  

Look at the Documentation => Account Information there you find all you can use.

Now you have to search at the broker how the conditions of the groups differ and whether that can be requested and detected by the mql4-functions like e.g. AccountServer()??

Beside that you have as well IsDemo(), true if it is a demo account, but some brokers haven't set up their server correctly. From one broker I know the DemoAccount sets IsDem() to false :(


legburger
57
legburger 2015.02.24 16:11  
gooly:

Look at the Documentation => Account Information there you find all you can use.

Now you have to search at the broker how the conditions of the groups differ and whether that can be requested and detected by the mql4-functions like e.g. AccountServer()??

Beside that you have as well IsDemo(), true if it is a demo account, but some brokers haven't set up their server correctly. From one broker I know the DemoAccount sets IsDem() to false :(


yeh i looked in the documentation, but couldnt figure out how to differentiate between broker groups. Thanks for your help.
Carl Schreiber
6396
Carl Schreiber 2015.02.24 19:28  

Think indirectly: Commission, Swap, Spread, Leverage, ..

But bear in mind it might be changed without notice!

legburger
57
legburger 2015.02.25 09:53  
gooly:

Think indirectly: Commission, Swap, Spread, Leverage, ..

But bear in mind it might be changed without notice!

Ahhhhh good idea. So for example a broker might profile their users and categorise them by leverage. Therefore we could group the users as an example by how much leverage they have been allowed. Or the lower the spread the more important a client is etc etc
/
To add comments, please log in or register