MQL4 and MetaTrader 4 - page 1160

ive just come up with very useful /for me/ idea..... is it possible to declare a lets say a var in such format var field_1 (x,y,z,a,b,c) var field_2 (d,g,h,i,j,k) ... ... of ur trading parameters so this are visible in expert as a fields to fill up in sort of password like. lets say ive got few sets
[Deleted]
Hello - I would like some clarification about OrderSend() and OrderModify() with regards to OCO tickets. If I execute the following command: EXAMPLE ------> ticket=OrderSend(1. Symbol(), 2. OP_BUY, 3. 1,...
I am a trader who is trying to step into the EA world. I used a free online EA builder to create a buy strategy when one MA crosses up and over another MA. That works. I then was able to create the sell strategy EA when the MA crosses down. But when I try to create the buy and sell strategy together...
The link to the last page of the previous episode is here . The rest is posted here
  Who are the Greeters  (79   1 2 3 4 5 ... 7 8)
Is it a family of advisors or is it a word for certain traders? Where did this word come from? Who invented it? And what does it mean - literally
How do you write a script or ea to track prices of multiple brokers? for instance: right now, the prices of 2 brokers for CHFJPY are as follows: FXDD 96.790 GFT 96.795 I would like to track this difference and see if it gets much wider, and also to seek ther could be some way to profit from it. But
[Deleted]
FREE Real Time FOREX Depth for EURUSD (From More than 70 Global Banks) http://iticsoftware.com/forex-depth.html
[Deleted]
Hi, I have some ideas for expert advisor but I dont know how to create it, please can you tell me where can I find some tutoirals here or can you post here some links / instructions ? Thank you !
Hi guys, I know that multi currency EA cannot be tested on the default strategy tester. Maybe anyone heard of some workaround ? Thanks Mike
[Deleted]
  Array Count  (3)
Hi, I have a String Array [6][50] . When I start the program, the array is empty. So then I enter the first line: myarray[0][0] = 'whatever'; myarray[0][1] = 'whatever'; myarray[0][2] = 'whatever'; myarray[0][3] = 'whatever'; myarray[0][4] = 'whatever'; myarray[0][5] = 'whatever'; In a...
-
I get the following error message when calling the ErrorDescription function from the stdlib: expert function calls are not allowed; 'stdlib'-'ErrorDescription' This line is in my EA: #include <stdlib.mqh> I've never had this problem before. Currently running build 402. Please help. Thanks.
[Deleted]
I have an ATR indi that sends an alert once the line crosses certainl level The problem is, the alert keeps repeating continously! Is there any way to play the alert ONLY ONCE? Thanks in advance!!...
[Deleted]
Hello pros, i am trying to code an EA based on ZigZag indicator, but i need help on how to write the buy and sell instruction. I like it to place a buy order immediately the ZigZag line moves in upward trend, and open a sell order as soon as the ZigZag line moves in downward direction. Any...
[Deleted]
  MA EA - problems on server  (12   1 2)
Hello guys, I am attaching a very good EA which I trade successfully for some time. But there is probably some feature missing in the source code, because when I set it on VPS a few weeks ago, it did not trade at all. It only works if it is the only EA but not work at all, if I set up other EAs at...
[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