MQL4 and MetaTrader 4 - page 680

[Deleted]
Hello, I rewrote a pivot point indicator in OOP. At the time of the removal of the indicator I got error messages, how to avoid them? It seems that if I place the buffers out of the class, I have no more error messages. I wish I linked buffers and class without error messages, a solution? If
Hi,   Could I change color of a customer indicator without use extra buffer? And how? I mean one indicator 4 colors.
I need to load values of previous bars of several symbols and timeframes. So I load the quotes and wait some time after the request. My question is simply: is it enough to request just time and open like (simplified code): int earliestBar = 500;string sym[10] = {"EURUSD",...};int tf[9] = {1,5,..}for...
MT4 is showing some crazy numbers in the JPY pairs on micro lots. Anyone have an answer as to why?
[Deleted]
hello, big problems, Can anyone tell me where is the trouble with my code, since yesterday my plateforme going down. thanks ;) (ps : I tried to put code between code tags but It's not work, i tried to add a files too but I can see them ???? sorry)   #property indicator_chart_window #property...
Hi,   Does anyone know when in 2014 that Metaquotes added the spread selector box? What was the first MT4 build that included the spread selector box? This is an awesome feature!!!    
[Deleted]
Yesterday morning, I was working on a EA, when all of a sudden, the trade that was opened, had a TP, when one wasn't entered.  I thought that maybe I had accidently entered one when I was working on the EA.  So I deleted it.  Later, in the afternoon,  I was working on a modified version of the EA...
Hi All MQL experts, I have been trying to code an Martingale EA based on past history P&L, however, my programming skills is just not up to mark, I am lacking an auto computation algorithm for the past few days, on a daily basis. It's difficult to segregate/differentiate orders and then calculate
I use my EA for 3 different accounts on same system? from my laptop i installed mt4 for 3 different folders and run same EA i applied on all mt4 accounts. problom is EA doesn't place orders for all accounts. which places order in one account only? other accounts no trade? what could be the issue?...
I was checking to see if there is a mql4 function that can be used to rescan servers and/or login to a trading account?   I want to be able to automate this process of being able to a) rescan/ping broker server at certain interval. b) switch an account with the same or possibly different broker...
[Deleted]
Hello, i want to predict/backtest Patterns. The Pattern are the last 1-5 Candles in the Chart. I want to have this price data in my backtest, but i dont get these data with iBarShift(date), because i just can get the data of the past in the backtest which have been tested. How i can get them...
Hi, is that possible and how can it be done, that an EA checks 1) the latency to an server check the latency of its actual server mybe just by beg = GetTickCount (); ord = OrdersTotal (); latency = GetTickCount () - beg; decides: this os ok - do nothing decides: too big check for a better one //
As you can see in the file it says that consecutive wins are 21, while they are obviously 18 (on screen). Also the consecutive losses number is different, and from that, all the other streak statistics are different. Why does that happen ?
Hi, I have a question : How can I calculate the value of a pip on a given fx pair, at a given date ?
[Deleted]
Dear help desk, I created a new account with a broker but I can't access it using meta 4. Is this a problem with meta 4 or the broker? I also prefer to use the previous version of meta 4 which I installed last year in October which the layout as per photo attached. Please send me the download link.....
Hello guys. I recently seen that the simple EA i've done to open trades when a custom indicator plots an arrow has been missing some trades. I've configured the indicator to give a lot of alerts, exactly for testing the functioning of the EA , and from like 10 signals the indicator gave, the EA...
[Deleted]
Hi. I think your update is worst than old version. Actually really very bad. I want to write some matters about new version for phones (android - my phone is Note 3 ) 1 - When I want to close my position, I can't see my loss or profit in realtime at this screen.You changed this menu and add a...
[Deleted]
Hi I'm learn programming I write a program but it have problem. it can not close all open positions at a point Please see Please solve my problem  thanks
[Deleted]
http://www.maximintegrated.com/en/design/tools/calculators/general-engineering/ltpd.cfm
[Deleted]
Hi all, I'm trying to calculate how much I would lose in my deposit currency (GBP) if my stop gets hit. MT4 (using FXCM) does this automatically when you drag a stoploss, I want to replicate this in code. I try to use MarketInfo(Symbol(),MODE_TICKVALUE) , which is the ' Tick value in the deposit
Hi,    Thanks guys! Maybe my post has passed several days, so that no edit/delete option.    What if I discovered something is not proper and it has passed several days? Could I have an option to delete it or edit it?    Cheers
Hello I want hidden some parameters in my EA , please help . What should I add code ? Thanks
[Deleted]
  HELP PLEASE?  (1)
[Deleted]
Does anyone know where I can find a Linear Weighted Moving Average? Thanks
[Deleted]
Hi, this is a heiken ashi alert indicator, which alerts after the candle has changed color, can anyone please make it to alert on current bar when color changes. Thanks in advance.
Good afternoon, I am trying to read from the broker the commission per lot using MarketInfo(), but I simply don't find the way :-( Kindly note I don't want to read the commission for a trade, once taken, I want to know the commission per lot inside the Ea, before trading. Thanks in advance! - A
Hello, I want to create own GUI panel (with butttons etc.) for my indicator. There is an example in MT4 called SimplePanel/SimpleDialog.mqh which has the method "CreateEdit": bool CPanelDialog::CreateEdit(void){ //--- coordinates   int x1=INDENT_LEFT;   int y1=INDENT_TOP;   int...
[Deleted]
For new version build 777, if a ex4 name is not english letters ( or the MT4 directory has another Unicode ), the ex4 can't be Attach to a chart!! For example:   If we rename ATR.ex4 to ATR - 副本.ex4   or   ATR - αβγ.ex4, it  can't  be Attach to a chart!!
[Deleted]
Hi,   I am looking for a MQL4 pivot points indicator. Preferably with source code.   Thanks, 
I have a little code snippet that determines two prices at different times and then I want to calculate the difference between the prices. Why do I get a result of "0.0" when there should be a definite result with some real figures as can be seen from the two different prices? (All the variables are