MQL4 and MetaTrader 4 - page 1161

[Deleted]
  Huge logs  (1)
Hi! Lately I've been having this problem. Whenever I run a test, a huge log is generated (a +1GB file, for just a 6 month test on tester); if I am running a short test (say, 6 months), the test runs and nothing wrong happens. However, if the test is longer, this file grows too large and it gets to a...
[Deleted]
In MQL4 how do I register for 1 minute candle updates? When I create a new expert adviser script, I see the following methods: init() deinit() start() I notice the init() and start() functions get called only once and then never again; however, the documentation claims the start() function is...
Hi, Hi ,How to use ObjectMove function to update existing horizontal line created using ObjectCreate  with new closing price.I  try using ObjectMove("Reversal_line",2,0,Reversal_line_val);to update an existing line without success , should the parameter be 1 or 2 as Horizontal line has three...
[Deleted]
I have an simple EA that keep on placing trades until margin out, and that is no problem with that fro competition purpose. The thing is how can i add a line of "maximum Trades of the day" ?? This line u see below "extern double MaxOpenOrders = 3;" is just simply mean everytime it places 3 orders...
I suggest to you my design sewn ex4 (advisors) with dll, after decompiling ex4 file is not possible to use in a different account. Download the test, http://anikaforex.com/anika-test.zip this test advisor only works on the account login: 183755915 password: jcul5vw server: E-global-Demo, _www...
[Deleted]
Do the charts in a profile remain active when you switch to a differetn profile? I have a profile which contains a set of 15m charts with indicators that send emails and an EA. I want a duplicate set of charts for other TFs. If I create and view a 30m profile, will the indicators on the 15m charts...
[Deleted]
I mean, is it possible to create COM object from my EA and then call it?
[Deleted]
  What is PRICE?  (63   1 2 3 4 5 6 7)
This is a fundamental question. Actually, this is a good place to start all the discussions about Expert Advisors, scripts, trading systems, etc. But we are not used to getting into details and we just eat the price which the trading terminal gives us. We are not interested in WHO sends this figure
Hi all, Trying to figure out what the Zigzag in MT4 does (the version that comes with MT4 download). My understanding is that zigzag will draw a line in the reverse direction if the pre-set percentage/pip retracement has occurred. What I try to do is to have the zigzag draw a line only when at...
[Deleted]
Any good expert advisors available for free? Just need something to compare my prototype with.
[Deleted]
I have just gone through extensive testing of 6 pairs to tune a new EA. When I use the resultant Optimization parameters my Strategy Tester results don't come close to that of the optimization runs. In fact they seem to be opposite. BTW I never liked that Optimization Report throws away results....
Hello all, thank you in advance I am having a whole lot of trouble adding a sleep command or delay in my EA between time the last position was closed until the next one is opened. I am very inexperienced at MQL4 but have taken advantage of the many resources here and all over the net about coding...
[Deleted]
I am trying to see how to write a script (or use 1 already out there) for the days I am away. What I am looking for is a script that will put an OrderSend() at a specific time. I have already written the script to do the specific trade...just looking to put the order in the night before and not...
Help please I am new to all this and usually rely on my grand-children for help! I am trying to download an external .ex4 file into MT from the hard drive, but my laptop is declining it. Is there a straightforward way around this? Thanks Peter
[Deleted]
  Programming help  (3)
I need help with programming an EA to place a trade when two bullish candles open above an Moving avg with the second candle closing higher than the first. How can i do this? thanks for the help
Hi there, plz excuse my direct request, however... i do attach sample code of EA, there is also /on the top/ some code id like to incorporate to mentioned EA or any other, any one could give me an example of what should go where
Hello to all A code is backtested on two separate accounts. Both accounts are with the same broker. The history in the tools were updated on both accounts. The only diference between the two accounts is that one account is LIVE, the other is a DEMO, but the reports are different. The number of...
Hi, Not sure if any of you experts can help me on this? Is there anyway of exporting historical data from MT4 into an excel spreadsheet? I would like to export the open/high/low & close from the 1hr GBPUSD chart in the format below, Datetime closeOpenHighLowClose18/08/201000:001.557151.557891...
[Deleted]
Hi. I have a problem with visual tester. I have a small cyclic code (EA) that I put into strategy tester whenever I want to be able to re-experience the market movement for any given time interval. Technically it shows me in real time how the market behaved in certain time interval and I can speed...
[Deleted]
What is the way used by the tester to emulate price ticks? I've downloaded prices data from the history center; "modeling quality" is shown as 90% for M5 period, and only 25% for M1 period. Why? Is it possible to visualize backtest orders on the candlestick graph? Why results of backtesting runs can...
[Deleted]
Symantec Messaging Gateway 9.5 Exam is the symantec exam name of ST0-132,ExamPDF has new updated this exam,it offers you the real and latest questions and answers to prepare for your test and ensure you pass your symantec certification at your first try.furthermore,it can help you save your time and...
Hi, What would you do if your Script/EA/Indicator overloads the CPU while running? What would you check first, what optimization would you apply? Especially if there is an endless loop in Script.. Thanks
Example: // The declaration of the PipPoint() Function:double PipPoint()  {    if (Digits == 2 || Digits ==3) double d_UsePoint = 0.01;    else if(Digits == 4 || Digits == 5) d_UsePoint = 0.0001;    return (d_UsePoint);  } // Then call the function from the code:double d_UsePoint;d_UsePoint =...
WTL (write to log) contains date / time and case numbercase 2047: WTL=WTL+" MH - Enter Monitor Hedge - Ticket # "+ticket_nos; break;case 20471: WTL=WTL+" MH - Enter Monitor Hedge - Ticket # "+ticket_nos; break;case 20472: WTL=WTL+" MH - Enter Monitor Hedge - Ticket # "+ticket_nos;...
I finally got around to getting my first EA done, but I've come to a grinding halt, as it does not live trade. The attached EA is a simple one (of course I thought I'd do something simple for my first EA....) It basically checks if the price has moved outside of an EMA envelope. If it has moved...
I've encountered a problem with MT4 on Windows 7 Ultimate OS. MT4 is starting and working in background properly, because I can see bot activity, BUT it doesn't want to display in full window mode or any other mode. I can only see application in the bottom of user interface, that its running, but I
[Deleted]
  Straddle Script?  (5)
Hi members, I am new to this so please bear with me. I want a buy stop and sell stop order to be initiated simultaneously at my command with the following parameters. Buy Stop Entry = Market + 15 pips Stop Loss = Entry - 10 pips Take Profit = Entry + 25 pips Sell Stop Entry = Market...
Hi I use scripts to enter, exit and reverse trades allot. Is there a way to inside a script, activate a ratchet stop loss on the order that you would normally do via the Terminal screen after execution? Thanks Johan