Download MetaTrader 5

General - page 1083

To post a new topic, please log in or register
How to draw verical line like ichimoku indicator?
Has anyone else studied the underlying Bid-Ask prices in the backtest environment? I'm using the previous version of MetaTrader available at InterBank FX. I used the print command to see what values the system is using for Bid Ask prices. I printed values for the latest hour and saw spreads of 2...
Greetings, I hope this post can bring someone attention to develope Sidewinder for MT4. Please let me know if more info is required. Best Regards OKL SideWinder is a combination of 34EMA and 25LSMA to calculate the trend using a proprietary formula. It is ONLY used for ZLR trades. SideWinder...
2:26:37 SOLOD_1 EURUSD,Daily: Error opening SELL order : 6 02:26:39 SOLOD_1 EURUSD,Daily: LOTS=2 02:26:39 SOLOD_1 EURUSD,Daily: Error opening SELL order : 6 02:26:42 SOLOD_1 EURUSD,Daily: LOTS=2 02:26:42 SOLOD_1 EURUSD,Daily: Error opening SELL order : 6 02:26:44 SOLOD_1 EURUSD,Daily:...
I'm "still learning" how to program and wanted to create and use a User Defined Function, however I guess I don't understand how to do this. I am modifying an indicator which uses the following code mulitple times. I thought it best to create a function and call it rather than duplicate these lines...
  Alerts (4)
I created an alert, which worked, and then I deleted it.. However the alerts is still sounding, since I've already deleted it I can't delete it again.. does anyone know where these are stored on the hard drive ?? thanks in advance d
  Stop Level (2)
Can anybody expalin, what is the "stop level " in the symbol property window? and what does it do?
To MeataQuotes: Unless I am missing something the following function appears illogical since there may be more than one object assign to (i). name=ObjectName(i); How do you get all objects assign to (i)? In addition, even if only one object is assign to (i) the function returns wrong name.
My broker, FXDD, is still on v3.86 build 6414. I'm a seasoned software developer and am trying to write some experts but am having all sorts of "strange" issues. Specifically, global variables won't set properly at times. Another issue is variable initialization. If I declare a var as...
I want to make a strategy where they have different closing methods. What I mean is for example when its a buy then to close the indiactor has to go from x>0 to x<=0 and if sell then x=0. My problem is that Im not sure where to input that. Should I just not put anything in the close and then go in...
Global variables to program are set values in the init() function are not visible while in the start() function, is this correct? double dTest; int init() { dTest=1.234; return(0); } int start() { Comment( "dTest:", dTest ); // dTest:0 return(0); }
I set the "To:" field to "a@a.com, b@b.com" in Tools->Options->EMail tab. And I use SendMail() function, but I can't send a mail to 2 addresses. MetaTrader converts the "To:" field to '"a@a.com" <b@b.com>'. Could you show me how to send a mail to 2 addresses?
hi is it possible to send email from the EA , like when i put and alert to some condition?? coz i didnt found the function to do that!!!!!!! for METAQUOTES : can you add this founction to the MQL4 . thanks
Hello, I use Matlab (www.mathworks.com) to develop and test my trading systems. Soon I will use Metatrader to trade in Forex. I know I can save CSV data files in Metatrader 4. But is there a way to get data directly from Metatrader 4? Maybe an API as in Metatrader 3. Maybe another way? Can...
Hello, how ist Swap calculated in StrategyTester on Weekend? I found out that when I open a position on Friday and close it on Monday after, swap in StrategyTester is calculated only for 1 RolloverDay not for 3. Is this calculation similar to real swap calculation ?? Thanks
  struct TestHistory in fxt (17   1 2)
Can you please clarify on the 'flags' field in the 'struct TestHistory' (fxt files) What is the meaning of this field? I see it takes values of 0,1,2,3.... Thanks
Hi I have installed Meta on two computers. First copmuter has server MetaQuotesDemo. Second computer- InterbankFX. Now I am looking at slightly different charts. I'd like to have same servers on two computers. Could anyone explain me how to change server? Thanks in advance.
In the following: #include &lt;stdlib.mqh&gt;int start(){ Comment(&quot;Test comment: Up &quot;, (Bid - Low[0]) / Point, &quot; pips from low, down &quot;, (High[0] - Bid) / Point, &quot; pips from high&quot;); return(0);} The comment always refers to one tick before, not the current...
Although new to MT and MT4 in particular, I have experience with Omega products. I am trying to gain an understanding about visual signals and their relationship to the decision (coming from the from the formula) to make a trade and finally automatically carry out that trade. I have been told that...
  switch (3)
string MyString=Symbol(); switch (MyString) { case "EURUSD": MyFunction1(); case "EURCHF": MyFunction2(); } Compilation gives an error "'switch' - different types in switch statement ". What is the problem? Thanks!
I noticed this issue while trying to draw Weekly MA's on a 4 hour chart. I'm using a Trading system called the Tunnel, 2 indicators, 2 MA's on a 4hr chart and 2 MA's on a weekly chart. I decided to include the weekly MA's on the 4hr chart. However, when I coded it and it drew the weekly MA's on...
Hello, The strategy tester for MT4 should give the same backtest results as MT3 strategy tester. First spread is missing, cant seem to get buy, sell, close, etc arrows on chart. I use daily bars, and backtest results in MT4 are not the same as in MT3. why is this so? is the strategy tester...
Why would my iLow give me the day's open and not the low of the day? In fact the Open & Close & Low are all the same. I have used "PERIOD_D1" in stead of zero, but it still does not work. if(iLow(NULL,0,0)&lt;(OrderOpenPrice()-(OrderTakeProfit()/10000))) {...
Hi all. My charts are freezing up on me while my EA is running, even though the price continues to change in the Market Watch section of MT4. I currently have 4 MT4's running, so perhaps that is the cause? As you can imagine, this is a big problem. I have turned off my screen saver...could that...
Previously in MT3 I used to use the "every 1 point (slow)" model. In MT4 which is the same model as "every 1 point (slow) model? Thank you
Hi everyone, this is a simple expert that actually came with the InterbankFX trader I believe. I noticed the stop loss is WAY off here. https://www.mql5.com/go?link=http://www.forex1000.com/FXFisherman/bullbear.mql If the stop loss is set at 30 then it will befor example a stop loss of 30.2227...
My Expert Advisors cannot modify order in Live account -------------------------------------------------------------------------------- the massages in 'Expert' page of 'Terminal' window are as follows: 2005.09.21 14:04:57 [xxxx] EURUSD,M5: modify buy. #0 1614423 failed with error #6 2005.09.21...
Using https://download.mql5.com/cdn/web/metaquotes.software.corp/mt5/mt5setup.exe?utm_campaign=MQL5.community you can download new version of MetaTrader 4 build 182.
Hi, I've been trying to access one currency pair (EURUSD) values in an indicator of another one (USDCHF) but have been running into problems. I've tried ArrayCopyRates() method. The data returned in the array at any index 'x' does not correspond to the data at index 'x' of the working currency...
I I have two accounts , and would like to trade the same EA in both, What can I do? and also If in each of those accounts I would like to trade say 4 currency crosses, each example Account 1 EA1 for EURUSD, and GBPUSD... EA2 for CHFUSD EA3 for JPYUSD Account 2 same as Account 1