This is exactly what I was looking for. I was trying to add the alert and crossover detection within the code for the RSI. Now here is another question for you. I was thinking if I had the base start I could add the other part in of what I want since it is just another alert upon crossing but it is also dependent on the RSI. So this is what I added to MAIN. I keep getting errors naturally. So what is going on here I apologize for my inexperience. My programming experience dealt with microprocessors and low level languages. I obviously am having a difficult time with Object oriented languages, this on in particular.
The idea here is the have the arrow and/or the alert when both the RSI and CCI cross a certain range at a certain time.
for starters, check your "if" statements. All the conditions must be in one set of brackets, like
So I think I got it now where it is not missing any crossings. What I would like to do next is make it to where it alerts depending on a range. So the rsi range would be 45-55 and the cci range would be -5 to 5. I have an idea how to do it. Create a variable for both the RSI and CCI and then have the alert use that. Would that be correct?
for starters, check your "if" statements. All the conditions must be in one set of brackets, like
if (................ ) then ............
Thanks David I discovered that after starting at it for 15 minutes....lol. I figure the best way to learn this stuff is just to do it. So I am trying to do simple things at first and work my way up to more challenging algorithms. I do use Microsoft visio to help with program flow. I have been using that since I was taking classes in embedded programming.
Allow the use of cookies to log in to the MQL5.com website.
Please enable the necessary setting in your browser, otherwise you will not be able to log in.
You are signed in. Two-factor authentication has been disabled. Set it up again and scan a new QR code, or continue with two-factor authentication disabled.
This is exactly what I was looking for. I was trying to add the alert and crossover detection within the code for the RSI. Now here is another question for you. I was thinking if I had the base start I could add the other part in of what I want since it is just another alert upon crossing but it is also dependent on the RSI. So this is what I added to MAIN. I keep getting errors naturally. So what is going on here I apologize for my inexperience. My programming experience dealt with microprocessors and low level languages. I obviously am having a difficult time with Object oriented languages, this on in particular.
The idea here is the have the arrow and/or the alert when both the RSI and CCI cross a certain range at a certain time.
for starters, check your "if" statements. All the conditions must be in one set of brackets, like
if (................ ) then ............
for starters, check your "if" statements. All the conditions must be in one set of brackets, like
if (................ ) then ............