setDefaultBarThickness()
setDefaultBarThickness( nValue [, nCount] )
- nValue: An integer value representing thickness of the line in pixels.
- nCount: Optional. If your study returns multiple values, specify the return value here.
This function is only available in preMain(). It is the default bar thickness that will be used for a bar if it is not specified by calling setBarThickness(). If this is not called, the default thickness is 1.
Example:
setDefaultBarThickness( 3 ); //set bar thickness when your study returns only one value
setDefaultBarThickness( 1, 0 ); //set thickness for first returned study value
setDefaultBarThickness( 3, 1 ); //set thickness for second returned study value