Someone could help me?
My automated strategy sends a screenshot to my email each time makes an operation.
and that's what i want. but ...
the problem is that takes the screenshot too early, so, in the image, does not appear the operation itself, ( its important because i can't see things like the spreads for example)
My questions is, what could I change to make it works. My strategy run like this:
CalculateOnBarClose = true; // Can't Change!
protected override void OnBarUpdate()
{
... if ( bla ) EnterLong(..)
}
protected override void OnExecution(IExecution execution)
{
if (execution.Order.OrderState == OrderState.Filled) Send_Message();
}
void Send_Message()
{
... bla ... // make the printscreen and then send the email...
}
Important: I cant wait until the next candle. because some of the candle's durations could be more than 4 hours.. Thanks!
Comment