General - page 1478

Hello, I was wondering if any of you had suggestions for how I should implement my cross strategy. I've written the beginning stages of it, but need a push in the right direction or even better some examples. My idea was to create an Expert Advisor that traded on a 1hr. chart with the cross of...
Try the following EA in MetaTrader5:int arrayA[];double arrayB[];int OnInit() { ArrayResize(arrayB, 10); ArrayResize(arrayA, 10); Print("- Listing elements of ArrayA --");   ArrayListElementsInteger(arrayA); Print("- Listing elements of ArrayB --");  ...
While working with the Strategy tester to optimize an experts parameters I have run into an issue where when optimizing the Balance + Profit factor the result ends up blank. I export to XML and see that the result appears to be the max size for a double. I'm not sure what has caused this but it...
  EA newbie  (1)
Hey All, New to the forex 'game'. Been reading bits here and there and have come across expert advisors. Could someone provide me with a short version of how an EA is supposedly used to help traders, advantages/disadvantages. Preferably without opinionated points/responses please. From my...
According to Chicago Board of Trade history, the earliest “forward” contract for corn was recorded in 1851. This essential grain has come a long way since then in both everyday applications and futures trading. Since the first Amerindians cultivated it, corn has been an essential food product...
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 ;)