|
GSupportAndResistance.Paint()
Draws the selected support and resistance lines, as well as pivot points automatically on the chart.
void GSupportAndResistance.Paint( |
Parameter
kind
[in] The data to be drawn. Allowed are SAR_ALL, SAR_SUPPORT, SAR_RESISTANCE or SAR_PIVOT. See ENUM_SUPPORTANDRESISTANCE.
timeFrame
[in] timeframe of the prices to be drawn. -1 draws all active timeframes.
Return value
In case of success, the desired values are automatically drawn on the chart.
Example:
//--- Include Glib classes |
See also
GSupportAndResistance.ClearPaint, GSupportAndResistance.SetFontSize, GSupportAndResistance.SetMarkersLengthRight