Problem with Panel (convert indicator to EA)

 

Hi every body 

I'm try to convert the PositionSizeCalculator indicator in a EA.

I did this and works fine.

The problem happen when I change the time frame more the 2 ou 3 times.

 

Please, someone can help me? 

 
Vitor Hervatin:

Hi every body 

I'm try to convert the PositionSizeCalculator indicator in a EA.

I did this and works fine.

The problem happen when I change the time frame more the 2 ou 3 times.


Maybe somebody will be able to help you if you actually tell us what your problem is.
 
Keith Watford:
Maybe somebody will be able to help you if you actually tell us what your problem is.

 

Please, look the pictures.

When I put the EA, show like NORMAL.jpg ... after change the timeframe, ERROR.JPG.

And after this, the chart close

Files:
Normal.JPG  113 kb
Error.JPG  110 kb
Reason: