double high2DaysAgo = PriorDayOHLC().PriorHigh[2];
double low2DaysAgo = PriorDayOHLC().PriorLow[2];
// Draw a horizontal line for the high of 2DaysAgo
Draw.HorizontalLine(this, "high2DaysAgo", high2DaysAgo, Brushes.Red);
// Text box positioning (adjust as needed)
int xPosition17 = 5; // Adjust X-axis offset
int yPosition17= (int)high2DaysAgo- 0; // Adjust Y-axis offset relative to line
// Text box content
string labelText17 = "2 Days Ago's High Liqudity"; // Replace with your desired label
// Draw the text box
Draw.Text(this, "TextOverlay17", labelText17, xPosition17, yPosition17, Brushes.White);
// Draw a horizontal line for the low of 2DaysAgo
Draw.HorizontalLine(this, "low2DaysAgo", low2DaysAgo, Brushes.Green);
// Text box positioning (adjust as needed)
int xPosition18 = 5; // Adjust X-axis offset
int yPosition18= (int)low2DaysAgo- 0; // Adjust Y-axis offset relative to line
// Text box content
string labelText18 = "2 Days Ago's Low Liqudity"; // Replace with your desired label
// Draw the text box
Draw.Text(this, "TextOverlay18", labelText18, xPosition18, yPosition18, Brushes.White);

Comment