Page 46 of 47

Re: Metatrader 5 Versions of indicators

Posted: Sun Jun 23, 2024 12:06 am
by DaffyTaffy
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.

Re: Metatrader 5 Versions of indicators

Posted: Sun Jun 23, 2024 4:48 pm
by siphoMaseti
JohnnyRy wrote: Sat Dec 30, 2023 2:45 am zz-nrp-aa-indicator_v6 stalled in my continued testing. Fixed in version 7, attached.

zz-nrp-aa-indicator_v7.ex5
Dear @johnnyRy and @mrtools ,i firstly want to say i have seen the work that had been put in the coding and its amazing and i appreciate what you guys do here for the people and i also came across this indicator and i love alot but i wanted to ask if its possible to make the box or circled box to appear first with a notification before the arrow ,please have a look at the image attached ,if its possible to make the box appear before the arrow with a notification ?

Re: Metatrader 5 Versions of indicators

Posted: Mon Jun 24, 2024 1:45 am
by mrtools
DaffyTaffy wrote: Sun Jun 23, 2024 12:06 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.
Found this mt5 version, think it is basically similar.

Re: Metatrader 5 Versions of indicators

Posted: Tue Jun 25, 2024 5:31 am
by DaffyTaffy
mrtools wrote: Mon Jun 24, 2024 1:45 am Found this mt5 version, think it is basically similar.
Thank you so much Mr. Tools!! It's pretty similar; only thing missing is the arrows and the average period to filter by RSI MA cross. I should be able to do that. Will share here once I get that done.

Re: Metatrader 5 Versions of indicators

Posted: Tue Jan 07, 2025 12:33 am
by DaffyTaffy
Happy new Year everyone. Here's a small conversion from me. Bid Ratio indicator for mt5

Re: Metatrader 5 Versions of indicators

Posted: Fri Jan 10, 2025 11:53 pm
by Cagliostro
@MrTools @Kvak

Dears, do you have by chance an MT5 version of the Super trend (histo)?
I saw there is a new format version but I need the MTF, MA and SD/ATR calculations of the MT4 version.

Cheers,
+C+

Re: Metatrader 5 Versions of indicators

Posted: Sun Jan 19, 2025 2:49 am
by DaffyTaffy
DaffyTaffy wrote:

Thank you so much Mr. Tools!! It's pretty similar; only thing missing is the arrows and the average period to filter by RSI MA cross. I should be able to do that. Will share here once I get that done.
Hi all. I trust everyone's enjoying their weekend. I'm a man of my word. @Mr.Tools I finally got around converting that RSI indicator to mt5

Re: Metatrader 5 Versions of indicators

Posted: Sun Jan 19, 2025 2:59 am
by DaffyTaffy
Cagliostro wrote: Fri Jan 10, 2025 11:53 pm @MrTools @Kvak

Dears, do you have by chance an MT5 version of the Super trend (histo)?
I saw there is a new format version but I need the MTF, MA and SD/ATR calculations of the MT4 version.

Cheers,
+C+
This was the closest mt5 version I could find. https://www.mql5.com/en/market/product/ ... escription

Re: Metatrader 5 Versions of indicators

Posted: Sun Jan 19, 2025 8:59 am
by Cagliostro
DaffyTaffy wrote: Sun Jan 19, 2025 2:59 am This was the closest mt5 version I could find. https://www.mql5.com/en/market/product/ ... escription
Thanks you, unfortunately the MTF functionality is essential. I will see if have time to code one from scratch.

Re: Metatrader 5 Versions of indicators

Posted: Sun Jan 19, 2025 9:59 am
by mrtools
Cagliostro wrote: Fri Jan 10, 2025 11:53 pm @MrTools @Kvak

Dears, do you have by chance an MT5 version of the Super trend (histo)?
I saw there is a new format version but I need the MTF, MA and SD/ATR calculations of the MT4 version.

Cheers,
+C+
Sorry don't have the code for that one.