Download MetaTrader 5

MQL4 and MetaTrader 4 - page 832

To post a new topic, please log in or register
Ok - I have been attempting to do this for about 10 hours now and I am going nuts. There has to be something very simple that I'm missing. I wanted to make an indicator that determines whether which direction the Heiken Ashi MA candles are facing, and then graphs JUST THE COLOR in a separate...
Attached is my code of EA. The first trade works fine and I left the EA on and when I returned, I got the following alerts/errors. "Order 3764742 failed to update stop. Error 0/4108" The alert box was filled with this exact message (some error 0 and some error 4108, with the same order number) I...
what does group "*_*" versus group "*" mean?
Hello, I've recently installed MT4 mobile on my Windows Phone (HTC Touch Pro 2), but it won't connect to the server. I've tried both the Pocket PC and the Smartphone edition. The version that my broker uses is MT4 Mobile SE build 216. I've also tried using the trial version from the MetaTrader...
Seems that need a #property statement for chart or data window. ie, find that if remove #property... the indi will not plot whatever the window is. the code is loaded and then removed. . If have property set to data window, I can draw in main window but the data window of course gets created. ....
Pls it is in some way possible to set the indicator to the right upper corner ? If yes pls just help,.. thx a lot,..
Hi, When reading a csv file into mql4, I need to know how I can skip to the next line of a csv file and also how I can delete just one line from the file. Thanks
i wanted to create an EA that only trade when new early of the current candle bar. i have already code it to detect new bar been form. but.... when i test it on 5 minutes chart. seems that sometimes it can alert new bar been form, and sometimes it cannot. i cannot figure it out.... blur.... can...
Hi all, I have come across a strange thing, I've opened the GBPUSD daily chart, applied a 200 simple moving average on close values, the value of the 200 SMA was 1.5487 then I have downloaded the values (File,Save as) and calculated the average of the last 200 candles, and it was 1.5121...
Hi, I have variable instruments data in CSV (or txt) format and I would like to seethem in MT4 and analyse them as offline charts. My understanding is that I must create HST files first and then copy them to "history"folder (please correct me if I am wrong). BUT How to make such HST files from CSV...
  simple question (36   1 2 3 4)
Greetings to all of you. I have created a code (modifying other codes) for closing market orders. int l_pos_44 = 0; if (CheckFirstOP(OP_BUY) > 1) { for (l_pos_44 = 0; l_pos_44 < OrdersTotal(); l_pos_44++) { OrderSelect(l_pos_44, SELECT_BY_POS, MODE_TRADES); if...
This is kinda a basics question. I read somewhere that Forex Market Makers can charge any price they want. Then I read somewhere else that the participants can ONLY vary their prices with-in the spreads. With-in the spread? What does that mean? Does it mean that if the Inter Bank price on EUR/USD is...
Hello generous members of mql4 community. I'm starting to learn Arrays but they're getting nasty with me :) The 2 Dimension Array, Allerts just fine within the loop but would not print correctly outside the loop nor write the same values to file within the loop. Any Ideas why?
Hello, I would like to be able to check with my EA, before opening a new pending order / ticket if at that price / value another order, running or pending exists. Is there an MQL function that does this or how else would I be able to do this ? Thank you for your help on advance, I will be looking...
Is it possible to jump to a certain position in the timeline rather than just scrolling to the left? I find when I look at the weekly chart and then wish to examine the daily or hourly chart it can get frustrating to find the date and time of the weekly chart I was looking at.
Hi! I did data import for my Alpari account exactly as it is said on these instructions: http://www.earnforex.com/blog/2008/0...storical-data/ Anyway, when I now run tester for example for EURUSD M15, I get a modelling quality of only 29%!? What's the problem, are there some errors with that...
Hi Im new to foreign trading how do i get started and how do I make money
Would there be any experienced traders that would be so kind to suggest a reputable Forex Broker. I live in USA. Randy
Hello traders...   My first question is haw high can be the spread rates for every currency pair at the fixed brokers like ActivTrades.   Now there are at USDCHF at 4 GBPUSD 3 and EURUSD 2....   What  is the highest spreads that can be at this brokers ???   Thanks  
I just had a quick question that I'm hoping someone could help me out with. I'm pretty sure someone probably had discussed this before, but my computer keeps on freezing when I try to search for the answer. Anyway, I was testing my scalping strategy between many different brokers to basically check...
Hi, Is like 10 year performance of average 6% per month a sellable (or marketable) EA? It is not a scalper. Worst net consecutive total drawdown is 700 pips, and happened only a couple of times. I will appreciate your comments (please be honest and tell me if a 6% profit monthly is a joke and is...
Hey I've a problem yesterday I've installed MetaTrader 4 on my computer but I couldn't open a live account. Could someone help me? And what is the minimum deposit that you can transfer to metatrader 4?
double EMA        =weight*Open[0]   + (1.0-weight)*lastEMA,   EMA_of_EMA  =weight*EMA      + (1.0-weight)*lastEMA_of_EMA;   Buffer[0]=2.0*EMA - EMA_of_EMA;//---- That block of code is from a DEMA indicator the first line ends in a comma so I assume that means that line is continued onto the next...
I have made an expert trading system and have done some back testing. I would welcome the opinion of some specialists after looking at the back test results hereafter. First the result (+200%) on an hourly EUR/USD for the last 4.5 months. Initial capital = $1000 trading lot = 0.2. And here the...
The idea is multiple. - send orders to various brokers - faster execution (nothing heavy loaded) ? - more reliable Can we get the variables and functions to reach brokers servers and send requests ? could a C++ program (for example) call these functions ?
Hello MT4 Programmer, How to code EA using stoploss to switch the trend?. Appreciate any help. Thank you in advance.
Hello friends this is checkmail and have developed two EA with help from a few friends over here to code it, am still learning to code it. When am adding the EA to my terminal its all going well, but it isn't working on it, means no alerts displayed, not trades executed....
Hello friends this is checkmail and have a few custiom made indicators but i also want it to alert me whenever there is any oppourtunity to trade. Here am not talking about the sound alert but an pop-up window of alerts, can anyone help me with its code with comments....
Hi, a small team based in Australia and Europe has a requirement for a MQL4 coder for a small project and consultation on a larger project. Confidentiality agreements will be in place. The primary project will be fairly simple for a seasoned coder. The secondary project maybe extrememely difficult...
Hi all, please i need a non-lagging macd indicator,that is reliable. any help will be highly appreciated. thanks.
1...825826827828829830831832833834835836837838839...1250