Draw.Text() bug Recurrence steps:
1. use the drawing tools to draw some objects on chart;
2. in your indicator, call Draw.Text() with IsAutoScale=true, and set y value beyond current chart's y-axis range; then call ForceRefresh();
3. open the chart's "Drawing Objects" window, you can see the text object drawn by your indicator, it's IsAutoScale property is checked, that's right. click Cancel to close window.
4. but you can't see the text on chart, unless you click on some other drawing object like you drew in step 1, then the y-axis will auto scale and the the text will be shown.
So the IsAutoScale parameter doesn't work actually.
Draw.Ray() bug Recurrence steps:
1. in your indicator, call Draw.Ray() with IsAutoScale=true, and set y value beyond current chart's y-axis range; then call ForceRefresh();
2. open the chart's "Drawing Objects" window, you can see the line object drawn by your indicator, it's IsAutoScale property is unchecked, that's not right at all! click Cancel to close window.
3. so you can't see the line on chart unless you adjust the y-axis range to include the line y value. it's even useless to click on some other object.
Comment