I would appreciate converting the following code to print the high value of prior/current bars at the top right corner of chart, and the lows a the lower right corner of chart next to each other PH: CH: PL: CL:
I am not a programmer, and trying to chnage that code from Draw.text to Draw.Textfixed
would appreciate your help
Draw.Text(this,"ch", true, currentHigh.ToString(), -5, High[0], 25, Brushes.Blue, iTextFont, TextAlignment.Left, Brushes.Transparent, Brushes.Transparent, 0);
Draw.Text(this,"cl", true, currentLow.ToString(), -5, Low[0], -25, Brushes.DarkRed, iTextFont, TextAlignment.Left, Brushes.Transparent, Brushes.Transparent, 0);
Draw.Text(this,"ph", true, previousHigh.ToString(), -5, High[0], 25, Brushes.Blue, iTextFont, TextAlignment.Right, Brushes.Transparent, Brushes.Transparent, 0);
Draw.Text(this,"pl", true, previousLow.ToString(), -5, Low[0], -25, Brushes.DarkRed, iTextFont, TextAlignment.Right, Brushes.Transparent, Brushes.Transparent, 0);

Comment