Attachments forums

List of attachments posted on this forum.


All files on forums: 153316

Re: Metatrader 5 Versions of indicators

DaffyTaffy, Sun Jun 23, 2024 12:04 am

Hi everyone. Apologies if this is the wrong thread to ask.

I am trying to convert the RSI simple + Arrows mq4 indicator to mq5. I'm almost there but I have one pesky error.

Code: Select all

'[' - parameter passed as reference, variable expected	RSI Arrows.mq5	223	81
   double getPrice(int,const double&[],const double&[],const double&[],const double&[],int,int,int)	RSI Arrows.mq5	490	8
If there's already an mt5 version or someone can tell what the problem in my code is, I would greatly appreciate it.
These are links to articles I found helpful for finding the mql4 equivalent of certain functions, predefined variables, etc.

https://www.mql5.com/en/articles/81

https://www.mql5.com/en/docs/migration

I also attached an include file from the article that should go in the mql5 Include folder. I added a few functions since not all are there by default.
All files in topic