|
TradeMUX SDK Documentation
1.0
TradeMUX SDK Documentation
|
| int iBars | ( | string | symbol, |
| int | timeframe | ||
| ) |
Returns the number of bars on the specified chart
| symbol | Symbol the data of which should be used to calculate indicator. NULL means the current symbol | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| timeframe | Timeframe. It can be any of following values:
|
For the current chart, the information about the amount of bars is in the Bars predefined variable