Download MetaTrader 5

MQL4 and MetaTrader 4 - page 716

To post a new topic, please log in or register
Can anyone point me to some code that shows how to "grab" candlestik informations and compare two candles on two different currency pair? Here is what is want to do. Let say i have a candle @ 10:00am on the GBPUSD. I want to be able to read the high, low, open & close on that candle at that currency...
Hello, I like to establish the amount of bars from placing an Order to the actual bar[0]. The following code was an intent to calculate the difference between OrderOpenTime and iTime and convert it back to bars based on the current Period(). The idea was, that OrderOpenTime delivers time in seconds....
hi i am having a difficulty on code this, option 1 : it trade if (Eq == -1) Eq = AccountEquity(); if (AccountEquity()>= (Over*XFactor)+Eq ){ for(int TO=OrdersTotal()-1;TO>=0;TO--) { OrderSelect(TO,SELECT_BY_POS); deleteAgain(); Eq...
hello MT4 community, so i have been involved in developing an EA for 9 months, i have posted a couple of times and have been contacted by a couple of "so called" developers, who basically have taken my concept/EA and run for the hills !!! The Ea is mostly coded - but I am not a programmer and need...
i have taken many orders at a certain time, i need a code to generate the average for all those Pending Orders Price and modify all those orders with that average value with some TakeProfit added to it. i want to implement this in Expert Advisors??....someone please help me...!!!...
I have four EA's running in different, liv accounts. - One of them is routinely removed after a trade. I'll reattach it and it will run until the next trade. - The others are removed from time to time, I see no pattern yet. _ The app doesn't crash and charting and all else seems to continue without...
Hi: I am trying to write a strategy that uses a precondition and a current condition to enter a trade. I use a simple trend-following indicator to enter the trade but do not want it to trigger unless the precondition was true. I thought that I could run a loop for the precondition using bar...
Hello, I'm testing MT and have a question, that the search couldn't answer. I hope somebody here can help me. My question: Is it possible to get a list of order modifications? I need this to get the inital stop loss of a order that was modified a few times. It should work after a restart of MT. If...
EA Programmer Needed! Hello please send me a private message if you want to make my EA. Iallready the indicator, i think its easy if you know how to do it.. its ONLY ONE INDICATOR! its realy easy to do so please pm me, ill give you make messenger contact! Thanks in Advance fxinthecity
I am using iCustom in an EA and am getting this error message "array to be set is of incompatible type". My parameters are set correctly. What should i be checking to find this problem?
Hello Guys If you have good trading system for 1 hour TF and above, send me your system and I see if I can code them into EA. Custom Indicators must be non-repainting I hope to get new forex trading ideas and to improve my coding skills. And we do this by offering free coding. I DO NOT make a...
Hello All Every position size calculator I find requires a STOP value to process LOT size etc. However my STOP is based on a moving average. Can anyone help me to get past this issue. I dont use STOPs
I need to know, how to setup the mt4 on a sub site to my website hosted by iPower.com.What are the server requirements, How do I get the server to my fxdd account, what files to upload to display mt4, etc... I've been looking for a step by step instruction but I haven't found any instruction. I...
Hi Gurus, I'm new to MT4 & MQL, so forgive me if I'm asking the obvious. I'd like to access my Account History data as real-time as possible form a new app I'm developing. As far as I see I can't directly access the MT4 servers (AFAIK the APIs are not public), so I'd have to do something in the...
Hello, I define an include where my member variables defined and where I use for my Buy/Sell Signals. So after a Stopp/Loss I create a method which initialize the member variable to 0. This method will be called, but the member variable includes the values before the Stopp/Loss. How can I...
Hi, I want to program an indicator. Normally I am using this loop in my indicators:    ExtCountedBars=IndicatorCounted();//---- check for possible errors   if (ExtCountedBars<0) return(-1);//---- last counted bar will be recounted   if (ExtCountedBars>0) ExtCountedBars--;//----   int    i...
  Mt4 for WP 7 (1)
Hi, is MT4 available for Windows phone 7 in marketplace? if not when will be? Thanks in advance
is it posibble to import data graph directly from the import option in excel or access etc.?
  Channel Trader (26   1 2 3)
This is Channel trader Ea it is using Automatic Regression channel,Cfb channel,and Dynamic zone spearman on jurik on first version, on the -1 version its not using Spearman, but its using Atr Normalized, when its leaving max atr seems to be some possibilities problem is it seems to hit max level...
I am currently using the iCustom function to call 2 indicators that I have created. It seems that sometime it return the same values as those that are displayed and then sometimes its not? I am passing in the same values as the default ones being used on the display. The values are not from the...
Hi, I want to develop a method, that enablesto change the stop after every 10 Minutes? How can I implement this? Thanks for your support. Kind regards, Hoschie
I am very, very puzzled with results I am getting from metatrader's backtester. I am hoping someone else has had similar experiences, and may have an idea of what might be causing mine. An expert I developed achieved excellent results in backtests and across a wide range of variations in...
Hi everyone, I'm a recently graduated computerengineer with a lot of programming/coding experience. I'm willing to code some EA's, scripts and indicators in return of a fee. Note that I'm only available to start coding the first of august 2011 since I'm currently on a holiday. I'm posting this...
I have minor coding experience, 1 want a alert if pair goes on 100% average range, and everytime its breach it, it always alert me per tick. can anyone help me? //+------------------------------------------------------------------+//| DPC Market Range Alert.mq4 |//| Copyright © 2010, MetaQuotes...
  Gann super exit HELP (11   1 2)
Hi all, Please see if you can help me with this as all this is very confusing to me. I'f got an exit strg that i think will work well but have now idea how to change the coding. Exit must work somthing like this! When I make a trade the EA then automatically sets a TP to take half the lot size off...
Is there a way to read extern variable from running expert? and change them?
Hello, does anyone know something about jmi8 ? I found an unknown process called Ex45jmi8.exe,running on my PC in Google i found, that this could be a protection mechanism against decompilation of MT4 programs. But I never have done anything on my MT4, to protect my Exefile. Visiting those...
Need a little help. I was looking for an EA or Scrip which writes the statement trade information to a CVS file. I am not a programmer, but looking for a sample EA or Scrip I use as a template. Thank you.
Ask yourself… 1- Can the risks to your business be identified, what forms do they take and are they clearly understood - particularly if you have a portfolio of activities? 2 - Do you grade the risks faced by your business in a structured way? 3 - Do you know the maximum potential liability of each...
I'm creating my first indicator in MT4. I think I tracked down where my bug is, and the 1st thing I notice has got me stumped. The first time my indicator runs on Period_M15 the Bar # is 65001 (option max bars in chart is set to 65000) and Time[65001] shows 1970.01.01. BUT I'm looking at the chart...