out of buffer 0 or buffer 1 of an indicator.
double iCustom( string symbol, int timeframe, string name, ..., int mode, int shift)
mode | - | Line index. Can be from 0 to 7 and must correspond with the index used by one of SetIndexBuffer functions. |

double iCustom( string symbol, int timeframe, string name, ..., int mode, int shift)
mode | - | Line index. Can be from 0 to 7 and must correspond with the index used by one of SetIndexBuffer functions. |
You're kidding me? it was right in front of my face... oh man sorry for wasting your time. Thank you for your help. I'll look better next time....
double iCustom( string symbol, int timeframe, string name, ..., int mode, int shift)
mode | - | Line index. Can be from 0 to 7 and must correspond with the index used by one of SetIndexBuffer functions. |
Oh wait one more question my master? How do I address/get the value of a previous buffer with iCustom. I tried declaring a variable
of double type that pointed to iCustom but I get an error.
double a = iCustom(NULL, 0, "example",0,0);
string xx1 = DoubleToStr(a[1], Digits);
//this produces an error of unexpected token error unless i remove the [1] but that gives me the current value only.
//i need the previous buffer value.
Oh wait one more question my master? How do I address/get the value of a previous buffer with iCustom. I tried declaring a variable
of double type that pointed to iCustom but I get an error.
double a = iCustom(NULL, 0, "example",0,0);
string xx1 = DoubleToStr(a[1], Digits);
//this produces an error of unexpected token error unless i remove the [1] but that gives me the current value only.
//i need the previous buffer value.
ah i get it i think. .never mind I think i have it figured out.
Oh wait one more question my master? How do I address/get the value of a previous buffer with iCustom. I tried declaring a variable

- Free trading apps
- Over 8,000 signals for copying
- Economic news for exploring financial markets
You agree to website policy and terms of use
I'm sure this has been answered before but I've searched and can not find the answer.
How is a buffer value addressed/accessed through iCustom? say if I want to get information
out of buffer 0 or buffer 1 of an indicator.