scuxia:
string symbol, // symbol
int timeframe, // timeframe
double step, // step
double maximum, // maximum value
int shift // shift
The documentation for iSAR() mistake. iSAR() returns double.
As docs said: https://docs.mql4.com/indicators/isar
int iSAR(string symbol, // symbol
int timeframe, // timeframe
double step, // step
double maximum, // maximum value
int shift // shift
);
that return a int value,but i need a double value like below.
how to use iSAR() to get a double Value.like this.
thank you.
Question about mql4/MT4 have to be posted on mql4.com forum. This forum is about MT5/mql5.
iSAR is used to define the indicator handle, and as such it must be an integer value !!!
You can then create the indicator buffer, which will actually be a double value !!!
This is how it works in MQL5. I don't know how it works with MQL4, but I think the idea is the same...
scuxia:
string symbol, // symbol
int timeframe, // timeframe
double step, // step
double maximum, // maximum value
int shift // shift
In MQL4 the iSAR() function returns value of double type. The documentation will be fixed.
As docs said: https://docs.mql4.com/indicators/isar
int iSAR(string symbol, // symbol
int timeframe, // timeframe
double step, // step
double maximum, // maximum value
int shift // shift
);
that return a int value,but i need a double value like below.
Automated-Trading:
In MQL4 the iSAR() function returns value of double type. The documentation will be fixed.
Thanks!
In MQL4 the iSAR() function returns value of double type. The documentation will be fixed.
![MQL5 - Language of trade strategies built-in the MetaTrader 5 client terminal](https://c.mql5.com/i/registerlandings/logo-2.png)
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
As docs said: https://docs.mql4.com/indicators/isar
int iSAR(string symbol, // symbol
int timeframe, // timeframe
double step, // step
double maximum, // maximum value
int shift // shift
);
that return a int value,but i need a double value like below.
how to use iSAR() to get a double Value.like this.
thank you.