Is it possible to adjust price scale when objects that go off the chart window.
ENUM_CHART_PROPERTY_DOUBLE
| ID | Description | Property Type |
|---|---|---|
| Fixed chart maximum | double | |
| Fixed chart minimum | double | |
| Scale in points per bar | double | |
| Chart minimum | double r/o modifier - subwindow number | |
| Chart maximum | double r/o modifier - subwindow number |
ENUM_CHART_PROPERTY_DOUBLE
| ID | Description | Property Type |
|---|---|---|
| Fixed chart maximum | double | |
| Fixed chart minimum | double | |
| Scale in points per bar | double | |
| Chart minimum | double r/o modifier - subwindow number | |
| Chart maximum | double r/o modifier - subwindow number |
YES, thanks.
For some reason I scrolled through the long list of chart properties and thought all these only pertained to scale and not price.
This should do it thanks.
So for example OBJ_TEXT set with coordinates of price/time
Anchor set to ANCHOR_LOWER
My code works as I expect but sometimes OBJ_TEXT goes outside of the chart window. This is because price is either high or low on the chart and objects are anchored as UPPER or LOWER so this makes them off the chart.
I see code for CHART_SCALE but nothing tor PRICE_SCALE that I know of.
Is there such a thing for this ?
Thanks