Files
mql5-skills/skills/mql5/references/docs/34-standardlibrary/2574-standardlibrary-cchart-cchartpointsperbar.md
T
2026-06-23 21:47:51 +08:00

34 lines
612 B
Markdown
Raw Blame History

This file contains invisible Unicode characters
This file contains invisible Unicode characters that are indistinguishable to humans but may be processed differently by a computer. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
# PointsPerBar (Get Method)
Gets the value of "PointsPerBar" property (in points per bar).
```
double  PointsPerBar() const
```
Return Value
Value of "PointsPerBar" property of the chart assigned to the class instance. If there is no chart assigned, it returns [EMPTY_VALUE](/en/docs/constants/namedconstants/otherconstants).
# PointsPerBar (Set Method)
Sets new value for "PointsPerBar" property.
```
bool  PointsPerBar(
   double  ppb      // scale
   )
```
Parameters
ppb
[in]  New scale (in points per bar).
Return Value
true - successful, false - cannot change the scale.