My Indicator Only works on history but not on live data

 

Hi,

I created a realtive complex indicator.

It is drawn in the graph, but when a candle is added, it is not calculated.

I used to create indicators that were slower but they were calculated on a next candle.

 

Maybe there is some kind of error, but no one knows it. Because nobody has seen your program.

If you can't publish the program, then debug it yourself and find out why.

 
When I draw trendlines on smart phone, they disappear on vix75, vix25, vix50, vix100 when I get out of the market. What could be the course? 
 
Thanks for your comments. I found dimension error hidden in debug mode now. MT5 is OK (this time :-)).