Bingo!
AlexSTAL:
Bingo!
Bingo!
The answer is really quick, but it's a no-brainer, so what exactly do you need to do to get the data from there?
m100:
The answer is really quick, but it's a no-brainer, so what exactly do you need to do to get the data from there?
The answer is really quick, but it's a no-brainer, so what exactly do you need to do to get the data from there?
Thank you! Did you think you were asking the dumbest question? No?
Where do you want the data? Into Word? Into the head? Into the EA?
Please expand the question.
Yes, it's really not a pretend question. How are you going to get it out? You could use iCustom(), for example.
AlexSTAL:
Thank you! Did you think you asked the dumbest question? No?
Where do you want the data? Into Word? In your head? In your advisor?
Expand the question.
Suppose the data from this table is needed in the EA, of course for the last bar.
m100:
Suppose the data from this table is needed in the EA, of course for the last bar.
iCustom()
Suppose the data from this table is needed in the EA, of course for the last bar.
m100:
Suppose we need data from this table in our Expert Advisor, of course for the last bar.
Suppose we need data from this table in our Expert Advisor, of course for the last bar.
Why the last bar of course? It is not so obvious for us.
Have you tried reading the meta-editor's help?
MQL4 Reference - Technical Indicators - iCustom
double iCustom( | string symbol, int timeframe, string name, ..., int mode, int shift) |
Parameters:
symbol | - | Symbol name of the symbol, on data of which the indicator will be calculated. NULL means current symbol. |
timeframe | - | Period. Can be one of the periods of the chart. 0 means the period of the current chart. |
name | - | Name of custom indicator. |
... | - | List of parameters (if necessary). Transmitted parameters should correspond to the order of declaration and type of external (extern) variables of the custom indicator. |
mode | - | Index of the indicator line. Can be from 0 to 7 and should correspond to the index, used by one of the SetIndexBuffer functions. |
shift | - | Index of the value obtained from the indicator buffer (shift relative to the current bar by the specified number of periods back). |
Example:
double val=iCustom(NULL, 0, "SampleInd",13,1,0);

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
Good evening gentlemen, I want to say at once, I am new to mql4.
Metatrader 4 has "Data window" (<Ctrl>+<D>), could you please tell me if there is a way to get indicator values from there?
I really hope for a quick and comprehensive reply.