
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
Does the AccountBalance() function show the current equity balance in real time? For example, lets say I have 1 ea running and currently it is making a profit of 100.00 and lets say the opening balance in the account before the ea ran was 500.00. Will the AccountBalance() function show a value of 600.00?
If not, suppose the market conditions are right so that a second ea on a seperate currency-pair chart opens, but it attempts to determine how many lots to trade based on the value of the AccountBalance() function before it invokes OrderSend(). (This will insure that no more than a certain pre-defined per cent of the account balance is never risked, for example, one per cent.) If the AccountBalance() function does not show the current equity value, is there a way for the second ea to know what the actual equity balance is so that it can determine how many lots to trade to limit the risk of the trade?