Download MetaTrader 5

MQL4 and MetaTrader 4 - page 1270

To post a new topic, please log in or register
When was run indicator (script or expert), once the program is started after receivedtick, does the MarketInfo function is making adittional requests (and every time) from server for every callof the MarketInfo(symbol,22) or other MarketInfo(symbol,nn) ?
The program goes well, but the logs have an alarming growth rate!
Hi All I use the screenshot() function in a number of my indicatos. In one indicator,the screenshot generates with blank contents some of the time! It shows the candlechart but all the indicator windows attached to the chart are blank. It only doesit about 50% of the time. Anyone ever encountered...
Dollar weekly analysis last week The dollar fell to the lowest level since March 2005, in the forex market. do you think it will rise to its maximum again in the next few weeks?
Hi, I use the 1 hour MetaTrader Heiken Ashi charts to trade Forex. Im looking for abit of code that will give me an audio alert when a bullish baris formed after a bearish bar and vice versa. Really hope you guys can help me,as this would be so useful. Thanks, John C
may i request OrderPips() function? i see your terminal has the profit column thathas "as point" style but none of this function in mq4 it would be muchbetter to have it ...instead of calculate it myself everytime i want ^_^
if want use the value of a Custom indicator in EA, use double iCustom(string symbol, int timeframe, string name, ..., int mode, int shift) if I want use it in an indicator, how to do ? some time there is a limit 7 buffer in one indicator file. so in an indicator file, if I need reference another...
Hi All , I'm trying to figure out why when I use some indicator like Support andResistance Barry's indicator in an EA , the strategy tester is unusable due toslowly. The EA is something like this : int start() { // Variables double Support,Resistance; // Import Support e Resistance from...
The descriptions of the drawing styles in the manual are not very helpful. Can someoneeither point me to a good reference or explain the various styles and how theyrelate to the related buffers? I am particularly interested in DRAW_SECTION. TIA
Default installations of MT4 contain a Commodity Channel Index indicator found in the built-in indicators section and a CCI indicator found inthe Custom Indicators section. As such, you can access the code for the CCI indicatorbut not the Commodity Channel Indicator. One would figure these two...
Hi, I would like to submit a request to allow you to modify the MagicNumber also whenyou make use of the OrderModify function. Regards Jimmy
Hi, firstly congratulation to a powerful trading platform. I would like to suggest a few improvements, and request. 1. User interface - I suggest changing docking windows/tabs to Navigation Pane.Like MS Outlook, more space, easier access and more controls can be displayed.MS outlook spends...
I'm currently running a EA that has several open trades.  I'd like to transferthe open trades and the EA to a new computer without having to close all of thetrades and re-initiate the positions on the new computer.  Is there anyeasy way to do this?
Hello, I need a program to color barchart in a different color for a different session @+ Golder
2006.08.13 21:42:27 2006.08.10 23:59 print accountnumber USDJPY,M5: AccountNumber16384 Why My AccountNumber 16384 always . FXDD How can I get the right AccountNumber from expert? //+------------------------------------------------------------------+ //| expert start function |...
Does someone can tell me how much bytes are needed and used from memory for ex.: static int ArrayIntegers[3];static double ArrayDoubles[3];static bool ArrayBools[3];static string ArrayStrings[3]; //* all with 2 characters after asign and ArrayResize ( Array... , 3 ) for all *// As for string and...
When we stop mouse to a point of indicator line, a popup small window will displayits name and current values. Then it is possible add a comment to a Object, and get a same effect.
  Need Help?? (1)
Hi, I am a complete non programmer type and don't know where to start with developinga simple EA I simply want to buy at the highest high of the last five days and trail this witha stop that is 2* the 20 day ATR the opposite for a short. Can anyone direct me to code samples or any help on this.....
I am trying to design my Expert Advisor to distinguish which server it is loggedinto. (We have some special accounts created with different parameters, such asthe spread, etc). My understanding is these accounts are on a different server( Login 9002323 password: P4334 server: 207.38.2.84 ) I'd like...
Why does the MCAD indicator on MetaTrader 4 only have one line and one bar graph. Other MCAD have 2 lines? Is there a setup parameter I am missing. Sorry if this an obvious answer.
  Terminator v2.0 (561   1 2 3 4 5 ... 56 57)
Here it is guys. Check out the ReadMe file thoroughly. I've been using the H1 chart. Updates will be posted here so they are not dispersed throughout the thread. If a zip file has a low number of views, it's due to a recent update, if only in the readme file. Enjoy, Tom
have problem, have expert that run on normal account perfect but doesn't want toexicute orders on mini account. we checked everything lot sizes magic numbers, i dont think it is in the code,it runs on fxdd mini account, have anybody got idea what the problem may be
New MetaTrader 4 Client Terminal Build 201 has been released: Fixed terminal close-down at the moment of visual testing.Fixed opening of orders by Expert Advisors in the "Market execution" mode.Improved working of dialog windows controlling orders and trailing stops consideringthe symbol tick size....
  Stop Trading (3)
How can I trade following thing: I want that my expert stop trading at a certain time (for example 6 pm) and closeall open position at this time
Hello, I chose to open a live account with Interbank FX, and to let my EA run onthe application on a linux VPS with wine. Everything is working fine, except thatit doesn't connect.. Does someone know which dll's are required to let it connect?or maybe some other reason why it doesn't connect? (I...
My EA sends me an email.. My code looks like this.. Symbol() + " OP_SELL @ " + DoubleToStr(OrderOpenPrice(),4) +" New stop loss @ " + DoubleToStr(NormalizeDouble(SellStop,digit),4) +" Pip Allowance @ " + DoubleToStr(PipAll,0) + " MT4 Time:" + TimeToStr(TimeCurrent(), TIME_DATE|TIME_MINUTES) + "...
Please contact me if you are interested in writing a program for meta 4 that willemail cell phone when profit field reaches a certain level, Thank you, sigmafinancial@erols.com
Hi, Just wondering if anyone else seems to obtain totally different results for specifictrading systems when simulation trading those trading systems using MetaQuote dataor data from different brokers? I constantly come across this problem. If I usedata from say, MetaQuotes (obtained via the...
Hi, can someone tell me how to put a simple moving average on an Oscillator please? I am using a platform by TFI (tfifx.com) and the Indicators (or custom indicators)selection in the bottom left hand corner does not seem to work? Thanks Will.