MQL4 and MetaTrader 4 - page 1170

[Deleted]
  stop modify  (1)
My EA send the signal to the live account to modify the stop of order.In the log file, it showed the modification is confirmed. But at the same second the stop-losses already been triggered. I think if stop-losses is executed, the modification of orders should be rejected. Is it a coincidence? If...
Hi all I am a newcomer to MQL although I have been coding for 10+ years. My question might have already been asked and for that I apologize but I can't appear to find it in a search. The problem is as follows: I want upon close of a candle (say 1HR) to enter a pending BUYLIMIT order. However, 50% of...
Hello! SMTP server: smpt.gmail.com SMTP login: myname@gmail.com SMTP password:************ From: myname@gmail.com To: othermail@something.com Gmail and MT4 works on laptop (Win7) but not on other computer (Win XP). Both computer have same internet connection. There is no wireles connection only UTP...
[Deleted]
For some reason I can only get the Strategy testing for a purchased EA to work on only one of 3 computers. Even more puzzling to me is, the one that it works on is the oldest.They are all Windows XP operated. I can trade my live acct. on any of the 3. When I run the Strategy tester on 2 of them I...
I have clicked a 30 pip trailing stop that is actually 3 real pips and it worked but when my trade was 20 real pips in profit I clicked the 130 pips and it never came in even though the trade remained 20 pips or more in profit. If the 30 pips is 3 pips one would assume the 130 pips is 13 real pips...
After copying an ex4 file to the experts folder, is there any way of "refreshing" or similar to get the file to appear under Navigator / Expert Advisors without having to restart the terminal?
  Another new guy  (3)
Hey guys, I'm Rob. You might know me from other sites like Hot Stock Market, Forex Factory, and Informed Trades. I've been lurking here for a little bit and decided to go ahead and introduce myself. I've recently become interested in learning to create my own indicators in MT4. I've been trading for...
Hi guys, I need your coding help. I want to open a hedge by open 4 postions at same time: MagicNumber_1: buy EURUSD and sell USDCHF ß (Hedgepair 1) and at the same time MagicNumber_2: sell EURUSD and buy USDCHF ß (Hedgepair 2) Now I want to close each Hedgepair when the profit of a Hedgepair reaches
Hello! Does anyone have tutorial/settings/properties how to get hMailServer to work with MT4? Is there any other/better solution? I had gawab and it worked great but it not anymore. :( Thanks!
Hello, I want to ask how to initialize global variables after an Order was executed by the System via Stopp Loss like Tester: stop loss #1 at What kind of check is necessary like using OrderMagicNumber or using OrderTotal Method? Thanks for a code snippet. Hoschie
Hi, I have been trying to run the below script to open an order for e.g. EURUSD. When the active window in Terminal is EURUSD then the order is open but if I click on a window of any other symbol, the error 129 appears. I need to open two orders for pair trading and don't know why I can't do that....
[Deleted]
I used Stockastic for normal trading days.. but missed opportunity of today bull run on the US/CAD, any ideas ?? combination of two indicators ??
Hi, my indicator displayes info in the subwindow of my chart. However if there certain other standard indicators on the chart at the same time, the data on mine becomes displayed on the other indicator. Or in some cases not displayed at all.. Any ideas.. Thanks.
[Deleted]
I am looking for help to find the code to set a TP just after the buy or the sell order. In fact, because of the broker I can't open the order with the TP or stop loss. However, I managed to that for the SL with the trailing and the modify order but doens't work with the TP Please Help me!! Thanks
Hi, first of all I have a generally questions about MTF-indicators: When I put a MFT-Stochastic on my M1 Chart with the calculated timeframe of H1=60, then I see a constant stochastic - Value each hour from x:45...(x+1):45 (e.g. from 1:45-2:45 a.m.) 1.Why is the change of the value at e.g. 2:45 and...
[Deleted]
I want to break up a single other and sell small percentages of it as the price lowers... so for example i buy 1 lot EURUSD at 1.200 with a take profit of 100 ... and then every time it drops 10 pips I sell 10% of the total lot size.. Is there a way to do that? To word it another way .. I want to...
[Deleted]
Hi, is it possible for an EA to open a subwindow and start indicator there? I mean something like strategy tester does. My EA uses iCustom() and i would like it to open a new subwindow and run indicator there. Is there any sollution of this problem? Looking for advices, gr0nek
[Deleted]
Ok I need help here, I have several Ea`s and I can`t get them to work on MT4 Oanda Platform. I have used the same EA`s with other brokers and it worked fine no change of code. Just loaded them and ran them. But no trades at all.. I contated Oanda and they said they can`t help me with this issue. How...
  Order entry  (1)
Is there any way two market order (sell / buy) the same time to give to a base value ofthe market? Thanks
[Deleted]
We all know that HP2-B65 exam is a hot HP certification,its full name is HP Imaging and Printing Sales Fundamentals exam,if you are in the HP area,and want to have a level in the field,you need to get this certification to prove yourself,if you have no time to prepare for your test or have trouble...
New article Decreasing Memory Consumption by Auxiliary Indicators is published at mql5.com: If an indicator uses values of many other indicators for its calculations, it consumes a lot of memory. The article describes several methods of decreasing the memory consumption when using auxiliary...
  Monte Carlo based EA  (15   1 2)
I just finished backtesting my Monte Carlo based EA, and the results are encouraging enough to start forward testing. I've put this up on a blog and I'm broadcasting the forward test live. Granted, it may be days or weeks before any trading, but there it is nonetheless. This is not a scalper or...
  iCustom problem?  (7)
I have an indicator with 2 input values that gives out a "double" value of 0.0 or 1.0. I am calling this indicator from the expert as follows: TEST=iCustom(NULL,0,"TestInd",Average1,Average2,0,1); if(TEST>0.5) { Opn_Buy=true; Cls_Sell=true; } else { Opn_Sell=true;...
[Deleted]
  Profit Question  (1)
Is there a way to add together the profit of each trade, ( I only have one open position at a time), so that I can determine the total profit gained. I would like to add a feature to my EA, of increasing the lot size, based on the amount of gain in profit. In other words, for every increase of a...
Dear Forum Members, I got a custom indicator from the internet but without its source code. This indicator picks the top and bottom of the chart in whatever timeframe its applied. For the top, it gives an arrow pointing down for a sell and for the bottom, it gives an arrow pointing up for a buy....
[Deleted]
hello, my name is alex,im forex trader for 4 last years i found some EA on internet i done some tests over last 3 month i need to fix the ea cause it has some bugs i believe that after fixing this ea it will work perfect and make many profits if some one is interesting ill glad to cooperate...
Hello, I am developing an EA and have a display problem. string temp = "Signals\n"; temp = temp + "--------------------------------------\n" + "Up_Op " + UpSignalOpen + "\n" <- example output is 0.12345000000 + "Up_Cl " + UpSignalClose +...
I am developing a digital filter for the Meta Trader 4, it is an indicator, but so far not getting a good result here in the community there must be someone who knows.
[Deleted]
Hi, i need a coder for a simple EA. The EA needs no logic to decide when to take or exit a position. It simply connects to a mysql database and reads values. On the basis of this values the EA takes a postion, modifies the stoploss and exits. It is important that the orders get RELIABLE executed and
[Deleted]
please how can I add a customise indicatoe to a mobile mt4. kindly help