Examples of using Indicator array in English and their translations into Russian
{-}
-
Official
-
Colloquial
The indicator array will become larger by one element.
These values are already calculated and are contained in the indicator array.
All values of indicator array elements are calculated in the loop while.
Here i is the index of a bar, for which calculations are performed,k is an index of an indicator array element.
The indicator array is calculated from the oldest bar to the zero one.
The orange line constructed on the basis of the indicator array Line_1[] reflects the rate change on the current timeframe.
An indicator array contains information about dots coordinates upon which an indicator line is drawn.
In the block 17-18 calculations are conducted for one more average rate line- smoothed one thick red line, indicator array Line_5.
Values of indicator array elements are sent to a client terminal via buffers.
Calculations are conducted in a custom indicator; as a result numeric values are assigned to indicator array elements.
Numeric values of indicator array elements are dots coordinates, upon which an indicator line is drawn.
The indicator array Line_0[] contains values of the supporting MA, relative to which all other indicator lines are constructed.
In this example the position of the red line is the basis for the calculation of indicator array values for two other lines, i.e.
Taking into account that indicator array is not shifted relative to the chart, MA value is obtained for the zero bar.
While i is within the range from the first uncounted bar(299)to the current one(0) inclusively, values of indicator array elements are calculated for both indicator lines.
Note, missing values of indicator array elements are calculated during one(the first) start of the special function start.
Red indicator line displayed by the client terminal based on the indicator array Line_0[] is shifted to the left by 5 bars according to custom settings, see Fig.
Indicator Array is a one-dimensional array containing numeric values that are the basis for constructing of Indicator Line.
The Y-coordinate of each dot is the value of an indicator array element, X-coordinate is the index value of the indicator array element.
Indicator Array is a one-dimensional array containing numeric values, in accordance with which indicator lines are constructed.
And the Y coordinate of each dot is the value of an indicator array element, and X coordinate is the value of an indicator array element index.
Values of indicator array elements of technical indicators are available from all application programs, including Expert Advisors, scripts and custom indicators. .
In most cases in custom indicators one can efficiently calculate values of indicator array elements necessary for the formation of trading criteria and making of trading decisions in Expert Advisors.
It means the indicator array does not contain any element with earlier predefined value, that is why the whole indicator array must be calculated from beginning to end.
Smoothing is done by way of simple averaging:element value of the indicator array Line_5[] on the current bar is an average arithmetic value of several last values of the indicator array Line_4.
The indicator array Line_4[] is intended for building an average rate line(arithmetic average of Line_1[], Line_2[] and Line_3[]), and Line_5[]- for constructing the same rate average line, but smoothed one.
In the block 16017 values of the indicator array Line_4[] are defined for constructing an average rate line(blue line), which is their simple arithmetic average.
It means calculation of indicator array values in while() loop at the appearance of a new bar will be performed both for the last bar and for the new zero bar.
For getting a value of an indicator array element with a certain index in an application program it is necessary to call a built-in function, the name of which is set in accordance with a technical indicator name.