Thanks ozgur,

the LOOPBACK I think is not the problema because the data loopback is until the epecified date. Looking the results the loopback ends at same hour and date.

With Fill=0 the results are more similar but I think the problem is with the prices and bars in barPeiod.



Thanks for you helping If I find the solution I Will share it and I wait jcl tell us a bit …...……. :-)