Forum

Accessing account with investor permissions ( Without using MT4 )

I need to access my account using investor password, connecting directly to my broker's servers via a non- MQL4 programming language ( it will be done externally, Metatrader 4 is not involved ). Is there any kind of documentation on how to connect and read data from my account? Thank you

Accessing different buffers for same custom indicator

I'm working with an external indicator and access to different buffers is needed. For example, a Bollinger-Bands-like indicator has three buffers ( one for the central line, two for the external ones ). How to access those data? It seems it is not possible just using iCustom and CopyBuffer. Thank

Accessing account data from outside

Is there a way to read the account history from outside ( for evample via investor password ) like MyFxBook does

Binary Brokers Accessible from MT4 EAs

I'm looking for a broker which gives easy trading access on EAs ( binary dot com was offering a MQH library to connect on their APIs time ago ). Is still there a binary broker which offers this easy access to trading/account history

update prices for a specific symbol

I have an Expert Advisor which is operating on multiple pairs. The problem is that when i close positions, from time to time i get repeated 136 errors ( off quotes ). I'm getting Bid Ask through MarketInfo; since RefreshRates() is totally uneffective, how to update the prices for a specific symbol

Bad Bars reading

I'm using an Expert Advisor which is attached to a chart. Every new bar it has to real the last 5 bars of ALL timeframes of the same symbol. It comes that sometimes, on the other timeframes, the last bar ( index=1 ) results equal to its preceding bar ( index=2 ), which is a bad reading of chart

Open file outside MT4 while EA Writing on it

Is it possible to have access to a txt file while an EA is writing on it ( for example opening it with Notepad )? Actually i'm using the FILE_WRITE flag in FileOpen function . Tried with "FILE_WHARE_WRITE" but returns 5008 error constantly

Year() returning bad value inside OnInit() - Indicator

Here is the code i'm using int OnInit () { Print ( "init Year: " + Year ()); //--- return ( INIT_SUCCEEDED ); } //+------------------------------------------------------------------+ //| Custom indicator iteration function |

Set focus on OBJ_EDIT element

Is it possible to programmatically give the focus to a OBJ_EDIT element placed on chart? If yes, how to do it? Thanks

OBJ_EDIT always on top?

Is it possible to set OBJ_EDIT graphical component always on top? I'm currently able to show it on top for existing component ( for example it overlays a trendline ) but it doesn't work for new components ( the user is able to draw a new trendline which is drawn over the OBJ_EDIT component ). I'm