Permissioning an EA or Indicator

Back to topics list To post a new topic, please log in or register
avatar
9
legburger 2015.02.23 23: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.
avatar
2017
gooly 2015.02.23 23: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();

avatar
9
legburger 2015.02.24 00: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
avatar
9
legburger 2015.02.24 16: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)?
avatar
2017
gooly 2015.02.24 16: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 :(


avatar
9
legburger 2015.02.24 17: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.
avatar
2017
gooly 2015.02.24 20:28 #
 

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

But bear in mind it might be changed without notice!

avatar
9
legburger 2015.02.25 10: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
Back to topics list  

To add comments, please log in or register