Simple MQL question

 

I would like to add on the current chart (above the chart - in the corner) the current Values of the RSI and WPR% indicators. How to add this Values into the chart. I would like to add these values as the new Indicator.


For example:


RSI: 71

WPR%: -36


below is the chart


What is your best suggestion? What code should I write?

 
Simply to create a indicator with the funciton ObjectCreate() and object type OBJ_LABEL, set the label text with function ObjectSetText(). For the value of RSI use iRSI() and WPR% use iWPR().
Reason: