Forum

MT5 updates chart slowly

Hi I use MT5 and I noticed the chart doesn't update on every price change. Sometimes it can take up to 30 seconds, the time varies, sometimes takes a few seconds, and sometimes it updates normally as it should. Have tested it on IC Markets and MetaQuotes, still same result. Both demo accounts

Text not updating when starting metatrader

I use ObjectSetString() to show a text on the chart but it's not being painted. The only time it starts to paint the text is when I switch timeframe (and even then, it takes about 1 second for the timeframe to switch, which never happens otherwise). Instead of painting the text it shows the word

Arrow not drawn

Hi I have an indicator that should draw arrows on the chart at MA-crossover. The code that should do the arrow work is at lines 112-131. Indicator is attached. What should be changed in the code

Update or delete line

Hi I have an indicator that draws a line at candle open of 1h timeframe. Then I switch to 5min timeframe. When 1h candle is closed and price moves, the line that has been drawn previously is not deleted and a new one is drawn (still in 5 min tf). How can I delete it and recreate it? or rather update

Help adjust this indicator

Hello I want to make an indicator based on two SMA, period 5 and 20, that shows an alert when all of these conditions are met: -MA 5 has to cross over MA 20. -Candle has to close AND cross over MA 5. -Both MAs has to point to direction of closed candle (only enough, not straight up or straight down

How to make text bold/thick on label

Hello How can I make the text bolder/thicker on the label? I use this code: string idxLabel= "hello" ; ObjectSetInteger ( 0 ,idxLabel, OBJPROP_COLOR , clrBlack ); ObjectSetString ( 0 ,idxLabel, OBJPROP_TEXT , "Text" ); ObjectSetInteger ( 0 ,idxLabel, OBJPROP_FONTSIZE , 10 ); ObjectSetString ( 0

show nearest news release in MT5 economic calendar

Hi Is it possible to make MT5 mark the nearest news release in the economic calendar ? (by auto-scrolling) And also to show how many minutes left. If not I hope the coders can update it with this feature

A few questions about an indicator

Hello I have three questions about an indicator I hope you can help with. Indicator is attached below. 1. I have add a setting to let the user choose if he wants the indicator to draw arrows or not. I add this line: input bool DrawArrowsON = true; //Draw arrows Then I need to add: if(DrawArrowsOn) {