I have made me an indicator plotting important numbers directly in the chart. All calculations and Draw.TextFixed is working OK untill now.
But when I want to have the Draw.TextFixed only after 9:30 EST I can not make it working and it is still plotting before that time. I have
if (ToTime(Time[0]) >= 093000 && ToTime(Time[0]) < 161500)
{
string str8 = string.Empty;
str8+="O: " + priceratio;
Draw.TextFixed(this,"str8",str8, TextPosition.TopLeft,Brushes.Black, new SimpleFont ("Arial",12), Brushes.White,Brushes.White,100);}
What am I doing wrong or what should I add with time condition please?
Thank you!
Tony
Comment