Forum

DLL and OnDeinit

Good day! I have a DLL in which the process std::jthread(…..) is called. This function call in OnInit . When calling this function from an MQL program, it is possible to set the execution frequency in seconds. The termination of this function occurs after calling the monitorThread.request_stop()

Strange results of testing

Hello. I have coded EA and when start testing figure out strange things ( may be it strange just for me :) ) but want to understand how it possible. Test in Roboforex : test in ICMarket : Positions was opened and closed +- with the same price and same lot , but Roboforex make 161.62 $ lost and

Can't see lines on chart

Hello. I have to caode indicator with 15 color lines on chart. In attachment screenshot and code. Why I can read data buffers in Data Window and can't see all line on chart? Is there any limitation for draw color lines or I'm coded something wrong. In Data window values for all 15 lines and on chart

Problem with login

From yesterday time to time get problem with open mql5.com . I have get error "http error 403" First think may be something wrong with website, but when ask another guy try to open - he normaly open web. After few houres I also open without problem. Today get the same

Global variables in MT5 and restart Windows

Hello. I figure out MT5 delete all saved globals when Windows restart in time when MT5 work. Is there any way to stop MT5 from deleting global variables at the time of Windows restart? Or better use another way to save important information

Text length in ObjectSetString function for MT5.

Hello. I recoding now some my programs from MT4 to MT5 and figure out some thing: when use function ObjectSetString(0,name,OBJPROP_TOOLTIP,text); I see text length in MT5 shorter than what I'm see in MT4 with the same text in input of function Is there any limitation in MT5

Problem with using bitmap files

Hello. Try to add as resource 2 .bmp files. I have put both in correct directory #resource "\\Images\\Data\\b_close.bmp" #resource "\\Images\\Data\\b_exit.bmp" Compiling generate following error : unsupported image format

Withdraw funds

Hi everyone. Is something change last time with w ithdraw on bank card option? Every time when I w ithdraw money it make as soon as I press button. Today it freez money on my mql5 account without transfer on my banck card. Thanks for help

Too high value

Is it possible to use for calculating or checking value bigger as EMPTY_VALUE ? For example: if (accountNumber==AccountNumber()) Alert ( "Good Account" ); where accountNumber bigger as EMPTY_VALUE

Service Desk

Hello. I have send to Service Desk request 2 weeks ago. What I should do for get any answer? Thanks