MQL4 and MetaTrader 4 - page 833

To post a new topic, please log in or register
Hi, this is MQL4. I have a friend that's asked me to "combine" two EAs for him. Basically he wants to be able to run both of them in the same window. Is there an easy way to do this?
Can anyone point me in the right direction on how i can compile/write the code to have an indicator in a seperate window that is... a momentum indicator (28 period), that also shows a simple moving average (28 period) of the values from the momentum indicator. Not expecting much but thanks. -logan...
I have been looking for some info about iHigh, iLow, iOpen & iClose, but i can't find anything other than samples. Can someone tell me or point me to some information on how it works? Thanks!
Hi, Anyone have a script to get the day and time from my PC for an EA? Maybe something to do with a DLL to Windows or a call to DOS. I don't want to use the weird times I'm getting from Siberia or wherever the MetaTrader 4 is getting data ticks from and there date and times. It seems all of the...
Hello everybody, I'm writing a program tocalculate the Pip Value in the Account currency. MarketInfo() command seemsto deliver only information related to the chart it is attached to. Forexample: Account currency = USD Tradingchart = EURGBP The Price pair needed forCross Currency...
I'm in the process of making my first EA. I have gotten most of it down even with my very limited programming experience but I still have a few questions. 1. I need a way to make an If condition trigger when price moves a certain amount of pips in one direction without moving at all in the opposite...
Is there a way to link the charts to the pairs in the MarketWatch window so that by clicking on a pair it will open up a standard chart (not the Tick chart)? Or is there some other, better way to display a list of the pairs I follow, have just one chart open, and then be able to quickly change the...
Two new properties have been added in MQL5 - OBJPROP_XOFFSET and OBJPROP_YOFFSET. They allow creating some interesting effects:
Hello to all. I have an OsMA+2MA Cross bot. I want to put "proportional MM" in it, but Works with static lots, works with profit after optimization on any (except M1) time frame. Also, the EX4 file is here. You can test it... I promise, the bot will be posted here later. The Code:...
Here is the indicator can you please code EA for me?
I'm preparing a strategy, that's based on candle comparisons. I need that a if and else structure, returns me the graph movement. I tried this: if(Open[Bars] > Close[Bars-1]){ Print("Topo"); return(subindo); }else{ if(Close[Bars-2] > Open[Bars-1]){ Print("Base"); return(descendo); } } But a friend...
Hi, is there a possibility to let an EA open the orderwindow of my terminal?
hi, anyone know where i can get my hands on former mt4 championship Ea's ? websites ? cost ? thanks
good to be here .hope we can be friends
  EA (new bie) (4)
I am a computer engineer. interested in writing MQL4 EA programming. I am happy to assist or work together to write good EA for any one. Please let me know if you need any of my assitance. Thank you.
  Ross Hook (1)
With the help of the Forex Strategy Builder Software I've developed an strategy with the indicator "Ross Hook". I got the open source code of this indicator on there website but unfourtunatly I don't know how to convert it to an ".mq4". Here is the complete code: // Ross Hook Indicator// Last...
Hi, why is it impossible to change the deviation to a decimal number like 2.9? It is crucial for my strategy, so I would be very, very thankful if there is a solution. Thx
Hello, I'd like to access information about an Open Position. In particulat the floating Profit/Loss value. Is there a command available to do that? Thanks for your help.
I have a working EA and want to add this code I found in an old article so no new trades open on Friday. What I don't understand is how the Return(0); operates here (and can't search for it) because it's not in a function but an "if" statement. Where does it return to? It also looks like there's a...
  EMAIL SETUP (2)
Can somebody please give me a setup - configuration and provider that ACTUALLY works with metatrader. I have tried gmx, yahoo and others but i have not managed to get anything working ... it is driving me nuts Thanks
Hi, Anyone have a script to get the day and time from my PC for an EA? I can't use the weird times I'm getting from Siberia or wherever the MT4 is displaying data times. TIA Bill H.
Hey, I need some help... to modify theTakeprofit of all the SELL Orders with the same Magicnumber and ofcourse also of all the BUY Orders with the same Magicnumber – for that I need all the Openprices ofall the executed Orders to calculate the Takeprofit so, that it is 3pips better than the...
Build 392 is buggy and causes my EAs to stop running after a couple of minutes.
how to close the ticket, it just open but no close ... it is for Marketiva .. if (sendCmd("<TEST CONNECTION>", "send() failed: error " + WSAGetLastError() + " (0)", "Test connection is OK.") < 0) return (-1);   int l_file_160 = FileOpen("MarketivaSSBS.txt", FILE_CSV|FILE_WRITE, ';');   if...
I have the following function in my #include.mqh file ..... properly referenced and other functions of the include ARE being accessed and utilized. void Write (string argFileName, string argString)   // routine to log transaction to separate log file        {              int handle =...
I have a routine to read a file on init(), then would like to pass the value to start(). How can I pass this value to start()? I don't want to read the disk on every tick.
Hi, I am upgrading the MT4 platform I trade on at the request of the broker. The previous platform had a t following the designation. ie eurusdt. I had customized the charts and indicators and would like to be able to transfer that information to the new version I am trading on. Is there a simple...
Hi, I am looking to buy a forex EA / indicator with full private label right / resale rights Anyone interested in selling the the package together with backtesting and perhaps a video demo? (you don't need to appear on the video) Thank you
programer needed to code stardegy payment after agreement contact tranco@inbox.com
I am trader comming to MT4 from tradestation i get positions open for long time (1H and Daily charts) i can stay at the front of my computer 24h to close my position when things happent (so i avoid to take 1H chart) i would like to close the position when prices close above(below) a MA or when one...