Would someone very kindly throw some light on this.
The following puts the text "Opn:" on the screen at the current bar in MT4
But what I need is for the text to be on the 9am Bar every Day.
I can't find what to do in place of CurrentTime to achieve it.
Or perhaps there is a better method.
Thanks in advance for any help.
datetime CurrentTime;
{
ObjectCreate ("AtOpen",OBJ_TEXT,0,0,0);
ObjectMove( "AtOpen", 0, CurrentTime, High[1] );
ObjectSetText ("AtOpen", "Opn:",10,"Calibri",clrWhite);
}
The following puts the text "Opn:" on the screen at the current bar in MT4
But what I need is for the text to be on the 9am Bar every Day.
I can't find what to do in place of CurrentTime to achieve it.
Or perhaps there is a better method.
Thanks in advance for any help.
datetime CurrentTime;
{
ObjectCreate ("AtOpen",OBJ_TEXT,0,0,0);
ObjectMove( "AtOpen", 0, CurrentTime, High[1] );
ObjectSetText ("AtOpen", "Opn:",10,"Calibri",clrWhite);
}