Help convert this file
-
Hi guys I was wonder if anyone would be able to conve
-
is this not working?
https://fxdreema.com/converter -
it doesn't work for this indi or maybe I'm that dumb so I don't know how to use it, please help convert this indicator , I would really appreciate it
-
It appears that the function Bars() returns 0. I don't know why, I think it worked before, and it works when it is used in an EA. Very strange.
Here is some indicator on the bottom where Bars() is used, and it looks that it doesn't work as well: https://www.mql5.com/en/docs/basis/function/events Can you confirm?
Otherwise the indicator works when this value is bigger than 0... but why it is 0...
-
@fxDreema Yeah I know it's pretty strange, but don't you have any solution how to convert that for mt5?
-
Well, I now think that this is some newly introduced bug in MQL5. This is the way it should be, but it doesn't work
The indicator needs to know the number of bars in order to make its calculations for all of them, but Bars() returns 0 bars. If you write any positive number it will work... write 100 and you will see the line for 100 candles, but this is not exactly the best way to do this. -
I think it works if you use _rates_total instead of that Bars() function. I'm not 100% that this would be the correct way to make it work, but I think it works
-
@fxDreema Would you mind to do it for me, because I have no experience with MQL coding, I would really appreciate your help, Thanks
-
Convert the file again