люди, подскажите что не так... Пытаюсь построить МА по обьему. А он считает мне эту линию по клозам. Как заставить посчитать МА по обьему? Спасибо...
double iMAOnArray(
double array[], int total, int period, int ma_shift, int ma_method, int shift)
Calculation of Moving Average on data stored in the array. Unlike iMA(...) the iMAOnArray function does not select data based on the instrument name, timeframe and price used - price data must be prepared in advance. The calculation is performed from left to right. To arrange access to the array elements as to time series (i.e., from right to left), use the ArraySetAsSeries function.
Parameters:
array[]
-
Array with data.
total
-
Number of elements to calculate. 0 means all elements of the array.
period
-
Averaging period for calculating a moving average.
AlekZZZandR Theoretically, you could replace indicator_separate_window with indicator_chart_window in the indicator code, but it is hard to say how it will look on the chart.
AlekZZZandR Теоретически можно заменив в коде индикатора indicator_separate_window на indicator_chart_window, но как это будет выглядеть на графике сказать трудно.
Tried it, it doesn't work, it doesn't appear on the chart at all....
And you compare the dimension of the indicator and the price, so it probably only appeared far below or above.
If you have a price of 1.5436 and the indicator is 83, then how do you see it in the chart window (I did not look at the indicator, the problem is typical)
Good afternoon all! The question is as follows: how to code the balance line signals according to Bill Williams system. The attached file describes the essence of the signal with an example. I understand what to do (for buying): find the bar offset with the smallest distance between the minimum price and the balance line (ie the blue line) using the cycle, then find the maximum bar on the left. Who can suggest with the code? Thanks in advance.
Luchiy>>: Как снимать показатели на индикаторе ZigZag(неперересовывающем) c отстоющим уровнем пробития цены. Интересует чтобы в момент переключения индикатора (фиксации вершины) функция iGustom принимала значения 1 либо -1. Это значение служит торговым сигналом для советника.
You can add another buffer to the indicator and write 1 or -1 to it (to the zero position) when the value of UpZ changes. In other cases write 0. By the way, if there is no need to draw the zigzag, you can use the main buffer for this purpose.
Allow the use of cookies to log in to the MQL5.com website.
Please enable the necessary setting in your browser, otherwise you will not be able to log in.
You are signed in. Two-factor authentication has been disabled. Set it up again and scan a new QR code, or continue with two-factor authentication disabled.
люди, подскажите что не так... Пытаюсь построить МА по обьему. А он считает мне эту линию по клозам. Как заставить посчитать МА по обьему? Спасибо...
Tried it, it doesn't work, it doesn't appear on the chart at all....
есть ведь спец функция по этому индикатору.заместо своей строки обращения впиши эту
double FI=iForce(NULL,0,24,0,0,0);
а тут полное описание https://docs.mql4.com/ru/indicators/iForce
Thank you, it works.
And you compare the dimension of the indicator and the price, so it probably only appeared far below or above.
If you have a price of 1.5436 and the indicator is 83, then how do you see it in the chart window (I did not look at the indicator, the problem is typical)
I know how to set up this tool to show far into the history.
Как снимать показатели на индикаторе ZigZag(неперересовывающем) c отстоющим уровнем пробития цены. Интересует чтобы в момент переключения индикатора (фиксации вершины) функция iGustom принимала значения 1 либо -1. Это значение служит торговым сигналом для советника.
You can add another buffer to the indicator and write 1 or -1 to it (to the zero position) when the value of UpZ changes. In other cases write 0. By the way, if there is no need to draw the zigzag, you can use the main buffer for this purpose.
>>who can't tell me how to set this turntable to show far into the story. I know what it does.
It's good till 91.