Download MetaTrader 5

Permissioning an EA or Indicator

To add comments, please log in or register
legburger
57
legburger  
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
6973
Carl Schreiber  
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  
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  
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
6973
Carl Schreiber  

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  
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
6973
Carl Schreiber  

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

But bear in mind it might be changed without notice!

legburger
57
legburger  
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