MQL4 and MetaTrader 4 - page 1288

[Deleted]
I'm searching the menu where to change the settings for market watch. The chart is drawing on the left side only and most of the space is unused.
Hi All, OrderClose(132443329,3,Bid,3,Red); Could someone please tell me what I am doing wrong. according to the documentation this line above should close the order, but nothing happens, if I do it manualy then their is no problem! Thanks in advance Crunchy
[Deleted]
Does anyone know if there are any Introduction to EA Programming videos out there. Have been trying to learn MQL4 language but finding it a bit hard without someone actually showing me how to do it via the books. Are there any video training courses out there. I live in Sydney Australia and there...
  Faster manualy?  (1)
Hi All, why is it when I am an order send using mql4 is so slow, but manualy is very fast? Thanks Crunchy
HI, I got this problem suddently, never before and not in my other EA's, and I cant seem to locate the reason.... x=5; x*Point=0.0001 I have done a MarketInfo for Point followed by a RefreshRates() and still, everything I *Point, comes out bad. Same occurrence with my var "point" or the system...
What would be the best way to determine a range in an EA. I am thinking of starting an EA that would start a trade on the breakout of a ranging market. Except I can't think of the best way to determine a ranging market and the highs and lows. I would think it would be something like trading X many...
[Deleted]
Hi all, what is your running time for your EA in both testing and optimization mode? I need to know if my EA is running too slow. My machine is a Intel Quad-core 6GB RAM. Currently, for both modes, it takes around 45mins for M1 (timeframe) for start: 2010-Jan to end: 2010-June What are the things to...
[Deleted]
In candlestick charts, how do I get the market minute to display, in order to avoid having to convert my time (Pacific). I wish to use this to compare with backtest in my trend analysis software.
hi where i can find one indicator for triangle pattern ? thanks
Hey guys,  just wondering, what is the best way to protect my EA against decompiling or stealing. Or you guys prefer to host your EA on service or running your EA on private computers. cheers, A.
[Deleted]
Can somebody please share with function that moves trailing stop by jumps. For example, moves stop loss every 10 pips. Many thanks.
Hi, I'm manually testing a strategy (going back on the chart and playing it 1 bar each time). I'm using the closes and openings prices as the prices I entry/exit a position. Now if for example the spread averages 3 pips, and I enter when the opening of a bar is 1.10000 and exiting when the opening...
  Help write an expert  (117   1 2 3 4 5 ... 11 12)
Dear expert programmers! I am begging you to write an EA for crossing MAs, but strictly according to the algorithm. I have seen many similar Expert Advisors, but they all fail, which is logical because they were originally developed incorrectly. I want to challenge the algorithm with the help of my
I guess I dont understand this part of building an indicator as well as I thought. I want to have a single price line, with three different colors, bullish, bearish, or neutral. In the beginning I thought it was easy, since I had looked at the slopeline indicator as an example, which just sets the...
[Deleted]
  New bie  (1)
Hi, I am new, and wish to have a simple sample EA programe (can do Moving Average, Stochatic, CCI buy and sell signals and auto trade) that can run on Meta Trader, then i will slowly develop my programming skill based on the simple programme that is already running to further enhance the programe....
[Deleted]
Looking for a way to keep the chart an ea is running on with a vertical size of 200 pips, current bid in the middle?
[Deleted]
hi i want to try to get some Bid in different time in candle 15M .. i mean, i want to know Bid in Minute 6 of a candle or some other time .. i used for and sleep() for that and volume[0]=1 for opening candle but its not good and i can't to have strategy test ... so help me about that this is my...
This is what I am using to close all of my orders at once. There is a chance I will have pending BUYSTOP, SELLSTOP, or open OP_BUY, OP_SELL. I want this function to close them at one time. I do get orderclose errors. Is there something wrong?...
[Deleted]
Hello, I am wondering if anyone can help with an indicator that I am trying to build. The general idea is to have a vertical list made up of 14 rows and 3 columns. The first column would contain currency pair symbol names, the second column would contain the amount of pips from that pair's daily...
[Deleted]
Hi everyone, I am looking to hire a programmer to write an EA using 2 or more currency pairs. eg the AUDUSD and the NZDUSD The program would be a typical hedge EA. ie it would go long in one pair and short in the other. When it hits a certain profit/stop loss it would exit. It would place only one...
[Deleted]
Hi all, I would like to be informed when an order hits its SL or TP price specified during the OrderSend (). Which function should I use? Or which method am I called back when it happens? Please advice. Thanks.
I have a demo account to which I have added a Forex EA which appears to operating correctly. The manual shows the 'Expert Advisors' button being clicked and the settings adjusted. I cannot get the button to open a drop down list like is shown in the manual. I have attached a copy of the relevent...
[Deleted]
Hello everybody, I'm looking for help as I just buy new laptop with Windows 7 on. I tried to install MT4 but I've got an error message : File not found (but everything is ok with the file) so if you got some great ideas to help me it'll be really usefull. Thanks by advance, Best regards, Benoit
[Deleted]
i want a pending order based on the open order suppose i have a buy order at 1000, i want 2 limit buys one at 10 pips below the buy order and othe at 20 pips below the buy order can any one help me plz
[Deleted]
  Automated Trade  (1)
Hi, I am newbie to this community as well as forex trading, kindly help me. Actually i am looking for the programing side to pick up the candle position in the chart window, to match with the various indicators. If any strong in programming side just help me or else guide I can make it.. Thanks...
hi, i am trying to retrieve the time at which a (pending) order was placed. take, for example, a buy stop order placed at some time XXX. now, when the market reaches the entry price the trade is activated. the time at which this happens is accessible through OrderOpenTime(). is there any way of...
I get a bunch of OrderSend130's and don't know why! Can anyone shed light? I didn't include the CloseAll() method because it would just distract. I'm getting errors from the opening of the orders and it's only opening half the time it should be. Thanks all! int Symbol.magic=90022; extern double...
hi i have a question about reading Bid value inside script, which is run with infinite loop. When i run this script: int start()  {   while(true)   {      Print("Bid:",Bid);      Sleep(10000);   }   return(0);  } it takes Bid value from the moment when script was started, and isnt refreshing it....
[Deleted]
  Weird problem  (2)
When I run a backtest the strategy tester opens and closes positions over the current period high. For example. #6 buy 0.10 EURUSD at 1.30837 1.30837 EURUSD M1 2010.08.02 03:36 Open: 1.30823 High: 1.30827 Low: 1.30821 Close 1.30822 It does that on MT4 and MT5, on both of my 2 computers and...
In conducting some walk forward optimizations i'm looking for an efficient yet easy objective function to dictate which settings were the "best". By default MT4 gives you, Profit, Profit Factor, DD$, Expected Payoff, DD%, and Total Trades. By themselves, none of them are mind blowing as an...