MQL4 and MetaTrader 4 - page 1672

[Deleted]
Hello. I'm having problems with problem with MailSend() function. ...
[Deleted]
int a[10][2]; int b[10][2]; ArrayCopy(a, b, 0, 2); What does the start index of 2 (or the zero) mean in this context? Is it the 2ndindex on rank 0, or the 2nd absolute element? How does one copy arrays as above if say I only wanted the last 2 elements usingrank 0. e.g. a = [1,2][3,4][5,6][7,8]...
[Deleted]
Hi all, I'm working on my first mq4 expert, and have run into a stumbling block. I want my expert to close half of the lots when the first take profit goal is reached,and then close the other half at a later take profit or trailing stop. Problemis I can't figure out how to keep track of which...
[Deleted]
//+------------------------------------------------------------------+//| Moving Average.mq4 |//| Copyright ?2005, MetaQuotes Software Corp. |//| http://www.metaquotes.net/...
I have security question. It happened to be added new user with set:administrator - Windows 2003 server. Listed: Path: E:\Programi\MetaTrader 4\terminal.exe Properties Security Group or user names: Account Unknown(S-1-5-21-823518204-1935655697-682003330-1003) Administrators(.....
[Deleted]
http://forexforsmarties.com (ak FFS) This hedging system lets you trade forex pairs in the below combinations as a hedge. Correlations of these combinations is how you makes your monies. My indicators is will show this relationhship. I believe there are no indicators for FFS yet. 1. EUR/USD,...
Somehow the font in MetaTrader library has been changed to about 84 an cant seemto get it back to normal. Where is the setting for this so I can change back to12 or so? I downloaded another copy into a different directory and now the libraryin that is huge too.
I haven't been able to reliably login to this forum for over two weeks! I've been very patient about giving the admin a chance to fix the problems, but at this point it's just getting too frustrating. It seems to act differently on just about every computer I try.. on one, it keeps trying to...
Hi, start() function is called only when a market tick comes. Is there any way to callan expert's start function any other time? For example could we call start() functionfrom a DLL? (May we create a timer in DLL and let it call functions from the expertperiodically?) Hope to find an answer to this...
[Deleted]
I have the same EA running on Alpari-demo and FXDD-demo. For some reason the Alpari-oneis running OK, but the FXDD-one is doing nothing. I see the commentlines at Alparibut not at FXDD. What could be the reason for that?
[Deleted]
the metatrader/alpari data includes sunday pre openning data, which will effectthe indicators' calculation. look at the sunday period, on the 15min and 30 minchart, there are a few extra candles. on the 4 hr chart, the candles completelymesses up. so if your ea makes money on one and not the other...
[Deleted]
Hello, This is my first post. I have gained alot from reading through this forum and Ithank all of you that contribute to it. I have been learning MQL4 (the first progamminglanguage I have tried to learn) for the past couple of weeks so that I may testand optimize my systems. I have no intention of...
-
Hi. The file attached is another pivot point indicator. I´m working in a modification of the code from another one to look like in some particular way. Everything works Ok if you want to use. But, I added labels (objects) to the lines of pivot, support and resistance to a better description...
The SendMail() function can send emails to one address. Is there a work around that to sendemails to several people?
[Deleted]
  ArrayBSearch  (6)
If ArrayBSearch returns 'the nearest element' if it can't find a match, how doesone tell if it did or did not find a match? Another question, if I wanted to remove an element from the middle of an array,could I do this? int array[10]; //Remove the nth element int n = 5; ArrayCopy(array, array,...
[Deleted]
I'm interested in making an automatic system which performs pending orders basedon a data file. I'm not sure if this should be a script or an indicator, and i'm not sure on howto write the exact code either. I have a script which i made this far (only from little experience in vb):...
Hi, I am a new user of Meta trader. How di I import the indicators on the forum in Mete Trader?
encoutered this problem. every execution of tester: 2007.01.16 14:58:41 2006.01.03 00:23 HiMeeTest: cannot open file D:\Program Files\InterbankFX Trader 4\tester\files\CONFIG.dat anybody know how to solve this... pls..... thanks,
-
  Value on left side  (10)
Hi. As we can see the price on the left margin moving up and down I´m looking for the possibility to do the samewith the indicators like RSI or MACD with the current value. IE: RSI is 35.93 or MACD -0.00290 Actually, you can read the current value of the indicator by pointing the mouseover it near...
[Deleted]
Hello All, I'm a newbie at MQL4 and like most if not all I'm hoping to create the perfectprogram that makes lots of money :-). That being said I'm having difficulty withsomething that I fear is probably relatively easy for most. I'm trying to analyzemy last closed order and see if it made profit or...
[Deleted]
MetaTrader Forex Tester - Professional Forex Software for Trader. MetaTrader Forex Tester is a professional software of the Foreign Exchange Market. It allows you to gain and improve trading skills without risking your money. You do not need to train in real time, waiting for days and weeks to test...
[Deleted]
Here you can vote and support your favourite (whatever that is) trading platform: http://www.soft-ratings.com/ Kindest regards, Diam0nd.
[Deleted]
channelHigh= MathMax(iHighest(NULL,PERIOD_M30,MODE_CLOSE,5,1),iHighest(NULL,PERIOD_M30,MODE_OPEN,5,1)); channelLow= MathMin(iLowest(NULL,PERIOD_M30,MODE_CLOSE, 5,1),iLowest(NULL,PERIOD_M30,MODE_OPEN,5,1) ); what i am trying to find is only the candle bodies NOT WICKS, so the highest openand close...
[Deleted]
I have a need for a function to call itself and the number of times that itmust do so cant be easily determined before the first function call is made.    Does MQL4 allow a function to call itself (this capabilityis known as recursive calling)???
Hi. I am trying to pull up the sum in dollars of all closed orders in history thatwere from this single EA. After #property link I have extern string EAName = "MyEaName"; double closedProfit = 0; somewhere after int init() I have int i,hstTotal=OrdersHistoryTotal(); for(i=0;i<hstTotal;i++)...
[Deleted]
  a bug
Sometime they are a bug when you draw a trend line, it's a different trend linein some time unit
[Deleted]
  Transaction Log  (1)
I trade threw FXDD and I’m looking to generate a transaction log at the end of each trading day that gives mea log of all trades in addition to this information: Previous Ledger Balance, Closed Trade P/L, Deposits/Withdrawals,Balance, Floating P/L, Total Credit Facility, Equity, Margin Requirement,...
NorthFinance support tell me that this error is not thier problem? 2007.01.11 18:29:18 '30947': trading by experts is prohibited My Journal Log is full of these errors and as much as I try and tell NorthFinancethat the problem is on thier side, they insist (Gavin from Support) that the problemis a...
[Deleted]
Hi. I need to know if datetime is represented as a signed or unsigned long. The typedefinition doesn't say. I'm assuming it's unsigned. BW
Hi, I wrote an MTF Envelopes indicator and it works... sort of... if the line //#property indicator_separate_window is uncommented then it will work just fine, displayed in a separate window. But with this line commented, it simply draws nothing. How do I fix it? What am I forgetting?