Hi, I'm just new to MQL, could someone please explain what I should understand by 'rates_total'? Is it a variable to count the processed bars, or is it a number that gives the total bars available? I can't find anything substantial in the MQL5 Language Reference. Thanks.
- get variable address
- Firebird EA
- Questions from Beginners MQL5 MT5 MetaTrader 5
Kenny Lewis:
Hi, I'm just new to MQL, could someone please explain what I should understand by 'rates_total'? Is it a variable to count the processed bars, or is it a number that gives the total bars available? I can't find anything substantial in the MQL5 Language Reference. Thanks.
Hi, I'm just new to MQL, could someone please explain what I should understand by 'rates_total'? Is it a variable to count the processed bars, or is it a number that gives the total bars available? I can't find anything substantial in the MQL5 Language Reference. Thanks.
You didn't look very hard. Look up OnCalculate()
OnCalculate
[in] Size of the price[] array or input series available to the indicator for calculation. In the second function type, the parameter value corresponds to the number of bars on the chart it is launched at.
Keith Watford:
You didn't look very hard. Look up OnCalculate()
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