Help converting MQL4 Indicator

 

Hi,


I found an interesting indicator I would like to use in MQL5.


Tried to convert it myself and get no errors when compiling, but unfortunately nothing is shown on screen when attaching the indicator.

Maybe someone can point me into the right direction.

Thank you in advance.


Best Regards


Sebastian


Edit: Attachement removed.

 

Tinkered a bit more, seems values are 0 when they should not be:


2019.08.19 09:47:10.129 2019.01.01 00:00:00   0.0

2019.08.19 09:47:10.129 2019.01.01 00:00:00   0.0

2019.08.19 09:47:10.129 2019.01.01 00:00:00   1

2019.08.19 09:47:10.129 2019.01.01 00:00:00   0.0

2019.08.19 09:47:10.129 2019.01.01 00:00:00   array out of range in 'synVol.mq5' (283,17)


MQL4 version:

2019.08.19 09:51:00.097 Synergy_Pro_Volatility USDJPY,Daily: 2045

2019.08.19 09:51:00.097 Synergy_Pro_Volatility USDJPY,Daily: 0.1076

2019.08.19 09:51:00.097 Synergy_Pro_Volatility USDJPY,Daily: 0.313

2019.08.19 09:51:00.097 Synergy_Pro_Volatility USDJPY,Daily: 0.2982



Edit: Attachement removed.
 
it is a hacked file, i doubt you will get anybody to help you, as posting such files on mql5 site is a breach of your user agreement and is grounds for blocking you and anybody who helps you with that file.
 
Oh my bad, wondered why the code was so obfuscated. Thanks for letting me know.
Reason: