Serving Traders Since 2005
|
|
|
|||||||
| MetaTrader 5 MT5 is already out of its beta stage, but the development is ongoing. Some brokers already offer real accounts and the interest of traders is growing. You can discuss anything related to MetaTrader 5 in this forum. |
![]() |
|
|
LinkBack | Thread Tools | Display Modes |
|
||||
|
can I do this?
when I run it, I get array out of range. MQL5 Code:
|
|
||||
|
There's no problem in doing that, but you have to use ArrayResize() to set size for ch[] and make sure that x-1 falls into that range. t should also be >= 0 and < 300.
__________________
Please, read the Forum Rules and the Signature Rules to avoid termination of your account. |
![]() |
| Bookmarks |
| Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
| Thread Tools | |
| Display Modes | |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| series array by time | samjesse | MetaTrader 5 | 1 | 3rd October 2011 07:28 |
| array pupulating | samjesse | MetaTrader 5 | 3 | 12th September 2011 10:08 |
| High Array max | samjesse | MetaTrader 5 | 1 | 5th September 2011 08:22 |