MQL4 and MetaTrader 4 - page 1087

[Deleted]
Hi, i would like to know, if there is a way to generate report of history (Statement.htm) to ftp (I already successfuly uploaded a file to my ftp so there is no problem). Is there some way to generate "plaintext" delimitered by ";" or ST else? Thanks for answers
Hello Everybody, My names Dave and I am trying to create a Zigzag oscillator indicator that resembles a MACD - but without the MA line. I have tried changing the code so as the ZZ appears in a separate window, THAT part worked. :) But I cannot seem to make it operate so as when the ZZ is up the
[Deleted]
When I write: OrdersTotal()==0 at EA this mean that no orders are open for this symbol or for All symbols? and if it is for all symbols how can i specify it for the symbol which I run the EA on it??
Just had a noob question that I'm sure has been asked a hundred times over. Nevertheless, I am asking it again hoping someone can just answer. I'm using the MarketInfo("USDJPY", MODE_POINT); function, and my broker, IBFX, is a 3/5 decimal broker. I tried to use a Comment(Point); and also:...
[Deleted]
I am clueless on why the strategy Tester Bid price should pull the current Live Bid into the Strategy tester. As a work around I can use Close[0] as a fix, but would like to know why Bid, is not useable. It then brings into question backtesting of Bid in EA calculations.
[Deleted]
I didn't pay attention to it before. Last week it got me thinking. Today I decided to address the community with a question: What is the purpose of DCs uploading EA and all custom indicators they use to the server. Another curious thing is that if some indicator cannot be uploaded to the server, the
New article The Role of Statistical Distributions in Trader's Work is published at mql5.com: This article is a logical continuation of my article Statistical Probability Distributions in MQL5 which set forth the classes for working with some theoretical statistical distributions. Now that we have a...
  ima and imacd  (2)
ı try to mov on macd for signal, how can ı write it on mql4 ? for example MOV(MACD,3,E)
  MB TRADING  (7)
I have created an Expert Advisor from this site http://sufx.core.t3-ism.net/ExpertAdvisorBuilder/index.html which only works on MB Trading MBT MetaTrader Strategy Tester but not on the Live Trading Session. Why is this so?
[Deleted]
Do time frames always matter? For instance say I have a strategy that enters a bull trade if a doji star appears in an uptrend and a bullish trade if a doji star appears in a downtrend on a 4Hour chart. If you I use a 1minute test in the strategy tester, should I get the same results if I tested it...
[Deleted]
I have been spending a lot of time trying to correct a StopLoss and TakeProfit problem.My Broker doesn't accept the StopLoss and TakeProfit in the same line of code as the OpenOrderBuy or OpenOrderSell. I have been very frustrated with this because of 2 reasons. I am not an expert Programmer and I...
[Deleted]
Can someone spot what is wrong with my code. I only have one place in my code where any division is being done but I continue to get zero divide errors double CalculateLotSize(double EquityPercent, double StopLoss ){   //Code to Calculate lot size                     // Print("AccountEquity():...
[Deleted]
Hi, Im new to MT4 and I want to write an EA, can someone please give me the cod or point me in the direction of a simple EA that triggers a buy or sale order when say the 2 lines of the Stochastic indicator cross above or bellow a level ( i.e 20 % or 80 %). Thank you
On the EURUSD chart of my MT4 the prices from 10th June 2011 to 22 Sept 2011 and from 10th Oct 2011 to 29 Dec 2011 are missing. Does anyone know how I can rectify this? Thanking you in advance.
I have six EA's running on my PC and all are actively trading. Other than the "not so friendly" expert logs, is there a way to see which EA executed any trade? Is there a report I can generate that shows the magic number associated with each trade? Thanks to those of you who have answered my...
[Deleted]
Hello Friends, I don't understand MQL4 language. I only have some basic HTML knowledge. I want that my mt4 have to trade automatically on following conditions. I have 2 moving averages on my chart. 20 EMA and 100 EMA and 1 Parabolic SAR. BUY IF : 1] 20 EMA...
Hi, I have an indicator which use information from another (higher) timeframe based indicator as well as current time frame data. this indicator is never displayed in the tester window, while others indicators works fine. what can I do to be able to display this indicator? thanks.
Hello, I have programmed an mtf-indicator and put it on a chart with a very long history. Now the metatrader wasn't running and working anymore. I cancel the metatrader with strg+alt+delete and startet my notebook again. But now the metatrader account doesn't open again. Can anybody help me?!
[Deleted]
  Email Solutions  (1)
Webindia a creative web solution and web hosting company and it is the fastest growing IT internet strategy companies in India providing reliable and consistent web hosting services, creative web solutions and support to clients and partners. Webindia software development company provides the best...
I am a relative newbie in programming. Is it possible to change a line of code that plays a sound alert to one that sends out e-mail alert instead? if (SoundON == true && Bars>alertBar) {PlaySound("Alert.wav");alertBar = Bars;} I tried substituting it with if (EmailON == true && Bars>alertBar)...
Hi, I want to program an pivot - indicator, which isn't using any indicator buffer. I have already reprogrammed an existing ea: double Res3[], Res2[], Res1[], Piv[], Sup1[], Sup2[], Sup3[];int init(){   SetIndexBuffer( 0, Res3);   SetIndexBuffer( 1, Res2);   SetIndexBuffer( 2, Res1);...
I would like to be able to access two values from an indicator within an EA written in MT4. I don't have the source code for the indicator. Is this possible? If I had the source, does that improve my chances? Thanks
[Deleted]
I've been using eSignal for around a year, but it's expensive. I've only just started using MetaTrader, (as well), so is anyone able to tell me if one or the other has significant advantages over the other? If so, what are they? Many thanks for any enlightenment - and a Happy New Year to all!
[Deleted]
Hi, this might sound like a strange question but here it goes anyway. If I wanted create a trading robot that trades as often as 'humanly' possible while still hoping to make money in this market what is the maximum trading frequency on the order of? Is it thousands, Hundreds or Tens per day?...
[Deleted]
  get the lot size  (2)
hi, please can anyone help me to know how to get the lot size of an opening order (buy or sell). thanks.
[Deleted]
  ger30 to eurusd  (3)
hey guys, can you help me calculating something? i wanna transfer my code which is based on ger30 to eurusd that i can use both symbols. my problem is that i dont know the exact exchange ratio. for example when i open a trade after 5 pips in ger 30 (6111-6116: open now)...what is it then in eur/usd
-
  orderclose problem  (10)
Hello, I have a problem when I must close an order, it does not work; there is an " invalid price " error (129) althought the programm seems good if ( OrderSelect (i, SELECT_BY_POS, MODE_TRADES) == true) { if ( OrderMagicNumber () == magicnumber) { int prix ; int
[Deleted]
Hi! I have a DLL called from an EA which works fine as long as the EA's start() is called on incoming ticks only. Now I changed the EA so that the whole logic runs in a while() loop within start() which executes every 200 msecs. Since this change the DLL works the first time I call it but aborts...
[Deleted]
Hey, I got an object: ObjectCreate(NameOfObject .... And now I need to place the same object several times with different coordinates but as the NameOfObject stays the same it's not possible to create multiple objects in the same chart. How can I set an extra name for each object? I would need...
[Deleted]
is there any time zone setting in software which might b change by mistake 4m my side