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
Hi guys, Im new to MQL5 and learning as much as I can.
I wanted to ask if someone could write out the code for a very, very basic expert advisor robot. All I want it to do is when the RSI hits a certain number, I want to open a trade in the opposite direction with a take profit level and a stop level. Thats it.
The main issue I have learning MQL5 at the moment is the syntax. For example, this bit of code: ' Inp_Signal_MA_Period ' << How do I know all of the different types that can be used with #include <Expert\Signal\SignalMA.mqh> ??? Where do i get this information? I have been searching this site but couldn't find the answers. Just things like this I am not getting at the moment.
If I can see the layout of a basic RSI one (and I have been looking at the examples in MQL5 too) it may help me further understand how the different elements tie together to make a robot.
Thank you to anyone who helps me in advance!