Forum

MQL5.chats socket read(available) failed message in journal

I get a warning message in the Journal of MT5: MQL5.chats socket read (available) failed message in journal it appears every minute, how do I get rid of it? Thanks for helping

Is it possible to use #property ico in mql4?

Is it possible to use the #property ico in mql4 as an image not only in the Settings

Indicator not saved on clsoing terminal and not automatic loaded

Hello, I build an indicator that works properly. When I shut down MT4, the indicator is not saved. When I restart MT4 I have to load the indicator manual and set all settings again. Any Idea what the problem can be? Thnx for helping. Regards, Eric

What is best code for taking trades only in first 5 seconds of current/new candle

Can anyone tell what is the best coding for taking trades only in the first 5 (or x) seconds of the current/new candle? Any help aprreciated! Thanks

Error reading buffer from iCustom indicator in EA

Hello, I have a struggle to read the buffers from a custom indicator . Stange is that I get it to work in an indicator without problems, but when I try to read the value in the EA I get always an EMPTY_VALUE or 2147483647 Any help appreciated. Thanks

#property strict warning Possible loss of data due to type conversion

The code: int candle_time_left = current_bartime + entry_signal_period_seconds - TimeCurrent(); gives warning with #property strict How should I programm it correct? Any help appreciated