We often need to input numeric values into an array, in which I am sharing how we can easily use a string array to input and output numeric values. In this case, a 2-dimensional array is used, but it can also be multidimensional.
Similar MetaTrader Trading Tools:
- Print Closed Position - script MetaTrader 5 The script prints info about a closed position by its position ticket or identifier, on a retail hedging account. It…
- The IndMATEMA indicator based on crossing of two MA… In equal period and grow of prices the average curve (MA and TEMA), drawn on close prices will be the…
- Momentum Color Fill - indicator MetaTrader 5 The Momentum Technical Indicator measures the change of price of a financial instrument over a given time span. Momentum is…
- introsort - array sorting algorithm - library MetaTrader 5 //+------------------------------------------------------------------+ //|                                                    Introsort.mq5 | //|                                    2019-2021, dimitri pecheritsa | //|                                        mql5.com/en/users/dmipec | //|------------------------------------------------------------------| //|  c| array sorting algorithm                                    | //|  introsort or introspective…
- gnome sort - array sorting algorithm - library MetaTrader 5 //+------------------------------------------------------------------+ //|                                                    GnomeSort.mq5 | //|                                    2019-2021, dimitri pecheritsa | //|                                        mql5.com/en/users/dmipec | //|------------------------------------------------------------------| //|  c  | gnome sort                                                | //|------------------------------------------------------------------| //| use | array…
- insertion sort - array sorting algorithm - library… //+------------------------------------------------------------------+ //|                                                InsertionSort.mq5 | //|                                    2019-2021, dimitri pecheritsa | //|                                        mql5.com/en/users/dmipec | //|------------------------------------------------------------------| //| cls | insertion sort                                            | //|------------------------------------------------------------------| //| use…
- selection sort - array sorting algorithm - library… //+------------------------------------------------------------------+ //|                                                SelectionSort.mq5 | //|                                    2019-2021, dimitri pecheritsa | //|                                        mql5.com/en/users/dmipec | //+------------------------------------------------------------------+ //| selection sort - array sorting algorithm                        | //+------------------------------------------------------------------+…
- shell sort - array sorting algorithm - library MetaTrader 5 //+------------------------------------------------------------------+ //|                                                    ShellSort.mq5 | //|                                    2019-2021, dimitri pecheritsa | //|                                        mql5.com/en/users/dmipec | //+------------------------------------------------------------------+ //+------------------------------------------------------------------+ //| shell sort - array sorting algorithm                            |…