I am writing a simple indicator displaying 2 stochastic curves on the same window, using the standard functions of MT4. It works fine. When I add a 5th curve which give the result of a simple calculation (in the style of tenkan used by ichimoku ) but purely calculations - no std function MT4. When I apply this indicator on a live window, everything works fine, but when the following bars are coming, the 5th curve is not drawn anymore ! When I try to get the values of the points of the curve (with iCustom() ), I get the <EMPTY> value (it's logic). I have added a refreshrates() at the end of the indicator without success.
When I was using C language earlyer, it happens sometimes that a function present an erratic behavior when some *.h file was not referenced.
Is there here a particular *.h file to add to the code, or some specific library ?
Thanks for your help.