MQL4 and MetaTrader 4 - page 783

Hello, currently testing an EA with open price only, is it possible to give an order like "closebuy after a 500 pip movement reverse movement at the current bar." (like I buy at with open price 1,1550 and want to closebuy order at 1,1050.) it may need a everytick and open prices only combo so...
  EA can not attach to chart  (19   1 2)
Hi I can not attach grail EA on chart in my VPS .in windows desktop nothing problem but in vps i have problem ( for other EA's not problem ) . please help meeeeeeeeeeee .
Following the upgrade to the latest MT4 client 610, I have having issues running my EA which has run very stable for over 12 months on previous versions of Meta Trader. I run the EA on a Windows Server 2008. The error is as follows:...
Hi Can someone pls advise. I have made the short script for the candlestick count cycle where values are given to each candlestick. However some candlesticks do not fall into the criteria in order to be assigned a value. The indicator graph draws ok for the candlesticks within the criteria, however...
Hi all, anybody know if there is any way to get the string stored in: #property version "1.00" and to display it on the chart in comments, ie: Comment("\n",title," EA (",version,")\n\nWaiting for a tick to start..."); Thanks
[Deleted]
Hi and thanks for the help I am relatively new to Forex, but am a software developer, so most EA concepts I grasp. I wrote a simple stochastic EA which I am now back testing. A few points: I coded a check into the start() function to ensure the EA only opens/closes trades once per bar. I did this...
[Deleted]
Hi I am really new to this and trying to get pivot points on metatrader 4 demo using my mac computer. Could someone please help? I have found info on windows based downloads but nothing for mac. Cheers
What is the best formula to find the last 5 peaks of the market. Would you use high[iHighest(NULL,0,MODE_HIGH,InpDepth,i)]; Can I use a channel to find it. What is the best accurate method to find the best peaks? With a standard deviation channel it might be more accurate I think
Hi All, I am NOT able to sign in to my account on MT4 Android (build 588). When I choose my real account, it needs the password, but it does NOT accept if I type, asks again, again and again, but there is no error message or anything else. However, I get the notifications I set in my expert advisor...
[Deleted]
<edited as irrelevant - seemed to be a glitch with Build 600. Moving to Build 610 resolved>
[Deleted]
Hello, I found the iTime() seems with bugs in tester, when PERIOD M5 H1...... . iTime return 0 value. At the time, PERIOD M1 H4... work well. My version is 610. void OnTick()  {//---  Print(iTime(Symbol(),PERIOD_M5,0));  }
Hello, I am calling a C/C++ Dll in an EA in updated MQL4. But i am getting critical error in calling that DLL. But if call the same Dll in earlier version of MQL4, it is calling perfect. Please Help me regarding this.
Hello to all, i need yours help i need to do a "int" with the name of a string i know to do a "string" change the name automatically; example:int ix;   for(ix=0;ix<100;ix++) { string ff="text"+ix; Print (ff); } The result is: text0 text1 text2 text3 text4 text5 ....................etc. But now,...
[Deleted]
How can I modify an order when my set TP is hit on a trend? I have tried various methods where Bid=OrderTakeProfit, Bid<OrderTakeProfit && Bid>=OrderTakeProfit-(difference value). I am stymied as what I may be missing here. Any help would be huge. Thanks.
Hello, I am trying to make the OBJ_ARROW_SELL point down, but not sure what is the problem. Can any one help?
My EA was giving me an intermittent divide by zero error while doing backtests of AUD/NZD. The journal pointed the source of the error to my lot size calculation below, specifically the (1/NUrate) part. double NUrate = iClose("NZDUSD",0,0); //also tried MarketInfo("NZDUSD",MODE_BID)Lots =...
[Deleted]
Hi, Is it possible to use Hash tables in MQL4 ? (also called associative arrays, where the index is a String). Thanks, John.
[Deleted]
HI, I can't place an order for some reasons. I press the button to place it, nothing. I right click>Trading> New order. nothing. Please can enyone tell me what i can do??? Thanks Michael
[Deleted]
Hello, For my own needs, as an exercise, I tried to develop an indicator showing support and resistance determined by zones, where you can enter areas and values. I publish my code hoping constructive criticism. //+------------------------------------------------------------------+ //|
[Deleted]
Hi all, I'm submitting a BUY marker order with an EA, and need to measure the time it takes to Close this order. Basically, I'm sending a Buy market order with a Fixed take profit: BuyTicket = OrderSend(Symbol(), OP_BUY, LotSize, MarketInfo(Symbol(),MODE_ASK), Slippage, StopLoss,...
[Deleted]
I'm a graduate student working on a class project for a Forex start-up website that is looking for input on how to make its website as good as possible. I would really appreciate your help in tailoring the site to best benefit retail traders by taking the survey in the link below. <Link removed >
  Signals on MT4  (1)
Is there any way to scale up or down a Signal that I've subscribed to? For example, the signal has $200K in his account, but I only have $5K in my account. Is it possible to change the scaling of the trades, so it scales the trades as if I have $10K in my account?
What are the pros and cons of optimised automatic portfolio trading
Hi i would like to add a widget on my fb profile page The bbcode produced by the market-widget is [url=http://mql5.com/2i1a][img]https://www.mql5.com/en/market/widget/41/mid?f=1[/img][/url] so if i post http://mql5.com/2i1a as a comment on my fb will it work? Thanking you in advance
If I select an order by if( OrderSelect(12470, SELECT_BY_TICKET) ) do I get a true even if this order of the Ticket is already closed and the order is already in the HistoryPool? Gooly
Hello! When I have time here at work, I try to run some backtest, but I'm having problems. I use the MetaTrader 4 with just the installation files that I have at home (can not install anything and proxies do not work at work). problem: When I run a backtest can not open negotiations with lots of...
Hi! Could anyone help me in this log? I have an EA that calculates orders and batches that will balance the final balance (if I have any drawdown, or the market change position). BUY SELL The part of the log: 19:29:44 2011.01.07 16:54 mGRID EA branch_dori USDJPY,M1: Account Balance: 25333.4924 19...
Hello, Curious if anyone knows how to do this. I mean, when my sell or buy order closed at 8:17pm with a loss, I dont want to place an order until 8:59pm or something like that. I'd appreciate if anyone knows code for this. My regards.
[Deleted]
Dear programmer, I have searched in the forum for similar thread, i got one. I tried getting idea from it & tried different coding. But nothing work. If possible please help. Strategy works fine in EA. Just after 1st trade its not taking any more. What i required to add in it to make it work? I want...
  Order History  (7)
Hello, i'm looking for a method in my EA to check if the last orders was in profit or loss if the last order was in loss, i will check if the order before was in loss so in general to say, how many loss trades in a row does anyone have an idea about his? i use OrderMagicNumber() and OrderComment()