double RSI = iRSI(NULL,NULL,14,PRICE_CLOSE,0);
Second argument is the period, and int. NULL is not either.- What function is that code located in?
- Check your return codes (OrderSend and OrderSelect)
Check your return codes
and find out why.
What are Function return values ? How do I use them ? - MQL4 forum and Common Errors in MQL4 Programs and How to Avoid Them - MQL4 Articles
hey WHRoeder.
Thanks for answer!!
I changed
double RSI = iRSI(Symbol(),15,14,PRICE_CLOSE,0)
but no work.
:((((((
KeepMarcos:
Screenshot?
hey WHRoeder.
Thanks for answer!!
I changed
but no work.
:((((((

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
Already many thanks for your help!
I'm going through a hard time finding the error.
the "if" is working properly, but sometimes it does not respect the order.
What erro?
first order, the RSI is above the 70 line, is incorrect!
the second and third order the RSI is below the 25 line. is correct!!!!
Very very thanks!!!!