MQL4 and MetaTrader 4 - page 906

Hello to All:  How can I create an alert system whereby MT4 sends me an alert to my phone each time the RSI hits 30 for a currency pair? 
Does RefreshRates() update OrdersTotal()? I used below code to restrict no.of trades. But I got 11 trades. So I doubt whether I have to update OrdersTotal() before checking the condition. Thanks in advance. if (Bid>=next_trade && OrdersTotal ()<= 10 )
Dear guys I want to make a EA base on indicator buy or sell signals. Bui I don't have source code of that indicator. Now how can I make the EA. I mean how can sent msg or get buy or sell signals from that indecator
[Deleted]
Hi, I was trading with "marketaccess" software, but my company stopped providing these services so I have to go to another one where the trading software is "metatrader 4", but I discovered a problem there. I used to trade via a special graph, where on the right scale were data e.g. EUR/USD like 1...
Guys, please forgive the following monologue:    As part of trying to prove the robustness of a bot and ensure it is not too 'fitted' to the original 1min dataset it was optimised against, I have been testing it on different data sources.  In doing so I have come across a volume related problem....
[Deleted]
Hello,  i need to compare 6 variables with each other, to enshure that all 6 have different values at the same time.  for example my simple(but not the best) way to do this: int a=1;int b=2;int c=3;int d=4;int e=2;int f=5;if (a!=b || a!=c || a!=d || a!=e || a!=f || c!=b || d!=b || e!=b || f!=b || d...
inbound rule change, save in C, not in Programs
Hi all,  Could anyone clarify me if there any advantage to get the soploss anf takeprofit hide from brokers ?   Thank you in in advance Luis 
Hi everyone, Does anyone know where I could download a copy of this file I have been searching this on MQ4 but haven't found any... Thanks BEGINNER
help me I can not instal mt4...there is no agreement screen...I can't click "NEXT" please help me...thanks
I have installed this EA https://www.mql5.com/en/code/8102 The icon is smiling, I have created folder \experts\files\Export_History but nothing is exported. Why ? 
Hi.. Newby to MQL4 trading and alerts,  and a mass of code I will work through in time but need a safe and quick solution. I have an indicator I added an email alert to using a copied code:- if (EmailON) SendMail("message", "message, Date="+TimeToStr(CurTime(),TIME_DATE)+" "+TimeHour(CurTime())+"...
for(i = 1; i<=OrdersTotal(); i++)      {         bool ref = OrderSelect(i,SELECT_BY_POS);//,MODE_TRADES);         buy_trade[i-1] = OrderOpenPrice();         Print("b of i=",buy_trade[i-1]);      } I used above code to get all open prices in an array. But all I got was zero stored in that array....
it is possible, metatrader manager can do a withdrawal by many accounts at once ? example: account A want withdraw $200 account B want withdraw $200 account C want withdraw $200 account D want withdraw $200 account E want withdraw $200 so manager ABC can withdraw account A,B,C,D,E at once , like...
[Deleted]
I want to create an indicator that draws  Bollinger Bands on  CCI. I know I can drag the bands from Navigator window but I need it as indicator for use in EA's. I tried to code it but since I am newbie, no result. Could you tell me what is wrong in my code?...
Hi All,   I have this news trading EA.  The EA shows wrong news release time on the chart. It adds 60 minutes to the next news release time for that pair and hence the next event time shown is incorrect. The developer of this EA says it works fine on his pc. But on my laptop it shows incorrect time...
Hi, Everyone,          I'm getting error whenever I'm starting Strategy Tester. I searched forum and found that I should download data from some site and import it using history center and convert them using period converter. even after doing all these steps I'm getting same error. TestGenerator:...
[Deleted]
I created an Elliot wave font last year, I have just implemented it to a script for easy quit analysis of Elliot wave counting onMT4 . Simply Drag and drop the degree in which you wish to Analyse on the chart Instructions for use : Install EWA DASH FONT Past indicator in to experts/scripts file
  Jouranl  (2)
why the requested price do;nt appear in new metatrader versions ex order sell market 0.04 EURUSD# sl: 0.00000 tp: 0.00000 22:05:52 '6397852': request was accepted by server 22:05:52 '6397852': request in process 22:05:52 '6397852': order was opened : #26417935 sell 0.04 EURUSD# at 1.32438 sl
[Deleted]
Hi, guys: Right now, I have already had RSI-Mirror, Ma-Mirror and MACD -Mirror indicators, but I donot have Williams' Percent Range-Mirror indicator . I google it, it seems that it does not exist at all. If someone can write one and post here, it will be appreciated! Thank you very much for your
  I NEED Help  (11   1 2)
why my strategy tester stops working when i use it for optimazation with USDJPY it only craetes some of them and stops in the beging just creates some of the parameters !!!!!!!!!!!
Hi everybody, so i'm having this really stupid problem when using optimizing for the attached EA on MT4. The tester seems to freeze up  on random passes. Everything else ist still working but there are no more results. Sometimes it gets to pass 7 or whatever but than it freezes without any further...
[Deleted]
Hi, Im a total newbie when it comes to programming. So please if anyone can help , then it would be much appreciated. I am trying to draw a straight line every time a condition is met. the condition is  once a candle closes the open of the next candle is compared to the open of the previous candle....
  please help !!  (5)
sorry for my bad english :(   i m studying an ea. for example there is five trades close stop loss. i want after five trades will open 2xlots. how can i do this on mql ?   for example ;    1  buy... 0.1 lots 2  buy...  0.1 lots  3 buy 0.1 lots  4 buy 0.1 lots  5 buy 0.1 lots   (i can do this with...
[Deleted]
Does anyone here know why this only returns the highest value of the current chart loaded rather than the timeframe extern int TIMEFRAME=60;  HighVal=High[iHighest(NULL,TIMEFRAME,MODE_HIGH,MaxBarsBack,MinBarsBack)];//same as below  LowVal=Low[iLowest(NULL,TIMEFRAME,MODE_LOW,MaxBarsBack...
[Deleted]
  The == operand.  (7)
Hi, can anyone help?  This seems a simple task but it does not work. I want to start a buy process when Ask or Bid crosses a Bollinger Band for example; if(Ask==UpperBand)    // UpperBand is the iBands fuction { Then if ask is equal to Upperband then open trade etc .   The problem is that the double...
[Deleted]
Hello, My problem is that I want to calculate lot size depending on the account balance like that: Lots2=(AccountBalance() * 0.001);Lots=NormalizeDouble((Lots2),1); But I wouldn't like to round the figure to the higher value so if my AccountBalance() is for example 10360 it's: 10360 * 0.001 = 10.36...
[Deleted]
i tried to do the below   int updown (int timeframe, int shift){ if (  (iClose (NULL,timeframe,shift) - iOpen(NULL, timeframe,shift)) > 0)   updown = 1;   if ( (iClose (NULL,timeframe,shift) - iOpen(NULL, timeframe,shift)) < 0)   updown = -1;} basically if it's a function to give a 1 when the bar...
[Deleted]
OrderSend(Symbol(), OP_BUYLIMIT,0.6,Ask-1*Point, 0, stopLoss, 2, "Buy Order", 0, TimeCurrent() + 60 * 60, Blue);   OrderSend(Symbol(), OP_SELLLIMIT, 0.6,Bid+2*Point, 0, stopLoss, 1, "Sell Order", 0, TimeCurrent() + 60 * 60, Maroon);  anyone can tell me what happen to these lines please?  They work...
Hi, I would like to creates an EA which find Gartley pattern and send order on market with proper stoploss ( X point) and TP (A point). GartleySearch search the pattern Gartley EA send the order My problem is that by using function iCustom () to GartleySearch indicator I can any get to know that...