Download MetaTrader 5

MQL4 and MetaTrader 4 - page 986

To post a new topic, please log in or register
  multi expert (3)
hi is it possible to make an expert that check few condition and decide whice expert to run?
Hai, --- I have an external application(VC++ exe) which decides when to fire orders. --- Now I want to link my external application to the expert advisor How I can do this. Can aybody suggest any article or give a similar example. Thanks, Jannath
  MQL4 Flow Chart (11   1 2)
Hi, The big oldlumbering tortoise has poked his head out occasionally to check out the terrain for quite some time now and has finally acceptedthe inevitable! At this time of the year at least I can now claim that ‘molassesdoesn’t flow very fast in the cold weather and barely moves at all!’ So I’ve...
  MQLPROGRAMMING (13   1 2)
As people still contact me using my contact on previous thread, here I want to put my latest Information. I am heartnet from MQLPROGRAMMING. MQLPROGRAMMING is a programming site which specialize in MetaTrader4 (MT4).With several years experience in forex market and programming we are elated to offer...
I have a server running MT4 that generates signals that I want to send to a few MT4 programs running in different PC across a network. Can anyone help?
Three positions cannot be closed at a time. Please teach the way that closes three positions.
Hello, This ea only opening new BUY/SELL trade but not closing it properly. When new BUY order opened properly. Now condition for closing opened buy order & Opening new SELL order. It is not able to do that. But when I manually close opened buy order & then it open new SELL order. Same error on...
Hey, does anyone know if it is possible to compile the source code so that it is "locked"? That is, after it is in executable form and placed under expert advisors in the navigator pane, can the executable file be prevented from being "uncompiled" back to the source code?
Hello, I've build a Server implementing some neuro-network functions and i want to communicate from an EA with this server. To do so, I implemented some socket-communication functions as an DLL but I got the following problem: - when calling the connect - function of WinSock via the DLL I always...
I am trying to build an IPC through named pipes between another application with a RT data feed and MT4. I have considered using reading/writing files on the disk but would like to achieve the memory option if I can. I am using various combinations of C/C++ dlls and importing the kernel32.dll...
I've got a nagging problem with this piece of code. It is supposed to modify the stop loss of OP_BUY or OP_SELL orders, but somehow is it tries to modify pending orders, and ignores the op_buy/sell orders. I thought the: if( OrderType() <= OP_SELL ) would take care of that but it doesn't.. :( When...
How To Turn Every $5 You Invest Into $10 in 7 Days or Less http://dd6.infos.cx
  MQL4 Book (1)
I have downloaded the MQL4 book, "mql4bookenglish.chm" numerous times and when I execute the .chm I get"Navigation to the webpage was canceled" also the same thing happens when I execute "metatrader4_en.chm"
  mobile mql5 (1)
Will we be able to convert our indicators and EAs from mql4 to mql5? Also, will we be able to load our own indicators onto the mobile version of metatrader5 which is not possible on metatrader4?
could you be so kind and help with the given problem in the headline. Thanks Fino
  Onchart? (13   1 2)
I really like this indicator but there is no room for it on my chart. Is there a way to make a window indicator into an onchart indicator? Waddah_Attar_Explosion.mq4
............ it's driving me nuts!! lol hi guys n gals firstly, this is my very first post on the forum so may i wish you a happy new year to all, and all the very best for the coming year! my name is michael and i'm pretty new to programming in mql4. i'm enjoying it immensly and generally i've...
How can I change the color of an indicator that appears on the chart, thru an EA. For example: mediumEma = iMA(NULL,0,21,0,MODE_SMA,PRICE_CLOSE,1); longEma = iMA(NULL,0,55,0,MODE_EMA,PRICE_CLOSE,1); both appear in red color. Regards Andreas
Hi fxwin, Interesting combination. Please send it ingenierofx@hotmail.com Thank you very much.
I am trying to write an indiactor that wil plot a horizonal lines at the past DAILY Average High and Low points on the chart. I have no background or idea how to write this. I have looked at mant indicators on the forum to try to get an idea but, I get confused I am not sure how to wite in code take...
i need help if this indicators can add into metastock software if not possible pl tell me
  For EA (1)
Results look pretty good. Please send it to me: yjl1950@yahoo.com.cn and I'll run some history test. Thanks.
When I compare the MT4 Least Squares Moving Average to Tradestation's Linear Regression Curve, they are certainly the same formula. However, the MT4 indicator has some nice red/green/yellow color coding which I like a lot. My Tradestation indicator is just one color. If you look at the MT4 Least...
Just published MQLmagazine 's december edition.
Hi, I have been trying all day to upload various other indicators into my meta trader platform and each time I have been unsuccessful! I would really appreciate any help with this matter, thank you. TULU
Hello. I have been trying to modify the code with iHighest with no luck. I'm trying to find the highest point between 2 specific times (example: highest price between 1200 - 1700) - not last "x" bars, etc. Once it identifies the highest price, I'm trying to get it to draw a horizontal line making...
Hi All i am trying to place orders OP_SELLSTOP at hour() higher than the current price and OP_BUYSTOP lower than current price in an EA. double down = Open[0]-400*Point; double up = Open[0]+400*Point; Ticket=OrderSend(Symbol(),OP_BUYSTOP,ILots,down,Slippage,SL,TP,EAName,Magic,0,Blue);...
fftremblay
Is-it possible to do the following : For example, on a GBPUSD H1 chart, instead of 13:00 to 14:00 bars, I would like to have 13:02 to 14:02, etc... How can I set up a shift like this ? Thanks
Is that very simple? But can't do that. Please help me. Many thanks. I have try with this: Alert("OpenD1: ", Open[0]," HighD1: ", High[0]," LowD1: ", Low[0], " CloseD1: ", Close[0]); And back test it with: (From 2009.01.01 to 2009.12.20) - Period: Daily - Model: + Every tick...
Hi Everyone! So I've been using the shell32.dll to execute .exe files for my EA.. It works fine, however, I can't use it in tester because as soon as the EA fires off the command, it proceeds with the rest of the script.. is there a way to make tester pause from setting off the next tick until all...