MQL4 and MetaTrader 4 - page 762

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++)...
[Deleted]
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...
[Deleted]
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 ?
[Deleted]
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...
[Deleted]
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
[Deleted]
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...
[Deleted]
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
This happens in many pairs and the problem doesn't disappear unless I delete the historical data and force MetaTrader to download it again. I've tested in Oanda and Alpari and it happens in both of them: As you can in the 1st one, the last bar (7th May) doesn't show any spread and barely any volume,...
When new MT4 terminal was in beta version, i could easily port all MQL5 apps to MQL4 without some major changes. In the final release and releases after it - the MQL4 EAs do not have comments set up - they just display variable names. Anyone know why is that? I'm attaching screenshots to show what i...
i.e. all the charts lost their indicators. How can this be stopped? I was not using "Default" profile but another, and I think an upgrade came down, or there was some corruption and this triggered a complete wipe. Suppose it is easy enough to save the current profile as a backup from time to time....
Hi I would like to be able to save a chart when I make a trade so that when the trade is over I can analyse it and figure out where I went wrong - is this possible ? Thanks N
what is the code to indicate to the EA to increase or decrease the positions based on the result of the previous operation, and prior to this? With the molanis software you can create a code through a visual diagram. They have an option to increase or decrease the percentage of the actual positions...