Adds another trade button to the chart.
[in] The text that should be on the button.
[in] The mode by which the risk is to be calculated. Percent or a fixed value of the money. See also GTradeRisks
[in] Risk in percent if RiskMode = RISK_PERCENT.
[in] Risk in money if RiskMode = RISK_FIXED.
[in] Automatically sets a TakeProfit to the desired CRV value.
[in] The background color of the button.
[in] The font color of the button.
[in] The font size of the button.
Further calls of this function generate further buttons. As long as you have space in the vertical of your chart you can place unlimited buttons with different values.
//--- Include the Glib classes