MQL4 and MetaTrader 4 - page 1139

To post a new topic, please log in or register
Why does MT4 build 224 Display an Alert in the Experts Log, but not display the Pop-Up???
i'm coding an ea that work by 2 time frame, H4 and H1.it read the trend from H4 and then look into the H1 trend, if they are the same the ea will place the trade in that direction. i tested it in the strategy tester by 1 hour period scince 2008. it placing trade ok but till 2009/02/10 it didnt place...
Hi, I would like to have a popup alert when three moving averages crosses up or down so if you can program and want to help me with the task, please send me a pm and we will talk more :) Have a nice day, Rikard
Hi all, am trying to add MA to CCI so I have a moving average of the CCI indicator. Any ideas or point me in the right direction. Cheers, S
fftremblay
Hi, I need your help. I have an EA which runs on several live and demo accounts (differents brokers) - The EA works smoothly except with the broker FXCM, no positions are opened and I don't have any error messages. I don't understand why - Did anybody have a similar problem once ? Is it possible...
While testiing on the Visual Tester I noticed that Bid returns the actual Bid from this past Friday instead of current Tester Bid. Not sure what the problem is here. Is it becuase the market is closed? MarketInfo(Symbol(),MODE_BID) doesn't help. This is pretty silly. Any workaround for this? PS....
Is it possible for me to use, for example, the iRSI function below... RSI_1HR = iRSI(NULL,PERIOD_H1,14,PRICE_CLOSE,0) and compare it to: RSI_4HR = iRSI(NULL,PERIOD_H4,14,PRICE_CLOSE,0) even though I'm running this on a 1 HR chart? If I ran a "Comment("RSI_1HR, RSI_4HR) and had it run on my 1 hr...
Hi In the back tester there is the ability to set a maximum profit for optimisation but I don't understand how to use it. I always set it to 100000000 because I have found that if left at 10000 the runs that exceed that profit are not visible in the output data so what is the point in having...
I tried to check if I can use dll import from MetaTrader4 code. but IsDllsAllowed function return false, I can change this feature? Or this feature is set by FX Vender and fixed value? I need such feature to use mysql database.
I've designed this EA. It's a nice low draw down curve UNTIL near the end of 2006. Everything all goes to hell. I'm curious what psychological difference there is for these years. From 2000 to near the end of 2006, great curve, great ROI. From the end of 2006 to present, the system crashes....
Hello all: Long time trader, new to programming, have a quick question, I would really appreciate anyone that could help me out! In programming the Williams %R to buy/sell when it crosses the trigger line, I am having a problem with the fact that on a H1 chart, The Williams % R value may dip down...
  EA Developer (2)
Im looking for EA developer I have the indicators already built Please contact me if interested. This EA can produce 20-30 pips / pair with spread under 5 Thanks Harry Singh http://grabpips.blogspot.com harry@zero2vm.com 8017358977 MST UT
I have an ea theat works fine for the euro and cad when I try it with the usdgbp I get error 130 Invalid stops. Here is the code: Print(" Entry = ", Entry,"  Stop = ",Stop,"  Takeprofit = ",Takep);               Ticket = OrderSend(Symbol(),OP_SELLSTOP,Lots,Entry,3,Stop,Takep,"NIBGBP1M_S",21,0,Red);...
Im back testing an indicator in strategy tester. Im just wondering if objectcreate( ) works in strategy tester cause i can't get it draw anything on the chart. Heres the code im using ObjectCreate("Point1", OBJ_TEXT, 0, P1time, P1HIGH); ObjectSetText("Point1", "P1", 12, "Times New Roman", Red);
how do i add a trailing stop to the following order placement script? int start() { OrderSend(Symbol(),OP_BUY,Lots,Ask,3,Ask-15*Point,0,"JMBUYER",0,0,CLR_NONE); }
Volumes indicator from MT4. I would like to understand whatdoes green and red bar mean . Please Coders how I should interpret redbar or green bar, can you help me please. I can not find anywereexplanation of this indi. I would be gratefull for help. Here is the code....
I'm writing first to say hello ;) it's my first post on this forum I've been following this forum for quite a while searching for topics that would help me with my EA's. As an IT professional who deals with "automation", "scheduling", "data processing" and "optimization" on a daily basis discovery...
I want my EA to work seamlessly with 4-digit brokers and 5-digit brokers AND 4-digit and 2-digit symbols (E.g EURUSD and USDJPY) with 4-digit brokers AND 5-digit and 3-digit symbols (E.g EURUSD and USDJPY) with 5-digit brokers AND have external decimal pip values (E.g TP = 20.0 pips) work correctly...
This EA work only with EURUSD or GBPUSD. This is a trial Version .For more Information contact Us by E-mail :gaklb@yahoo.com try it with a demo account and you see the difference. Web Site :www.dolly-soft.com
Can someone elaborate why limit orders on back-testing fail? I'vebeen trying to program an EA to set buystops and sellstops but itdoesnt work. But when i change it to buy/sell respectively, it start'smaking trades. I am trying to get this damn thing to manage trades ifthe sellstop or buystop level...
Anyone know how to handle an order that has been accepted by the server but failed to be executed? The broker's server has actually given the impression that the trade was accepted! 5:10:00 'XXXXXXX': instant order buy 0.10 EURUSD at 1.42253 sl: 1.41553 tp: 1.42953 15:10:00 'XXXXXXX': request was...
Hi, about to despare over a non working indicator call. My EA simply won't read the values from the indicator. After a run of the strategy tester, the values are nicely and correctly displayed in the window but from within the EA, no access possible although it used to work. Did I unwillingly change...
This is not a surprise. This is just a fact. You need to be careful when you open a live account. You have to test carefully your broker, especially if he is a desk dealer broker. They are not all the same. Same-where they are like the other brokers, which try to kick you out your trade, but this is...
Hi, I've joined two nested indicators (one referring to the other in the code) and an EA which uses the two indicators. The indicators themselves dragdropped into the window work fine, but the EA cannot access the data of Indicator A. Could somebody please test the files and give me a hint what the...
Error(149) is always generated whenever my EA tries to open hedge trade. Since it's not allowed by the broker, We need to make some changes to the EA's code or settings. Anybody out there to help????!
Hi folks! Basically, I need to assign a 1 to my variable if the last closed trade was positive, and a 0 if it was negative. I'm sort of doing a martingale strategy with a positive expected profit.. Please give me suggestions and/or clues.. Whoever helps me out will receive prayers and positive...
As with many traders, I have tried numerous commercial EAs but none of them are as profitable as the backtest or as the makers claim. I have come across few sites selling EAs that seem to be really expensive, up to USD1499 on a particular site. Now what do you think? Are good EAs worth as little as...
  MetaTrader4 (5)
I am new to Forex and have downloaded MT4 and purchased 2 Experts. The experts work on different currency pairs and time scales. When I attach an expert to a currency pair chart eg EUR/USD M1 it also attaches to all the currency pair charts and will sometimes trade even though the parameters are...
We know the GPU computing had a great speed, is it planned for MT5 ? Some EAs need a lot of computing support, only CPU computing is not enough anymore, I think it would be a great improvement if MT5 allows EA using the GBP computing.
I have the following command in an EA. The EA is running on nine separate windows. The output of each is directed to its own file. FileWrite(handle,Symbol(),ticket,ordertype,TimeToStr(OrderOpenTime(),TIME_DATE|TIME_SECONDS), TimeToStr(TimeCurrent(),TIME_DATE|TIME_SECONDS)...