MQL4 and MetaTrader 4 - page 942

Attempts to overcome the non-stationarity of the quotient are undertaken all the time in econometrics . One such approach is the use of the cointegration property. In 1987, Engle and Grainger suggested that the combination of two differentially stationary series (I(1)) is stationary, i.e. I(0). It
So when is the Ipad going to get a tablet version of Metatrader like android?       I have been looking around at a new broker seeing what technologies they offer, and alot offer MT4 on ios. The problem is that they say ipad versions available, but this is incorrect, as it is just the iphone version...
Hi all,   below is my code:   int init()  {//---- indicators   int a[] = {4,5,6};   int c;      for( int z=0; z<ArraySize(a); z++ )   {      c = call(z);            Alert("c= "+c);   }      //----    return(0);  }//+------------------------------------------------------------------+//| Custom...
In the new version built 482 i have an error in backtests. When i open the chart of the backtest then i get always a screen with _US30 and not EURUSD.
I'm having trouble placing my stop loss and take profit orders as stealth orders - becoming market orders when hit. Where the broker cannot see them. As here it goes straight to zero. As most often when I tried.( In one it did alot better for a while.) How can I get the similar? The file ending in...
For some reason when back testing with hundreds of trades over 10 years I get the occasional order modify error 130...The EA can have multiple orders open at the same time and when another order is open when the previous order is in profit it will move the previous orders stop loss to break even,...
  Add to my ea MaxOrders  (13   1 2)
Appreciate it if I can help add to my EA MaxOrders.   This is my EA code:      
Whenever I add a script to my EA's, the input parameters become unavailable under expert properties, when adding the EA to a chart and using Strategy Tester.  It's really strange. Take a simple parameter like     //---- input parameters    extern bool TakeTrades=True;    When adding to a chart, as...
Hey everyone,  not sure how to delete a post that I made......   so have a great day! 
[Deleted]
When opening multiple positions, I know I have to use unique magic numbers in the OrderSend() function for each position.  However, when conditions arise to close one particular position, do I have to make reference to the magic number assigned to that one particular position or is just referencing...
Hi guys, Just wondering if anyone knew for certain or can provide any insight. Variable spread brokers will change the spread in times of high volatility to protect their profits; my question is, do they push Bid and Ask apart, or do they only make Ask higher? My reasoning was, if they manipulated...
[Deleted]
Hi Guys I have new PC with Window 7 Starter.... Good. Then I tried to download MT4 plateform from Alpari UK (as I had before) Got a an account number with password. All stuff downlaoded... but when I introduce Account and Pass word I have : Invalid Account Well... It's hapend... then I tried to open...
Hi guys. I'm new to coding and I'm stuck with a refreshrate function. or so I think :) I'm using the function in a while loop and I need it to refresh the bid so that the while loop could work. when I run this to a test it's stuck on the same bid. I'd realy appreciate your help on this. here is my...
21 day moving average on 15min chart,possible or not??? when i open 15Min chart i want 21Day moving average, actually when i put 21 Day MA on 15Min chart i have moving average of the last 21 bars of 15Min
[Deleted]
Hi, I'm fairly new to programming in MQL. I have a problem for my EA that I haven't found any information on and am trying to find a solution.  The scenario is this: Certain trading conditions met = ordermodify -> change stop-loss (this applies to all open trades) However the problem is that the...
double CurrMinusPrevA=iHigh(NULL,PERIOD_H1,0); double CurrMinusPrevB=iHigh(NULL,PERIOD_H1,4); double CurrMinusPrevC=iHigh(NULL,PERIOD_M30,0);  double CurrMinusPrevD=iHigh(NULL,PERIOD_M30,3);    if (CurrMinusPrevA<CurrMinusPrevB || CurrMinusPrevC>CurrMinusPrevD)  // this dosen't seem to work "Open a...
[Deleted]
Hey guys, i know you all have certainly discussed this over and over. But still i couldn't get a solution to this. I have a VPS server and two MT4 instances are running on it. When i start two MT4 terminal one need  30 mb and the other 45MB After two days i'm at 40MB and 82MB My vps system got 1 gig...
Do you guys have the same problem? When I download history data for a certain currency pair (txt or csv) I can't put them into MT4 history. When I go to Tools>History Center>Import>Browse - then select history file, nothing shows. I tried one method that I found on the other forum to make one csv...
[Deleted]
1. If a robot is coded for trading many pairs . Which pair chart should it be attached to ? And Why ? 2. While the above-mentioned EA is working. Is it required to open charts of all the pairs that the EA can trade ? Thanks for response
[Deleted]
Hi guys, i wanted my EA to open a pending order BUYSTOP but i received this error message #130 I think the problem is that the entry price is to near to the actual price. I wanted to open a long pending order at 1.3000 and the actual price is 1.2999. So how can i get the lowest price for this long...
[Deleted]
I am sorry for having to post this question, I did search but no result. How to post fixed text with several lines on chart window ? Notice: - Comment() just can post its content in only one line - ObjectCreate() Text/Label: the content will move with the chart I don't know which function can meet...
[Deleted]
Hi,   I am looking for feedback or actual backtesting-trading experience if anyone has done this. The question: does it make sense to put more weight on signals created in the last x period of the entire backtesting timeframe, ie: if you optimize your EA on 1 year historic data then give more weight...
[Deleted]
Hi - does anyone have or know of an indicator that displays the period separators (CTRL and Y) but the monday separator is a different colour? I'm on a 5 day broker, so can't see monday bars easily. Thanks
[Deleted]
i am poor in programm,help me pls~ the first Damiani_volatmeter indicater:draw vertical line when firebrick section appears everytime like pic show; the second solar wind joy  indicater:draw vertical line when cycle changed. best regards !  
[Deleted]
Hey guys, how often will mt4 reconnect to the server? Is there any limit set to this? Something like after 5 times do not connect anymore? best regards
[Deleted]
OrderSend(Symbol(), OP_BUY, 0.2, Ask, 0, Bid - 15* Point, Ask +50* Point, "Buy Order", 0, TimeCurrent() + 60 * 60, Blue); when my  criterion are fullfilled, nothing happen;  but if I use OP_BUYlimit instead, it will take action, why is that?  Is it something to with my slippage (I've set it to zero...
  lot increase  (17   1 2)
Hi all, I want to give every order that is opening a lot size bigger than the last one. For that I try to use the following code to get it. The issue is that the orders are not getting to open, but if I use FixedLotSize directly  (without lot increase) is ok. Could anyone show me where I'm wrong ?...