MQL4 and MetaTrader 4 - page 1426

[Deleted]
I"ve been using MetaTrader for a 8 months or so. Recently i've come accross a problem while coding a new EA that I haven't been able to solve. My EA calls "iLow" and "iHigh" functions on a 1 min time frame. My EA is testing on a daily chart. I've narrowed the problem down to the fact that while...
I am getting order modify error 1 in this code - any ideas why? MovetoBreakEven is set to 300 (30pips):       if (MovetoBreakEven>0)            {         int totaltoBE = OrdersTotal();         for(int itoBE=totaltoBE-1;itoBE>=0;itoBE--)         {            if( OrderSelect(itoBE,SELECT_BY_POS) &&...
  Old tick  (2)
First of all... I saw all topics about it in the forum, however,  the answers do not match the reality of my EA. My EA is running in a VPS and the EA is working with 2 pairs. EUR-GBP/CHF. But, from one week, the journal is showing a message of "Old Tick 0.0000/0.0000" where the 0 is the price of the...
It seems when you execute some scripts, a pop-up window opens, allowing you to change the Properties. Other scripts execute immediately without the pop-up window. I have a simple script that does NOT open the properties window. What can I change to get the window to open? Thanks....
Hello, Is it possible to write an Expert Advisor that sends an Order when a line or a special price is reached that can be edited while it is running? If yes, how? Thank you very much, Eggat
  AutoGraf Series 4 - MQL features.  (351   1 2 3 4 5 ... 35 36)
Brief description of the AutoGraf 4 application. (full description will be published after completion of public testing of AutoGraf 4.80416 betta) Purpose of the application. AutoGraf 4 is an application program for manual, automatic and semi-automatic order management in the MetaTrader 4 client
  MT4 slowing down  (2)
Hi, I am witnessing a phenomenon of slowing down on 3 different MT4 platforms. In the begining each MT4 works fine, but after I start using Strategy Tester, each slows down considerably, and each mouse click takes 5 seconds to respond. What am I doing wrong? Thanks
dude, i need script code example to activate specific "profiles" (what i mean by profile is =File>Profiles>profilename) Cheers!
[Deleted]
Could anyone help me here? I want to search orders, find one with a certain magicnumber, then assess that order's close time to see if it is less than current time(the order has been closed), then delete an existing pending order with a different magicnumber. Can anyone code this for me? Please help...
[Deleted]
Hello, i'm running a strategy tester and wonder how the same EA give different result (but similiar) when part of the code compiled in a DLL ? i already conduct a research to test if the DLL give the same result as without DLL and the DLL is okay. The question is .. what went wrong ? anybody have...
[Deleted]
Hi, I have tried the RSS FEED program, it works very well, however, after a while I get this error: Fileopen-too many opened files. How do I fix the problem?
[Deleted]
  MQL to WEB?  (1)
Is there a simple piece of code that can write a HTML file on a remote server through MT4? FTP based, username/password. Please let me know, twizt
How do you remove a stop or limit on an order? Seems like you can only modify or delete the order but not remove the stop or limit once set
[Deleted]
I created a formula that runs on an EA that performs average of +1200% profit/ year. Proof available. The EA performs on historical data and real time data. I am looking for serious investors to make the next great successful financial company. Only serios enquires, please! hadzy@yahoo.com
  DoubleMacd+Rsi  (35   1 2 3 4)
Here is one more EA that might be useful (our forward testing showed that it is a moderate risk, "no nonsense" EA ) Basis of it are two MACD's (a "fast" one and a "slow" one) and Rsi used as confirmation for entering ___________________________ Some of the issues it solved (in advance ) :Automatic...
ticket=OrderSend(Symbol(),OP_BUY,Lots,Ask,3,Ask-(StopLoss*Point),Ask+(TakeProfit*Point),"abc sample",16384,0,Green); if(ticket>0) { if(OrderSelect(ticket,SELECT_BY_TICKET,MODE_TRADES)) Print("BUY order opened : ",OrderOpenPrice(), "buy",OrderOpenTime()); } my program is very simple and easy,but when...
I have been trying to code my first EA for sometime now. I have come close but i havent really made it to my liking. Can someone please direct me on how the following RA code would look like. Open Buy when LMA_1 crosses above LMA_2 Close that position when LMA_2 comes below LMA_1 Open Sell when...
Trying to do a few things here. One, How to get account info and store as a double global variable? int AccountNumber(); string AccountName(); then how to use that variable to name a file such as: int handle; datetime orderOpen=OrderOpenTime(); handle=FileOpen("filename",...
[Deleted]
I spent some time looking for a reasonably priced VPS server to host MetaTrader and settled on a 3dgwebhosting MetaTrader1 VPS account at $15 per month with 512MB RAM and Windows 2003 Server. I am very pleased with it. Signing up for the account and setting it up was completed quickly at the...
Question: When my script opens an order, does it wait until the order is placed before it continues on with the rest of the script? It feels like there is an overlap. like the script goes on without even any confirmation that the order was placed. Can someone enlighten me or point me in the right...
  SMS Signals  (11   1 2)
Any recommendation on Forex SMS Signals. There are hell of websites offereing signals via sms, but I need a trusted and the most reliable one. Does anybody has a good expereince and recommend something ?
  Auto Trade  (2)
How to let my MT4 automatic enter a trade when the price trade at or touch the BB Band
I am getting data out of a file, in this case, the value I am getting is "EUR/USD". Then I perform a little string manipulation to get the "/" out of the string.    int Handle;   string FileName = "Callouts1.csv";   string Symb = "";   string TmpSymb = "";   double Entry;   double StopL;   double...
[Deleted]
I am confused and will appreciate if you could help me understand buffer. Buffer[] is an array...correct me if I'm wrong. Then, Buffer[5] is the 6th index in the Buffer[], or, is it an array called Buffer[] with 5 things inside?
My EA worked well on FXDD demo, now I moved it to FXCM demo where fractional pips are offered. So I put in the following code to suit the frational pips: if (Digits == 5||Digits == 3) pt = 10*Points; else pt = Points; sl = price - 30*pt; tp = price + 90*pt; but I am still getting error 130,...
[Deleted]
Hi, Im writing an EA and I am having some trouble writing a loop to do something I want to make able to look through all my open orders and see what order has the largest target profit and and then do two things 1) I want it to tell me how many lots all the orders that have that target profit are...
though we can do strategy testing by date on MT, how can we test by date and time as well. Say I want to test my strategy from 14 July 08:00 to 20 July 20:00. Actually my indicator works on 4 hrs chart, and so I want to test the strategy accordingly.
  Buy ready-made advisers, strategies  (61   1 2 3 4 5 6 7)
Lukas buys ready-made robots, ideas, signals, strategies, advisers for FX, stock and commodities markets. All discussions and negotiations via skype only
I tried to copy file with ex4 string to metatrader indicator folder, and cannot do that. I cannot import this to metrader, please help guys.
[Deleted]
Hello Sir, help me create a simple EA. the EA will place pending orders immediately after the close ofthe first candle of the day at 12:00 depending on brokers time, Alpari.co.ukbegins a new day at 12:00 which is what i use. but it should haveoption where one can put this time, since brokers time...