Indicators: AR extrapolation of price - page 2

 

Hi! Thank you for this indicator!

I would like to use the algorithm in my vb.net program, but I cannot get it work. Probably the problem is due to the fact that in mql5 (and 4) the series are indexed in 'reverse' mode. Simply reversing the ym array doesn't work nor work similar 'manipulations'. An helping hint would be highly appreciated. Thanks!

N

 
As an help to who could be interested, I found out that changing the type of the variables  i, k, kh, ki in the Burg sub from integer to double solved the issue with the code conversion (probably only some of the i, k, kh or ki need to be set as double, but didn't check this yet). The reason for doing that I leave here as an exercise. :)
 
I'm still stuck - attempting to get it working o 4. Any luck guys? 
 
David Russell:
I'm still stuck - attempting to get it working o 4. Any luck guys? 
That is MT5 code
 

Hello


Awesome work and indicator!!!!


I tried to use this indicator on MT4 copying the code but the line is ploted really far from the current price. :( Could u share it in MT4?


MAny thanks