General - page 1470

Dear MetaQuotes-Team, I would be very, very pleased if it would be possible to add an extra line of statistics (or maybe even some lines) to the optimization results of the tester. During optimization (grid optimizations done by hand) I'm interested in average values for most of the columns, e.g
Is there any indicator to divide two charts? I want to create a chart of XAU/GBP by dividing XAU/USD by GPB/USD.
When a 15-lot position is closed by stop-loss or take-profit it happens in a single 15-lot order. Is that compliant with the ATC 2011 rules?
Hi, the latest version of mql5_chinese.chm seems to be WRONG layout direction! download from "https://www.mql5.com/files/docs/mql5_chinese.chm" It should be and was be:
Anyone has any idea when the full version will be released and ready for trading?
I saw StringFormat doesn't print correctly a double as an int. For example: printf(StringFormat("int1=%i, int2=%d, double=%f",0.00356,0.00356*10000,0.00356)); and it yields: int1=1918647790, int2=-858993459, double=0.003560 is this correct or is it a bug?
  About MT5  (5)
I talked to number of brokers and they still not ready to open live MT5 accounts. One broker said it is full of bugs. How far true is this? As far as I know only nordfx.com has live accounts. Does anybody knows any other brokers who have live MT5 accounts?
Hi, How to plot an indicator over another indicator ??? For example I want to plot a MA over Trix indicator in the Indicator Window.
I tried now the new cloud network for testing. well i did run now a test with nearly 100.000 results. for better checking the results i exported it into xml. now i have a problem to open the export file. I use open office. normally i open xml files in calc. but 100.000 datasets are to much (i...
  Robot forex EA  (2)
Hi all , I started to use this EA in demo account and its performance is OK. The problem is that it does not trade with less than 0.1 lots. Can anyone tell me how to modify this EA to trade with amounts less than 0.1 lot? Thanks
In the last championship many of the assessors, including myself, had problems with ambiguous interpretation of the Championship Rules . I suggest that questions that are not clearly or completely covered in the rules, but may nevertheless be a possible reason for disqualification of competitors
Does anyone know of this problem? I can't start metatrader. Yesterday I downloaded latest copy from metaquaotes and chatrs opened after install. But today, it doesn't start. I clicked on desktop icon, start menu icon and on actual terminal.exe in in the metatrader folder... and nothing happens. I...
the im tring to have likedList objects that have diffrent values but every time i tried the vales change for all of them when i attend to chang the type in side one eleament so i decided to make a structer for the class and now it crashies.
Hi all! I wonder,how and when to pyramid as soon as I see that trade is profitable. Is there any kind of indicator,calculator,tutorial,etc which can help me? Thanks
A question I often receive is, "How can there be more buyers or sellers at one price? Isn't there a buyer for every seller and a seller for every buyer?" The answer is yes, but people are forgetting one important thing. There is a bid and an ask (or offer), and only one of them can be traded at a...
Hi i used to count number of open orders using OrdersTotal but in mql5 the code is not working well. Here is my mql4 code that now doesnt work in mql5 if(OrdersTotal()>0){ for(int i=1; i<=OrdersTotal(); i++) // Cycle searching in orders { if (OrderSelect(i-1...
Hi does anyone know how to color volume bars according to price bars metatrader 5
i have attached price crossing moving average EA and i have manually seen and evaluated it performance. if following amendments are made, it will the most profitable EA, i have ever seen --Show settings parameter should be removed --Risk parameter should be removed --Account Micro parameter should...
I am using MT5 Build 470 and I am getting "tester agent synchronization errors" when I try to test my EA's. The terminal is connected and my Time is ticking, so everything looksok, and I also use the built in EA samples and I get the samesynchronization errors. How do I fix this "tester agent...
&nbsp;Hello i use this indicators with &nbsp;metatrader 4 &nbsp;but I want to use them in metatrader5.&nbsp;Can somebody help me
with these parameters: BUY if EMA8>EMA21>EMA55 SELL if EMA8<EMA21<EMA55 CLOSED POSITIONS when EMA8 across EMA21; same value no buy/sell. Mangement stop loss, take profit, trailing stop, lots, etc. Thank a lots.
Hello everyone, I'm Spanish and do not write very well English, forgive if spelling. I'm a newbie with MQL4 MQL5 and I am trying to run this function of the MQL5 help book. void OnStart()   {       uchar An;              for(char A=-128;A<=127;A++)       {          An=A;          Print("A = ",A," An...
Hello, iam writing an EA and i use a custom indicator, that custom indicator script includes another file #include <SignMod.mqh> In that file is a function, called: int getSignal(int cVal); Normally the indicator calls the function and works with return value from getSignal(). How can i use...
Hello @ all... I have a for while, 0-19 steps an i have 20 functions to call: getDate_1(); .... to ........ getDate_20(); How can i call that with 1 Call() in that while? // Daten for(int sc=1; sc<21; sc++){  // Signal  test = "getDate_"+sc+"()"; how i do the call??? } thanks for your help ;)
First of all, thank u for all MetaQuotes programmer to deploy some debugger option for programmers. but, iam bit confused, about watch window, could somebody to help me or explain this: Simply define a loop with internal variable, and i add the "watch" variable to the watch window for(int i=0;...
I'm tryng to design an Object Oriented EA for quantitative analysis and I'm in trouble with Timeseries. I'll try to explain: -I want to store in an object the history of a symbol for a timeframe from a certain date in the past (startdate) to date of initialization of object (initdate) to an...
How to Calculate with date and times? On several places there are comments like the following (https://www.mql5.com/en/forum/688): datetime t; MqlDateTime mdt; TimeToStruct(t,mdt); mdt.day += 45; //or mdt.day = 50; //50 days from the beginning of the month //or mdt.hour += 134; //134 hours...
  Magic numbers  (1)
Hi, I am having some difficulty understanding the way magic numbers are used in MQL5. If I declare a global variable my_magic = 12345 and then in the onTick() function if I try to place only one buy order would the POSITION_MAGIC, ORDER_MAGIC and the DEAL_MAGIC be the same as my_magic? If magic...
Hello, I have MT5 Demo with Build 468. Local Time: 19:10, 2011.06.22, Berlin Time. The bid price line on the Charts of EURUSD (20 minutes and 2 hours) shows 1.44039. The Market Watch window shows 1.43987. The price line on the Charts (EURUSD) is not correct. What is the matter? The price line on