Download MetaTrader 5

MQL4 and MetaTrader 4 - page 342

To post a new topic, please log in or register
Hi guys,   I have a perfect strategy, but I want to use it on close values. Normally  it trade on every tick data.   This strategy is based on the OHLC values, of closed bars. So I don't need every tick data. I have a picture of this strategy attach to give a better view of the problem.   This...
I have an EA that I have put together however the problem is it is not placing orders the way I want it to. The logic behind it is to trade Short when the following conditions are met: Perceptron is < 0When TradeShort = True ( a combination of the following signalsbool macdShort=...
Does anybody face the problem, that after compile external values are not "reset" to the ones in EA?  Here is an very simple example:   #property copyright "Copyright 2014, MetaQuotes Software Corp." #property link      "https://www.mql5.com" #property version   "1.00" #property strict //--- input...
Thought this would be easy but can't find a solution If - for example I have some objects on a chart then I want my EA to check for there existence then interrogate the details of the object. If I draw - say 3 lines on a chart - Insert Hline - then I will have 3 lines withe names like Horizontal...
Hello, I don't know all the new functions after updating. Is there a function to switch windows? (eg USDCAD is in the foreground and the function must change to EURUSD) thank you
I already tried it myself and I got returns of zeros. here is my attempt: double SmoothedMA(const int position,const int period,const double prev_value,const double &price[])  {   double result=0.0;   if(period>0)     {      if(position==period-1)        {         for(int i=0;i<period;i++)...
Hi all, I have gone to great lengths to try to get Binary Options Bullet indicator to have emails sent to my gmail account when there is an alert. I have even set up an Hmail server which is continuously running along with MT4. I can send mails from the MT4 test option but it does not work with the...
  NO CONNECT (1)
Please! This caught my MT4 terminal, and in the lower right corner of the following message: No connection. Someone help me.
I want help for compling the attached file in new build mql 4610.
This is really shaking my confidence in automated trading. I've attached a screen shot and part of my chat attempt to resolve this. These are two demo accounts. I open the same AUDUSD 5min chart in account 756 and it appears normal. I open it in account 326 and data is missing from 5:15 May 6...
Hi, I'm currently in need of help to understand the formula behind object naming especially in Fibonacci Indicator from MT4 as you can see above. The moment i drop the same indicator on the same chart, it will come up with different number automatically. I'm trying to simulate the same idea for...
Hi guys, does anyone have a WORKING Version of an economical calendar? I only find old threads with dead database links. Thanks!
If this is switched to off/red, does this disable scripts too?
//+------------------------------------ ------------------------------+//|                                   Reverse_Grid_Martingale mod.mq4 |//|  Copyright 2008, Constin@ForexFactory // mod. 03.2014 fxdaytrader |//+-------------------------------------------------------------------+// !!! YOU MUST...
Probably i have too much indicators in my platforms, demo and real, and run them on the same time so my computer runs slow. I want to remove the indicators that are not used but how can i do that in the best and fastest way. Should i do this manual, or is there a feature somewhere that detects the...
Hi, im writting here to ask one question, im trying to connect to a broker account in metatrader loading it from a start.ini file. If i write it manual in terminal i can connect, but if i try to connect auto with ".... terminal.exe" "....... start.ini" on cmd, it says '1111111111' : connect failed...
I have created some profiles that I no longer use and want to delete them from the menu. I thought that I could delete by highlighting the profile right clicking it and pressing delete on the menu that came up. However, no menu comes, so how do I delete profiles no longer required ?
Hi, Is there a way to receive "Manual Trade Confirmation" which can be selected under EA settings to Iphone? I do receive notification of executed trades on my cell phone but I need to receive an email or a message to my phone so that I am aware signal is created to manually execute the deal. thank...
Tradeing Trader
Hello, i want to codeing into my EA that a order can be just for exampel 120 minuts open, then the EA should close the Order, when he is longer then 120 minutes open. But i have a problem with the weekends, when the forex close at friday and open at sunday or monday, then i want that the order keep...
  Terminal Globals Problem (51   1 2 3 4 5 6)
Hey, Folks I've got something going on that's about to cause me to say goodbye to MT programming. The problem is in trying to set terminal globals. What I'm doing is something like this: BuyEntrySignalGiven = Symbol() + "BuyEntrySignalGiven";GlobalVariableSet(BuyEntrySignalGiven, (double) 1.0);...
HI all, I am beginner in MT4,and this is my MT4 first installation ( i am not upgrading or updating the MT4) . I am downloading the source from this website and after installation finish, I m not installing any new custom indicator and EA but the ones that come with MT4 aren't working. (i am...
Hello i try lot of sclaper scripts.. but i cant found basic scalper ea My idea is click on auto-trading and scalper open 10-20 jobs but i dont found script whoes can do it I am new on the forum dont flame me.. :)
I am converting a build 509 indicator to 610 and am getting the error: "arrays are passed by reference only" for lpRect in GetClientRect. How can I fix it? int GetClientRect(int hWnd,int lpRect[]);
So that can I save the important info to me from each trade, I made code to search for the ticket number (first column) while inside a for loop looking at all open orders. The purpose of this code is to try and over write one line in a CSV file with new information for that line/ticket. Once the...
I am building a EA to manage an account where two or more EA´s are trading. I need to know for each EA the Magic Number and Chart ID where the EA is running, and I need to known it from the EA that is managing the account. The functions ChartFirst and ChartNext allow to know the Chart ID of all open...
do you know what that means,? got that into my log file yesterday Signal - failed write data [112]
Hi, I would like to get Last 2 digit value after decimal point? eg: 0.81425 0.8142 Thank you in advance.
Dear Traders, I have some problem here i know that,How super trend works. iCustom(NULL,0,"SuperTrend",10,3,0,1) //buffer 0 ie uptrend iCustom(NULL,0,"SuperTrend",10,3,1,1) //buffer 1 ie downtrend But My Trading Condition is When ATR rising and Super trend give BUY signal A Blue Buy arrow should...
Dear Traders, Can anybody provide me the pure "Wilder ADX indicator" Thanks In Advance. Suresh