Questions from Beginners MQL5 MT5 MetaTrader 5 - page 240
You are missing trading opportunities:
- Free trading apps
- Over 8,000 signals for copying
- Economic news for exploring financial markets
Registration
Log in
You agree to website policy and terms of use
If you do not have an account, please register
Hello.
1. I cannot use the "Blau_Ergodic" indicator because there is no archive at the end of the article. Now I need an include file " WilliamBlau.mqh". Please send me this file (better via profile message).
2. All indicators are in...MQL5\Indicators\Examples\ - these are custom indicators, i.e. those indicators, which code you can modify.
I am trying to build a trading signal generator based on a custom indicator.
The following questions have arisen:
1. I can specify any name in the line after CiCustom, for example mark it as "m_ind;".
2. Is this line correct?
I understand correctly, here I get the value of the indicator itself?
3. I cannot understand how the program gets the indicator value. I.e., if we use MQL4, we should specify the indicator name and the program will find it by name. Then where do I enter its name in the class?
I have created this code) I won't go further, because I need more Expert Advisor on my creation.
In general, everything is correct. Here is just the code:
raises a question. ParamDouble - gets the value of a specified floating-point parameter, which was used in creation of the indicator. Maybe we need to access the value of the indicator buffer:
?
All in all, everything is correct. Except the code:
raises a question. ParamDouble - gets the value of the specified floating-point parameter, used when creating the indicator. Maybe we need to access the indicator buffer value:
?
Looking at the help, it seems to me that " ParamDouble" is needed. We actually need to get the value from the buffer.
I found only "NumBuffers" in the"CiCustom" class
Looking at the help, it seems to me that it needs " ParamDouble". Generally, of course, you need to get the value from the buffer.
Well, I see that everything will work out for you.
is the indicator value requested with this line?
In standard indicators the buffer values are obtained through data access, but there is nothing about data access in the custom indicator.
There are functions in the group of basic and auxiliary classes of technical indicators and timeseries, but how do I attach them? Or it is not the right one?
If I understand correctly
is the indicator value requested with this line?
In standard indicators the buffer values are obtained through data access, but there is nothing about data access in the custom indicator.
There are functions in the group of basic and auxiliary classes of technical indicators and timeseries, but how do I attach them? Or it is not the right one?
1. Yes the parameter value - for example the input parameter on which the indicator will be calculated.
2. Do not confuse - the indicator in which you can change the code is a custom indicator. Even if its name is the same as the indicator that comes in the standard library. An example of a custom indicator - ...MQL5\Indicators\Examples\ and any others where you can change the code. The indicator buffer draws its content (data) on the chart. You simply change data in indicator buffer and it is drawn on the chart. What access are you asking about?
3. I don't get it.
1. Yes parameter value - e.g. input parameter on which the indicator will be calculated.
2. Do not confuse - the indicator in which you can change the code is a custom indicator. Even if its name is the same as the indicator that comes in the standard library. An example of a custom indicator - ...MQL5\Indicators\Examples\ and any others where you can change the code. The indicator buffer draws its content (data) on the chart. You simply change data in indicator buffer and it is drawn on the chart. What access are you asking about?
3. I don't get it.
Here is the input parameter period, which is used to calculate the indicator "q"
To question 2. Now the following code
If I understand correctly, we specify here that we want to receive information about open and close prices, values from indicator buffers?
I understand what you mean with the standard indicators. The data from the buffer is obtained through"Main". For example, it is shown in the code below
To the 3rd question. How to get data from the custom indicator?
For better understanding, briefly what steps must be passed in the process of creating the generator of the trading signal?
Yes.
The standard indicators are clear. The data from the buffer is retrieved via "Main". For example, as in the code below.
Yes. The CiMA class has theMain method
How to get data fromthe custom indicator?
Yes.
Yes. The CiMA class has aMain method
where index is the indicator buffer number.when will metatrader come out on windows phone 8