Forum

Delete text from chart

Good Evening! I recently postet the following question: https://www.mql5.com/en/forum/21665 As outlined in the post, I managed to get rid of the arrow objects as well as the green dotted order volume lines. However, I still struggle to get rid of the text added to the arrow/line at the left hand

Is a line break / new line / return able in OBJ_LABEL?

Hi, is it possible to add a new line, line break etc. into the text of a OBJ_LABEL ? I cannot find anything within the documentation and adding a "\n" shows no effect? Moreover, is it possible to use tab-space "\t" in an OBJ_LABEL? Best

MetaEditor: Possible to change the formatting style scheme of the Styler?

Hi! as my title says, I would like to know whether it is possible to change the default code formatting scheme of the MetaEditor Styler? Cheers

Problem in Strategy Tester Chart (Properties) ?

Hello, the following Code simply opens a sell order: #include <trade/trade.mqh> CTrade m_trade; // The Trade Class Object MqlTick last_tick; // Get bid and ask price for current tick bool trade = true ; int OnInit () { return (

Help on simple CCanvas example

Hello! mql5 is still a bit of a mystery to me. After using CChart successfully, I am currently trying to draw onto the Chart using the CCanvas class. However, whatever I do, nothing appears on the Chart in the Back Tester. I put the Code into all relevant On...() functions but regardless where I put

Chart Properties only in OnTick() function?

Hi! I use the following code to Change, for instance, the background Color of the Chart via mql5 Code: ChartSetInteger(0,CHART_COLOR_BACKGROUND,clrAqua); However, this only takes effect, when it is put in the void OnTick() function . If I put this Code into the OnStart() or OnInit() function the

Put Image on Chart

Hi Folks, I am stuck adding a .bmp Image into the Chart. The Code below creates the objects which I can see in the graph but the Image itself is not loaded. Any ideas