Please don't post randomly in any section. Your question is not related to the section you posted.
MT4/mql4 has it's own section on the forum.
I have moved your topic to the correct section, please don't create another topic.
What you seek is not a "function". It is a whole MQL program. You have to program an EA (Expert Advisor) to use the RSI or CCI indicator values, according to your inputs and carry out trading operations.
You will have to learn MQL programming by studying examples in the CodeBase or in the Articles while referencing the documentation — MQL4 Reference.
You should also consider moving to MetaTrader 5 instead, as MetaTrader 4 is no longer being actively developed for several years
- Free trading apps
- Over 8,000 signals for copying
- Economic news for exploring financial markets
You agree to website policy and terms of use
Hello to all,
I am a beginner in mql4 programming.
I would like to know if there is a function in the mql4 language that will allow us to control the rsi or cci indicator.
is to say for example :
if the line of the rsi exceeds the level -80 from the bottom to the top make a buy
if the rsi line exceeds the level 80 from the top to the bottom make a sell.
I have searched the site but I can't find anything even with the CCI indicator.
Is there anyone who could help me please?
Thank you for your help...