Thanks all for the input.
Still did not manage to get it to work?
This is what I ended up with...
CheckIndicatorValues()
..............
..............
if(Time[0] != mLastBar)
{
while(Volume[0] < 1)
Sleep(1000);
}
if(Indicator 1 && Indicator2 && mAlert)
{
...............
................
mFile = ...............
{
WindowRedraw();
WindowScreenShot(mFile, 1280, 1024);
}
...........
...........
}
mLastBar = Time[0];
___________________________________
Is there something glaringly stupid that I have done??
(I seem to have thrown everything at it and it still does not work 100% of the time)
Still did not manage to get it to work?
This is what I ended up with...
CheckIndicatorValues()
..............
..............
if(Time[0] != mLastBar)
{
while(Volume[0] < 1)
Sleep(1000);
}
if(Indicator 1 && Indicator2 && mAlert)
{
...............
................
mFile = ...............
{
WindowRedraw();
WindowScreenShot(mFile, 1280, 1024);
}
...........
...........
}
mLastBar = Time[0];
___________________________________
Is there something glaringly stupid that I have done??
(I seem to have thrown everything at it and it still does not work 100% of the time)
If you think I'm mad, I must be mad