MQL5 Programming for TradersCreating application programsGraphical objectsStandard deviation channel width
- Object types and features of specifying their coordinates
- Time and price bound objects
- Objects bound to screen coordinates
- Creating objects
- Deleting objects
- Finding objects
- Overview of object property access functions
- Main object properties
- Price and time coordinates
- Anchor window corner and screen coordinates
- Defining anchor point on the object
- Managing the object state
- Priority of objects (Z-Order)
- Object display settings: color, style, and frame
- Font settings
- Rotating text at an arbitrary angle
- Determining object width and height
- Visibility of objects in the context of timeframes
- Assigning a character code to a label
- Ray properties for objects with straight lines
- Managing object pressed state
- Adjusting images in bitmap objects
- Cropping (outputting part) of an image
- Input field properties: alignment and read-only
- Standard deviation channel width
- Setting levels in level objects
- Additional properties of Gann, Fibonacci, and Elliot objects
- Chart object
- Moving objects
- Getting time or price at the specified line points
Standard deviation channel width
The standard deviation channel OBJ_STDDEVCHANNEL has a special property that defines the channel width as a multiplier for the standard (root mean square) deviation. The property is called OBJPROP_DEVIATION and can take positive real values (double). By default, it equals 1.0.
We have already seen an example of its use in the ObjectRays.mq5 script in the section on Ray properties for objects with straight lines.