A) [Capture buffer into array] yes, but not using anything like what you've coded.
B) You do not understand the iCustom command (the documentation can be difficult to understand).
It just returns one scalar double value, for an indicator (which needs a name not "" - e.g. "MyInd" to call MyInd.ex4), the value for buffer offset 0 to 7(=mode), at a bar shift offset 0 to Bars-1(=shift).
You also need to pass in whatever extern values the indicator expects.
C) I suggest you do some more reading of code before writing it. (Don't take that as an insult; I found that I had to do that too)
Search here for iCustom & you should find some examples of how to use it
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
ma2=iCustom(NULL,0,"",NULL,0,NULL);
double mikearray2[3];
ArrayInitialize(mikearray2,ma2);
double mikearray [3],q,p,r;
q=mikearray[ma2];
p=mikearray[ma2];
r=mikearray[ma2];