myVar=iBands(NULL,0, 20, 2, 0, PRICE_CLOSE, MODE_MAIN, 3);
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
I want to get the result of the iBands() indicator function on the bar which I like, for example the third bar from the recent bars on the chart that my EA is attached.
How can I get that?
How can I accomplish that?
the following: just returns the latest number of the iBands for the latest price on the chart:
double myVar;
myVar=(iBands(NULL,0, 20, 2, 0, PRICE_CLOSE, MODE_MAIN, 0));
someone please help me!
double iBands(
string symbol, // symbol
int timeframe, // timeframe
int period, // averaging period
double deviation, // standard deviations
int bands_shift, // bands shift
int applied_price, // applied price
int mode, // line index
int shift // shift
);