Different value between indicator window and printed value in tester jornal

 

Hello, I'm new in working with mql. I got some spezial indicator's for trading. The indicator programming is not visible but I know how to use.

Now I want to program a EA arround, but if I use the indicator, I get for 2 lines of the total 5 different values as in the chart window shown. The differnce is not so big but different and generet different signals ! The only right value, I get in the first test bar.

Does anybody know what the problem could be or how to solve that? Thanks in advance.

 

show your code

 
qjol:

show your code


int start()
{
Print ("IV1: ", iCustom( NULL, 0, "Dynamic Indicator",0, 1, 1)," IV2: ",iCustom( NULL, 0, "Dynamic Indicator",0, 2, 1)," IV3: ",iCustom( NULL, 0, "Dynamic Indicator",0, 3, 1));
return(0);
}

Does that help to understand my problem?