- MT4 : Strategy Tester drawdown's
- Any questions from newcomers on MQL4 and MQL5, help and discussion on algorithms and codes
- [ARCHIVE!] Any rookie question, so as not to clutter up the forum. Professionals, don't pass by. Can't go anywhere without you - 4.
- What make you think they don't work.
- Find one or modify one. You haven't stated a problem, you stated a want.
- What make you think they don't work.
- Find one or modify one. You haven't stated a problem, you stated a want.
If you had tried yourself, you would know.
There is no problem with AccountEquity(), AccountBalance() unless demonstrated otherwise.
There are plenty of indicators about equity/balance either in Codebase or the Market, what is preventing you to search them ?
There is no problem with AccountEquity(), AccountBalance() unless demonstrated otherwise.
There are plenty of indicators about equity/balance either in Codebase or the Market, what is preventing you to search them ?
when you said so ;)
you simply do not understand the real issue.The real issue here seems to be that you won't even try search your self for the answer.
Many comments but not helping ;)
Let's see who is next.
//+------------------------------------------------------------------+ //| | //+------------------------------------------------------------------+ int OnCalculate(const int rates_total, const int prev_calculated, const datetime &time[], const double &open[], const double &high[], const double &low[], const double &close[], const long &tick_volume[], const long &volume[], const int &spread[]) { int n=rates_total-1; n = rates_total - prev_calculated - 1; if (prev_calculated == 0) { n = n - 1; } for(int i = n;(i>=0) && !IsStopped(); i--) { Buffer1[i] = AccountBalance(); Buffer2[i] = AccountEquity(); } return(rates_total - 1); }
This won't work, not because AccountBalance() or AccountEquity() do not work.
Let the all-wise-guy smile ;)
Case
closed.
But for those who compare ...
That same code works on MT5 but not on MT4,
happy bug hunting or switch to MT5 ;)
This won't work, not because AccountBalance() or AccountEquity() do not work.
Let the all-wise-guy smile ;)
Case
closed.
You are incompetent and unpleasant guy. Only in your code there is a bug, fix it.
With such attitude you are unlikely to ever get help on this forum. Not mine for sure.
You are incompetent and unpleasant guy. Only in your code there is a bug, fix it.
With such attitude you are unlikely to ever get help on this forum. Not mine for sure.
Again, it's your opinion.
I have mine about you too, but who cares ? ;)

- Free trading apps
- Over 8,000 signals for copying
- Economic news for exploring financial markets
You agree to website policy and terms of use