Download MetaTrader 5

MQL4 and MetaTrader 4 - page 606

To post a new topic, please log in or register
  About EUR/USD (2)
Hello, please give me some informations about EUR/USD. I want to know where is the end of this rally, EUR/USD now running about 1.30070, I want to know probably where will be the end, 1.31 or 1.32... I can not understand, please give me some idea, I will remain grateful to you. Thank you.
Hello, i created an Expert Advisor for an offline chart that looks like the following code: int init() { start(); return(0); } int start() { while (!IsStopped()) { RefreshRates(); //execution code Sleep(1000); //print each 5 mins a message "i am alive"...
Is there any mql4 to C translator? Thanks!!
Hi, I have EA applied on each chart, and I have 24 pairs of charts running at anyone time. EA on each chart has successfully triggered orders accordingly. However, I notice that not all charts fire my EA. Somehow a few charts simply do not fire the EA at certain time, and I have no idea why it...
I am trying to find out how to efficiently deal with matrix multiplication and matrix inversion in MQL4 but I have no idea where to begin. I have minor programming background, mostly SAS, R, MATLAB, C++ and python. If anybody could point me in the right direction or if any scripts exist to deal with...
int barcount;        bool closebuy = false;        bool closesell = false;                //Process calculations only once per bar        barcount = GlobalVariableGet("BAR_"+Symbol());                if (barcount!=iBarShift(NULL,0,0))     {        barcount=iBarShift(NULL,0...
  everytime loss (13   1 2)
dear friends i m playing forex but im everytime loss why please how to cover loss please guide me thank yo
Hello boys, Just curious, is there any tool readiy available out there to construct time series, or plot the value of Portfolio Equity as a line chart? So that you can visualise it better, i.e. plotting Equity/Balance instead of pairs. I would think this cannot be done in a pair MT4 window, as...
Hi, I am new to FIX Messages and Meta Trader and Meta Server. I've a doubt in FIX to Meta Server. Is there any possibilities to connect my FIX Client to Meta server? Thanks & Regards Dhilip R
I have a problem when programming an MT4 Expert Advisor. The "OrderSend" function works in the strategy tester but not on the live account... Why ? Need a magic number in the order ? Need to add a comment ? Need to open the order and then after set stop Loss / take profit (really not safe) ?...
Hi All, I have an EA that needs to be configured with "Allow DLL imports". I can either set this every time I attach this EA (that is annoying) to the chart or set it by default - but it will affect all other EAs. Is there any way to set defaults for particular EA only? Thanks in advance, Michael
Hello I'm very new to MQL4 programming but I have a lot of experience in programming I started with the most simple program to get a first feel of how things work. init() function is being called but start() function is never called This is my code: #property copyright "talfink" #property link...
I am currently studying how to code MQL4 though am not a programmer. My aim is to build a simple EA based on crossover of 5 and 8 EMA settings. Crossover to the upside opens buy positions, while to the downside closes the buy positions and opens sell positions automatically. It should be able to...
Hi forum, how can i change the Take Profit value for some hours during the day? For example: time between 8:00 & 14:00, the TP is 20 pips and time between 14:01 & 18:00 the TP is 10 pips Please show me the way Thanks in advanced
Hello! I have some EA, which in init() function creates one file and delete it in deinit() function. In start() function EA opens and close it. The problem is that sometimes (don't understand why) file is not deleted and I get ERR_SOME_FILE_ERROR 4100. Please, tell me, how to fix this problem....
Hello, I have written an algorithm in VBA for FX trading. I would like to know if I need to convert this algorithm into another programming language so that I can trade on a platform. I have not yet decided on the trading platform, but it seems that MetaTrader is one of the bigger ones. I'd very...
Good day everyone! I do not know if this is doable or not so I thought I would ask. I am a newb and know nothing about writing up a program so I am asking if anyone here can help me. How I trade is by switching back and forth between different time frames to determine if the signal of the lower time...
Turning on Russian interface on in MT4 (Windows XP SP3 Home Edition) makes all menues of unreadable strange symbols. Russian news are unreadable with any interface. Please tell which font is used for interface to try to fix the issue.
  Angle in degrees (19   1 2)
How do you measure the angle in degrees from the last bar's close to the close n bars ago? And no, the angle does not change if you zoom out, because zooming out does not mean changing the length of a unit, it only changes the perspective, it's like when you draw a triangle on a sheet of paper and...
Hello, I want to send pending order with entry price value from Fibonacci. double p1,p2,tp1,tp2,tp3; p1=ObjectGet(FibName,OBJPROP_PRICE1);     //100% fib price string sp1=DoubleToStr(p1,5);                // price to string p1=NormalizeDouble(StrToDouble(sp1),5);     //string to double...
It´s possible to load Template with Tester? I dont know why, but if I load my EA named "test2" than there are some indicators load with him, but if I copy the original sorce and put in another EA with another name, than this indicators are not load with the EA, now I just wonder why by the one EA...
Hello Friends, I am new to this site and dont know writing any programs for backtesting. I shall be thankful if somebody writes a simple program for me. I think some good programmer shall only take half - day to write it. If anybody is interested to do it, please reply.
My dll won't load with build 432 August 2012 but it does with build 432 May 2012. I get an error 126 but it's a static dll and has no missing dependencies. What happened MetaQuotes? I can't add build 432 August 2012 terminal.exe to Data Execution Prevention (DEP) exclusion list any more!!! But with...
  Windows RT (2)
Hello, Has anyone tried to run metatrader 4 on windows RT (windows 8 for tablets) or know if this is possible? Thanks, Irv
I want to use the dll but need the syntax for the result function. Can someone please help me find a tutorial with the proper calls to the dll? in this code 'TicksInMySQL' are used some calls to make and run a query but i want to read the results also. Any help or a poit where i can get it will be...
so,2038 is the end of the world instead of 2012! Forgive me with google translation!
Hi, I want to learn programming in mql 4&5, started 2 weeks ago. But so far i didint find any type of resolution for my system. System generate signal after MA crossing - i know how to do this. System than place pending order buy/sell from MA level. As price bounce lvl. I dont know if it is...
I realize there is no way to totally accurately account for volume in forex as there is with stocks and futures where the # is totally known to us. I feel this is a big disadvantage needing to be addressed and atleast try to account for in some way. One way would be to account for the rate at which...
I want to add 0,10 0,20 0,30 and on to the quotes. Can somebody help me?
  Share your backtests :) (30   1 2 3)
Hi all! I thought I would share a back test of my best strategy. I wish to see your best back tests here so feel free to show it off because I know you want to. ;) Strategy: Support & Resistance; (uses only open prices so ran "open prices only" modelling quality. Same result as Every tick.) 2003...