protected override void OnBarUpdate()
{
if (CurrentBar < 1) { return; }
double number = (Open[0] - Close[1]);
double number1 = Math.Round(number, 4);
{
if (ToTime(Time[0]) == ToTime(07,30,00))
this.DrawText("tag", false, number1.ToString(), 0, Open[0]-number1, 0, Color.White, new Font("Arial", 10), StringAlignment.Center, Color.Aquamarine, Color.LightGray, 0);
Why the DrawText only draw in the latest day and not from previous day as my code is suppose to say draw the (Open[0] - Close[1]) every time at 7:30:00? Can anybody please help? Thanks.
Comment