Hello everyone, is it possible to make an EA that only allows trading posable if the correct account number is selected. Otherwise only attached indicators are applied to the EA and any trading code is dismissed.
- Setting mt4 account only EA tradings
- How to share your technical analysis with multiple user with one master account
- Apply to: Previous Indicator's Data read the indicator in EA
GrumpyDuckMan:
Hello everyone, is it possible to make an EA that only allows trading posable if the correct account number is selected. Otherwise only attached indicators are applied to the EA and any trading code is dismissed.
Hello everyone, is it possible to make an EA that only allows trading posable if the correct account number is selected. Otherwise only attached indicators are applied to the EA and any trading code is dismissed.
What is "posable" ?
Yes it's possible. Please do some researches before posting.
ChartSetInteger(Chart_ID,CHART_SHOW_GRID,false); bool TF=ChartSetSymbolPeriod(chartid,charts,TIMEFRAME); if(AccountNumber()!=ALLOWED_ACCOUNT)indictor_only(); if(AccountNumber()!=ALLOWED_ACCOUNT) return;
This seems to work.
Hello again,
I have copy and pasted the "MACD.mq4" code to my EA. The problem now is after I try to run the program. To me it looks like it is about to start, but straight away stops. No critical errors displayed.
Some ideas as to why this would happen?
I found a couple of things out, but I was interested in the one https://www.mql5.com/en/forum/138577
![Detailed explanation of iCustom Detailed explanation of iCustom](/i/community/logo_mql5_small.png)
Detailed explanation of iCustom
- 2012.03.19
- www.mql5.com
Hello. I am new to coding, and am learning a lot, however I have struck something that I cannot get my head around at the moment...
![MQL5 - Language of trade strategies built-in the MetaTrader 5 client terminal](https://c.mql5.com/i/registerlandings/logo-2.png)
You are missing trading opportunities:
- Free trading apps
- Over 8,000 signals for copying
- Economic news for exploring financial markets
Registration
Log in
You agree to website policy and terms of use
If you do not have an account, please register