It's not possible in simple MQL4 code. It can be done easily on MQL5 but not not MQL4. So, you will have to program the calculation steps yourself to achieve your goal.
Read up on the calculations of the MACD and RSI, and then build an efficient calculation method to apply one to the other.
What you showed was nonsense. MC was a single double value, the RSI second from the last requires a is a ENUM_APPLIED_PRICE. Nonsense.
Either find it in the code base, or create a new indicator using iMACD and iRSIOnArray
Thanks for the reminder of iRSIOnArray. I had forgotten that the function was available on MQL4.

- docs.mql4.com
It's not possible in simple MQL4 code. It can be done easily on MQL5 but not not MQL4. So, you will have to program the calculation steps yourself to achieve your goal.
Read up on the calculations of the MACD and RSI, and then build an efficient calculation method to apply one to the other.
Thanks for that
What you showed was nonsense. MC was a single double value, the RSI second from the last requires a is a ENUM_APPLIED_PRICE. Nonsense.
Either find it in the code base, or create a new indicator using iMACD and iRSIOnArray
Hey, I mentioned that was what I was able to dig up
I will try using the suggested info
Thanks anyway

- 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 developers
I have a problem which have tried to search the forum on but can't seem to find the solution
I'm trying to combine RSI and MACD, where by RSI " Apply to " will be based on previous indicator data
have tried some few things
any help or suggestion will be much appreciated