Forum

Push Notifications failed on MT5

Hello, When I try to send notification from desktop MT5 to android mobile MT5, I get the following error: "2020.04.27 16:45:56.411 Notifications send request failed (TLS - handshake validation failed)" The platforms I have: Linux Desktop MT5-FXOpen build 2361 (8 March 2020) Mobile MT5 build 2371 (6

ERRORS result 0 and "cannot load expert [532]" on MT5 Tester

Dear developers, I get two errors on the following scenarios during test of cci_ma_ea_corrected.mq5 (attached) : Platform: PC: OS Windows 8.1 MT5: MT 5.0 Build 1966 1)Using Local agents: During the test the results are zeros and the journal has text(detailed extract is attached): EO 0

ChartWindowFind() returns -1 for indicator in mql5

Hi Guys, I tried to migrate code from mql4 to mql5 using info in https://www.mql5.com/en/articles/81. I replaced "int WindowFind(string name)" with "int WindowFindMQL4(string name)" . int WindowFindMQL4( string name) { int window=- 1 ; if (( ENUM_PROGRAM_TYPE ) MQLInfoInteger (

I get error in code for Alert

Hi Guys, I try to create Alert when Bid price cross the trend line . First I would like to position the trend line and then get only one time alert after cross: 1) When the price cross from above to below; 2) When the price cross from below to above; But I get error message /warning/ during

Error: I get EMPTY_VALUE from indicator. How to fix it

Hi Guys, When I try to create Bar indicator based on other indicator I can not get the value for the first not completed Bar. I have got EMPTY_VALUE. In order to skip that I decided to use the value of the first completed bar of the based indicator (limit+1) and to use it as Bar[0] in my indicator

Not correct rounds the floating point value to the given precision

Hi guys, I have this code in my indicator and I would like to get rounds the floating point values to the six digits for example -0.000092 as it is the value of the MACD indicator. The issue is that I get -0.0001. Could you help me how to fix this ? double mMACD,mMACDSignal; mMACD= iCustom ( NULL

I have to re-run the indicator at start up

Hi Guys, when I stopped my MT4 application and lunched it on the next day it downloaded all history data till the moment. I noticed that my indicator showed only one value /in red ellipse /, so i had to re-run it in order to re-calculate all received history data. What have to be changed in the code

Help to get lower price

Hi Guys, I want to get the lower bar price value for the period from any time the function is called to the previous 3 /for example/ higher TF bars. What I have missed in the code? This function is in cycle, and gets the lowerTF bar number in iValue. Appreciated. Thank you in advance. double

Mt4 platform is "Not Responding"

Hi Guys, Mt4 platform is "Not Responding" when I try to use forex custom indicator for GOLD on M5 time frame. In the indicator I have other indicators for higher timeframe. This is the first indicator that I try to attach to the chart. The platform is freeze out and after the restart I have to

MTF MACD do not refresh automatically

Hi Guys, I have faced with an issue - MTF MACD indicator (for H1 period) on M5 period chart do not refresh its values automatically when new bar has closed. It draw different values for every lower TF bar. The value of the high level bar has to be one and the same for all lower TF bars and has to be