I am noticing that ChartScreenShot() is saving the files as empty (i.e. zero byte files), anyone noticing a similar result ? ChartScreenShot () function returns true btw and I am using the latest build of 1052.
I am using the following code :
The new chart (ChartOpen) has no time to be opened yet. Add a Sleep(10) or something.
Forum on trading, automated trading systems and testing trading strategies
Please use the SRC button when you post code.
dear all, I got the same problem.
With the same function it works well in Script mode and live mode. However in backtest
mode I get all empty files.
have you overcome this problem?
I just include this function on ExpertMACD.mql5 and capture chart for every new completed bar: