A few things that might help:
Don't declare ObjectCreate as a bool - MQL4 has already defined it as a function returning a bool.
Close is a price, not a time. You'll need to use Time[] instead
if(iRSI5 <= 10) { //Up Arrow; ObjectCreate(0,"Buy Arrow",OBJ_ARROW_BUY,0,Time[0],Low[1]); }
Hope that helps
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'm having trouble getting this to work. I am very new to programming and would love some guidance in terms of understanding the ObjectCreate() function and its requirements in terms of code.
Please don't just link the objectCreate() section of the book ObjectCreate() as I've read through and I'm still having trouble.
Thank you in advance to all here!