Screenshot function problem

 

Hi All


I use the screenshot() function in a number of my indicatos. In one indicator, the screenshot generates with blank contents some of the time! It shows the candle chart but all the indicator windows attached to the chart are blank. It only does it about 50% of the time.

Anyone ever encountered a similar problem?

 

This is not good idea to use WindowScreenShot function from indicator. Such indicator must be last in the indicators' list because not calculated indicators are not plotted. Indicators are calculated one by one, one after another. And such indicator never plotted in the screenshot.

Use experts or scripts for screenshots

Reason: