MQL4 and MetaTrader 4 - page 641

[Deleted]
I try to change the path of saving csv file to C drive (The main dir). Here the current code: y="\"";yy="\\"; Patch = "Csv_Files"+x2+Symbol()+x2; I want the file that created will saved in C drive (The main dir) instead in "C...
On August 11th, 2015, China changed the way the way the reference rate was calculated. This had immediate and long-term effects on the exchange rates of just about every currency. The infographic below shows the devaluation of the Renminbi against other currencies after 24-hours, 1-week and 1-month...
I downloaded MT4 Build 880 on 20/09/15 and discovered that I had lost access to stock market index charts and data feed. This was a normal build update on my Demo account. I therefore uninstalled MT4 in order to start again. I have tried downloading and installing MT4 from various sites but the...
[Deleted]
Hi i would like to create an ea that when the equity is 10% more than balance or when the equity is of a certain amount to set every time in the settings it sends me email, i think is a pretty simple thing to do, can you help me?
I have a problem with the tester.   I select some parameter for optimization and initiated the tester. But, the tester trade only the first result and the other results didn´t show any trades.   I attached I printscreen showing all results.   Somebody saw this before and has a solution??   Thankd...
Hello, I have installed 6 mt instances in my desktop and i use them with NON MetaQoutes history data imported , for back test purposes. The same installation i use in my laptop, for the same reasons. After the last update 880 of MT4 i started to have the 131 error in my laptop instances only. I
int init()  {//---- indicators    SetIndexStyle(0, DRAW_ARROW, 0, 1);    SetIndexArrow(0, 221);    SetIndexBuffer(0, ExtMapBuffer1);//----    SetIndexStyle(1, DRAW_ARROW, 0, 1);    SetIndexArrow(1, 222);    SetIndexBuffer(1, ExtMapBuffer2);//----    switch(Period())      {        case     1: cTime =...
Currently I close my Orders at set times, (or TP/SL whatever comes first) via a simple EA. I would much prefer that this functionality was directly available on the server for open Orders, similar to that of Pending Order Expiry times. 
Hi everybody When i try to start my MT4 app, the computer goes to restart inmediately, configuration is Sempron LE-1250 processor on Windows XP SP2 32 bit with 2GB Ram and Nvidia GeForce 7025/ nForce 630a with shared memory.
I'm using a Currency Strength Indicator showing 8 currencies. How can I change the USD default line color and width, so that it is saved? I can change it on a particular chart, but at next use, it changes back to the default value. Edited to change currency pairs to currencies. Added details. Added...
[Deleted]
In Forex Market, It is very important to understand the meaning and the importance of margin, the way they are calculated, and the role. The global success of the FOREX market is made possible today because of margin.Without this important principle, the average investor would not be able to...
Hi I want to calculate drawdown between bars (Starting from the bar that breaked the price) relative to the value 1.0000 Example "SEE ATTACHED PIC BELOW": My EA buys when price brakes 1.0000 ! at time  15:30:05 15:30:45 / The price has moved down to 0.9500 15:30:55 / The price has moved up above 1...
[Deleted]
I have this indicator  that triggers  alert at the opening of a new candle, instead  of when  there is a BUY/SELL signals . Can anybody help me to fix this bug, so that  the pop up notification  and alert  triggers  ONLY when the indicator  gives  its  signals for BUY/SELL. Thanks 
Metaquotes just updated all my mql4 platforms to new build 880. Now I can not open my source code with the editor, going usual way from open data folder. I hope this bug won't last too long. Any work around?
  Modifying the TP  (5)
hi all am trying to find a way to modify the TP in several orders to average +20 pips any help?
[Deleted]
For some email serviceproviders it’s not important to fulfill their customer base, however, with theGmail Technical Support, your every query related to your email account isresolved attentively. This leading email service client believes in offeringthe best customer service to make their users...
Hello,  Could you please help me why my orders are opened more than 0.1 on every hour as I would like to have actually ?  Plus, the codes do not open order on every hour sometimes. Why do you think this happens ? Thank you.   #property copyright "Copyright 2015, MetaQuotes Software Corp."#property...
I have the push notification from my indicator doing OK few days ago but recently the message not send to me without reason! I try to check my Meta ID and it is correct, and I do the 'TEST' button and the message delivered well to my mt4 android phone (instantly), however the message from indicator...
[Deleted]
In today's markets when you swim among the sharks it is essential to wear the right gear. Here at Capital One Forex we give you the trading platform that the sharks themselves use! Meta Trader 4 is a trading platform that is considered to be the friendliest and most sophisticated in the world,...
[Deleted]
Hi, As we know in MT4 if you create a new order, the comment can be modified. But if you already hold one order, the comment can't be modified again. I hope the comment can be modified too for the holding order. As you know, some times we create a new order firstly, then modify the stop limit and...
Hello all, I'm trying to build an indicator that alerts me every time the indicators OBV, MFI y CCI intersect as shown in the image below in the blue squares: The problem that I have is that indicator OBV always has different values when it touches the other two indicators, so I can't condition it...
Hi coder/traders, I was hoping we could start a thread that highlights ways to write code that use less clock time/resources.. If there is a thread already that exists, then my apologies, have not found it yet.. There are a couple questions that maybe someone can help with.. First, is it quicker...
Hi all, I was about to launch a question concerning an issue I am getting at the time of running the strategy tester, the message is the following: Tester cannot calculate prices. The actions I am taking is to download tick data from DAX index, from Dukascopy, the EA is running with another assets...
I am creating a function to 'push' a value in to an array so that when I call the function like: ArrayPush(Double <VALUE>,  Double <ARRAY>) This function will move all of the values in the array along one entering <VALUE> at [0]. The question is this: Is it possible in MQL4 to NOT declare data types...
Hi, while a function can be exited with return(), how can I exit a void function after a certain condition is met and I don't wanna execute the remaining code in the function? Thanks!
Hi , what code syntax do i use if i simply want to count the number of times the top fractals appear over 50 bars for example? Just to count
Would someone help me with some code to return total open chart count?
I have an EA which is working on the DOW on my demo account. I have just started it today and the index seems to gone through the trigger points but I see no trade. Can anyone assist as to why this is? Yes, I have set the EA to ''allow live trades"'. It is based on the M5 time scale. Its on MQL4 J
[Deleted]
Hi,   Quite recently I finished a "previous" version of an EA.  I say "previous" because my idea was to use the Optimization process of MT4 to optimize the parameters. However, now, thinking about it I am wondering if this will be usefull or a waste of time. Because for Optimization I would use past...
Hi,  I closed a trade. So  the function OrderSelect( Ticket , SELECT_BY_TICKET,  MODE_HISTORY ) returns TRUE as expected.  I suppose closed trade can only be found   on   MODE_HISTORY    not   on    MODE_TRADES.  But why  OrderSelect(Ticket , SELECT_BY_TICKET,  MODE_TRADES) returns also TRUE ....?...