Download MetaTrader 5

MQL4 and MetaTrader 4 - page 614

To post a new topic, please log in or register
hello please i have this expert i need every button to do its task the key is in this code ////////////....................////////////logic of x1 buttonif(WindowSize[0]-XY[0]>5 && WindowSize[0]-XY[0]<540 && XY[1]<29) ///adddddddd{click=0;continue;}//logic of x3 buttonif(WindowSize[0]-XY[0]>5 &&...
Hello, We want to display web page on the chart windows, by using expert or indicator. This has done on interbankfx mt4 by mt4i. There are different functionality like one click trading etc. But we only want to be able to open a webpage on chart. Can anyone help me about this? Thanks
If so, what do I need to do to receive a copy? Thanks, Chris. Automated Trading Solutions Ltd.
//+------------------------------------------------------------------+ //| NewCrossAverage.mq4 | //| doshur | //| www.doshur.com |...
Does the MetaTrader4 app work on 4gs with IBFX broker? I've tried and just get invalid account. Thank you.
Is there any answer to the question, why if I use iHigh, iTime, iHighest or any of that function and choose a lower Timeframe in the function as it is in the chart, the result will be 0 for about 16hours(if I use 1M in the function). This Problem also only occurs in the Backtester. I've been reading...
Hello.. I work with the distance between price and a moving average... But, there are more ways to work correctly with ma's ?? Thanks, for your contributions.
Hello, I have a quite strange problem. I have indicator, which plots one line with constant slope per bar. If I include this indicator into expert indicator line plots strange way during testing period. Before testing period it looks ok. If I reexecute indicator on expert it plots OK. What is...
Dear Sir, Sorry, I'm very newbie in forex, I hope someone helps me. I'll open a trading position, its lotsize 3% of FreeMargin. The algorithm is like this:...
Hi, I am programming an indicator table which shows my the gradient of the macd. Here I have a few problems: for(x=0;x<9;x++) {double MACD_gradient = (iMACD(Symbol(),period[x],FastMACD,SlowMACD,SignalMACD,PRICE_CLOSE,MODE_MAIN,Bar_last+1)- iMACD(Symbol(),period[x],FastMACD...
  Modifying stop orders ? (11   1 2)
Any suggestions on this, before I stray into a dead end ? //------------------------  void ModifyPending()   {// The globals PriceBuy, SL_BUY are generated by indicators etc and may not always be 'sensible', especially in relation to eachother and current market price   int  MoveStep =...
hello,, please i have the logic that gives me the number of the bars like so,,, if i wan t o get the low of the bar number 5,,, how can i type it please,, thanks alot
Over the last 2 years I have posted on a number of forums trying to discover why the platform freezes when selecting"Indicator List" or "Object List". I have not received any valid answers. There have been only a few kind suggestions from only a couple of others who have experienced this, but none...
Hello, I am using MT4 . I have set the Stop Loss point on when i am trading but many times the stop loss point not trigger correctly it mean If i have buy EUR/USD pair at 1.41920 and set the S/L at 1.41620 than if the market move to down trend then it will be trigger my S/L point 1.41620 but it is...
First of all I should state that this problem doesn't exist as long as your broker has permanently fixed spreads. If for any reason your spreads ever change, then this problem applies to you. I was running the backtester and optimizer over some data using a strategy that uses no indicators. I would...
  price issue (1)
Hello, I tested my EA on EURUSD - 5. And I found an interesting thing. I attached 2 picture about it. Somebody can tell me, how or why can I got this. On picture Ár mean price, and Jutalék mean commission. Thank you, Mihaly Szlauko
Hi guys, I am trying to find the sum of my all open profitable trades, I wrote this function any ideas? Thank you int  findProfit(){   int total = OrdersTotal(), profit; for (int cnt = 0 ; cnt <total ; cnt++)         {            OrderSelect(cnt,SELECT_BY_POS...
Hi, i'm learning MQL in my free time, and I'm currently trying to learn one basic thing but Can't find info about this or documentation. Let say i'm trying to code an Expert Advisor to open orders based on the output of indicators on the charts, for example when the William's Fractals open the Arrow...
  C# App to MT4 (1)
Has anyone ever developed a com class to allow data to be extracted from MT4 platform? I have developed a TCP/IP wrapper class which works great, but MT4 does not seem to allow multiple TCP/IP sessions!? I see this article online, has anyone have any experience with this? Its supposed to work for...
i have this code bool Lines3(){int Point1 = iBarShift(NULL,0,ObjectGet("Click1",OBJPROP_TIME1));   int Point2 = iBarShift(NULL,0,ObjectGet("Click2",OBJPROP_TIME1));  if(Point1==Point2) return(false);  int X0 = iLowest(Symbol(),Period(),MODE_LOW,MathAbs(Point1-Point2)+1,MathMin(Point1,Point2));...
I can see 9 consecutive losses in backtesting - many times - yet the report says 2 consecutive losses. The model is using control points but that ought not affect things. What else is not reliable?
I'm looking for a tool to monitor alerts on MT4. A matrix of sorts that lists current alerts per indicator monitored, per pair being traded. Does anyone know of such a product? Or a larger tool that also performs this function? I would appreciate your help here. TIA.
I've been writing a Program that includes the iMACD -function, but whenever I tried to get a Signal of the MACD, I got the message: zero divide. By finding the Problem I printed: iMACD(NULL,0,10,20,7,PRICE_MEDIAN,MODE_MAIN,1) only, and realized that whenever the MACD value get smaller, It will give...
Hi, i want to have multiple MT4 from different brokers, this is primarily due to the fact that i want a large number of symbols to analyze. I have developed some scripts/EA that i use which are very helpful to me for trade signals. i do not want to maintain separate copies of them for each MT4 but...
When I apply a saved template in a 'open chart' in EA, all the buy/sell signals will gone. How could I set template in EA 'open chart', so that I can see the same chart/colour/indicator that I save in a normal template?
Hello :-) I am having trouble distributing some .ex4 files. Some people use them fine, and others find a sudden crash of their plattform. If instead of receving the binary, they compile the source code themselves, everything runs fine. I am building the binary with MetaEditor Build 419: some users...
I had a problem with WindowPriceMax() & WindowPriceMin() not giving correct values but thought it was something I was doing wrong . . . . I never took the issue any further. Then yesterday I noticed an interesting phenomenon, I was grabbing charts from MT4 while it was minimized and some text...
  Ayuda con eas (1)
Hola, Estoy Buscando Alguna persona Experta en Programación de mq4 automatizar EXPERTOS Con mis estrategias.Un saludo.
  Arrow codes (2)
Hello !!! Here, are some information about this.. https://docs.mql4.com/constants/arrows But, where I can find more arrow codes ( with a picture ) ??? //---- drawing settings SetIndexArrow(0, 234); SetIndexArrow(1, 233); Really thanks for the information.. ( Sorry if it´s a silly question )...
Hi, I have the possibility to get backtest data. What data's do I need for the best "true" result? Tickdata or Minute-Data or ALL Timeframes?? Bid AND Ask and of course Open, High, Low, Close Or is there a better system to do backtests f.e. ninja trader, ...