MQL4 and MetaTrader 4 - page 935

I know how it's calculated: Close = (Open Price + High + Low +Close) / 4 Open = (Average of Open Price and Close Price of the previous bar) High = (Maximum value of the (High, Open, Close)) Low = (Minimum value of the (Low, Open, Close))     But I don't know how it gets a blue color or a red color....
[Deleted]
Does any one else have a problem with the new trade window? My EA puts things in the comment fields, now  It does not display properly since this update.. Can some one please tell me where is the option to turn this off. thanks
[Deleted]
Hello, I used to be a computerprogrammer but I am new in MQL4. I wrote my first program, but several things do not work, here is the program: int start()   { int ticket=0;       if (Close[0] < Close[1] && Close[1] > Close[2] && Close[2] > Close[3])         //  Go short                      {...
Hi, Could someone perhaps direct (link) me to the best tutorials to learn how to build custom indicators. I am trying to learn how to build something quite similar to the "Money Flow Index". Thanks, Brian
Dear fellow forum members, I am a newbie in mt4 and I've no knowledge on programming. I am seeking help from you. How could I add a moving average in RSI indicator that will work with RSI signal line. Please anybody help me. Thank you.
hello mql4 users i need to how i can get RSI OF a chart on another chart ?? and get like a cross of lines
[Deleted]
I am obtaining certain values on one time frame. As an example, I may want to know when a fast ma crossed a slower ma. Then I may want to go one time frame higher and get the value of a stochastic or a ma. Since I am using a variable 'i' to reference a bar on the lower time frame, I cannot use the
[Deleted]
Hi there , I am currently working on a pivot point indicator which should display some signals to a user via the use of arrow symbols. I am trying to find out if it is possible to enable the bars on the charts to interact with the pivot lines so for example: If a bar touches Support Line 1, a arrow
  I recive an e-mail..  That MetaQuotes is closing, the use of experts and trailing stops. The FX-PRO platform. I think it's fake. Rather, they are about the FX scammers - PRO. They do not want to use experts .. Rats ..       
HI   I have a little problem with the strategy tester in my MT4!  When I put a stop loss in the value tab it gives me same result as I have put no stop loss!  It doesnt matter which stop loss I put in it gives me always the same statistics!!  I put stop loss at 5 pips and see after in the statistics...
I want to ask you, what modeles, is: each tick, or control point or open price - to get the true result in backtest ? Do the differency between each model give a false result ?
Can you suggsest me what broker is the best ? My choice is given by the best history database because I've a problem with my broker...
Not enough bars on my live account what should i do? please any kind help are welcome as soon as possible. 
[Deleted]
I want my ea does not buy/sell in big movements such as on news events..
I'm copy  "trainhorn.wav" to  C:\Program Files (x86)\MetaTrader - EXNESS\Sounds. ... PlaySound("trainhorn.wav"); ... Why alert sound by  "alert.wav" only ? Thank you Remark  "trainhorn.wav" = 28k
Dear Guy I just create a new EA with my Metaeditor. After I create I just goto my MT4 location/experts/ but I can't find my EA in there. Therefore I also create another EA then go again I didn't find my EA there also. Then I search my computer, EA found this location 'C...
//=====Hedge EU when UC is opened by EA=======   for(int pos1 = OrdersTotal()-1; pos1 >= 0 ; pos1--)    if (OrderSelect(pos1, SELECT_BY_POS, MODE_TRADES) && OrderSymbol()== "USDCHF")   {   if (OrderType()==OP_BUY || OrderType()==OP_SELL)   ticket=OrderSend("EURUSD",OP_BUY,Lot,Ask,30,0,0,"",0,0...
hi! how subtract a price from variable? If i want to subtract a variable with fixed amount of pips,  how i have to write the amount of pips? that way- 0.000X or just subtract X pips from the variable? this is how i wrote it: if( ((O - C) < 0.00040) || ((C - O) < 0.00040) )  explenation: if open -...
hello guys. can anyone help me with this. im trying to add a code that  will 1.) close all order when one order is close.  2.) open order on the price the first order was open.
I've noticed around in the forum various references to Polyline, by WHRoeder. As I understand it, it allows an EA to draw lines on a chart the way an indicator would. https://www.mql5.com/en/forum/130907 Is this correct? Is it usuable within Strategy Tester? What about non-standard timeframes, can...
hello all; i am practicing mt4 lang and made this ea whic closes orders if profit lies bw 1.5-2. closes same order if loss lies bw -2  to  -3.. but the code is not working on ecn 55 digit broker... int start()  {//----if(OrdersTotal()==0){   OrderSend(Symbol(),0,0.04,Ask,30,0,0);   OrderSelect(0...
[Deleted]
How do i get QQE value using iCustom ? What did I did wrong Hi guys, I have a QQE Indicator call QQE Alert MTF 5   I would like to use this Indicator value on one of my EA which I applies it using this way QQEvalue = iCustom(Symbol(),15,"###QQE_Alert_MTF_v5###",0,0);  // I would like get the...
[Deleted]
int array[OrdersTotal() ]; Why can't I declare like above ?
Hai i am new to forext trading and EA creating . i am creating a EA with strategy tune site that is working in all other demo mt4 platforms but i try with my easy-forex live account it is not working anybody can you help me to solve the problem? #define __STRATEGY_MAGIC...
sometimes my trades don't always go through , so I run it in a while loop , but if I get error 134 (no enough money , it must break out the while loop , cant seem to get it right , can someone help me please.
Hello guys, I am new to  MQL programming and I was just wondering if there is a way to make an EA that places two trades (buy stop and sell stop) two minutes before news announcements and it must close them 2 minutes after the news comes out. The orders must cancel each other (one cancels the other)...
Dear all... PLs help me to edit this EA... - EA only one trade per signal - event the trade has been close. - when EA send signal BUY, trade only one with SL and TP, when the oder hit SL, EA do not trade and waiting to next other signal: SELL. Thank for any help....
EXAMPLE: IF CCI(14) > 0 AND RSI(14)>50 THEN ENTRY BUY IF CCI(14)<=0 THEN CLOSE BUY IF CCI(14)< 0 AND RSI(14)<50 THEN ENTRY SELL IF RSI(14)>=50 THEN CLOSE SELL YOUR TRADING WILL BE SIMPLE AND PROFITABLE...
[Deleted]
Hello everyone, Can anybody help me? I need an EA to buy when price goes and closes above EMA 30 and place the SL 1 pip below the EMA 10 and then when price goes up, move the SL along with EMA 10 and the same when price  goes and closes below EMA 20 and SL 1 pip above EMA 30. Thanks