rates_total
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
- Experts: BreakThrough
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()