Download MetaTrader 5

MQL4 and MetaTrader 4 - page 1013

To post a new topic, please log in or register
Guys.. My EA is working in the both accounts, but, I didn't see any difference yet. I know that is a little early to know the real results with my EA. But, for those that have scalpers systems like me, what's the difference between the real account and demo account (when we are running EA -...
Hi, Can someone help me with an EA that will open a buy/sell order if the price hits the previous candles high/low? I use the h1 chart and would ideally like to be able to set stop loss,take profit and possibly trailing stop with the EA. Even morebeneficial would be an option to set how many pips...
I have a very low-lag indicator and I use D1, H4, H1, M30, M15 and M5 timfeames to calculate the indicator value. I use iCustom function a lot i.e. the EA calculates the indicator value is a loop as below for every tick!! The function below "get_trend_values" gets called for every tick. Q1. Which...
u will place your order 10pm daily nigerian time u have time to go to work or do other business good when internet service is bad it remove emotional trade get 100% of your deposit in 3 month(market trend applied) to know more about it danbobo1306@yahoo.com or call 08060519225
Hi, I've studied the FX markets for sometime and have come to the point where I'm ready to invest some money and start trading albeit in a test the waters approach... So in the last 2 weeks I've been searching for the right broker. I'm concerned with the number of stories I've read where people...
Hi, How we measure accurately, things like: - time spent on start() method - time in between ticks - time spent waiting for a tick (idle time) The datetime gives down to the seconds only. The measurement unit must be lower than seconds like milliseconds. Is GetTickCount() the only way? Does...
Operating exclusively on time frame of 5 minutes I have demand immediately to understand the trend to great time. I have modified this indicator: Past Regression Deviated,to see only the trend line. I wanted to get other three trends line calculated on three different time frame Practically: on...
Hello, If anyone is familiar with this indicator ( https://www.mql5.com/en/code/7888 ).. I would like to know how to keep track of previous chandlier stop prices... The example picture provided on the code base shows "Blue for downward support, Red for upward resistance then The current, non-broken...
I created this indicator on my demo account and the memory usage is just a few MB, but when i put it in my real account, it jumps to additional 500mb ram usage can anyone help me with this?
Hi, When I was running my EA on a demo account on MT4, I revised the same EA on the MetaEditor. When I clicked 'compile' on the MetaEditor, all orders were closed on the MT4. Is this going to happen (all orders closed) also on real accounts (when the EA is overwritten with a new version)? Regards...
Friends, it is possible not new, but i don't know how to optimize it. Target is having signals if in one in selected schedule of instruments (around 200) will be broken Moving Average (N) in time frame (NN). Will be grateful for any advises or piece of information about.
Hi, How are EAs coded such that they will not interfere with orders that are owned by other EAs? (assuming that is our intention - that is, process only the orders that each EA has initiated) Is it using the comment? or the magic number? other? In addition, what if an EA coincidentally is opened...
Can someone please help me to to close the order. I am using my own simple ea to place order in hedging pair. I am still very fresh in writing ea, i use 1 window with ea to place buy order for EURUSD, at the same time, another window to place buy order for USDCHF with same ea. I heard the...
Do you believe in it? It's my system, bu, I was consulting some professionals, an they said that it's only in historic. Using 10% of the capital (10k)
Hi, Example, I want check if Buy order exist and Close condition is true, it will send order to close the Buy, and vice versa. Problem i have: Without Checking order exist, and if My close condition is true. and there was no order, it send a new trade base on close condition.. Please help.....
Good morning, I'm quite new in MQL4 programming so I only try a very simple program but it is not working perfectly. Let's explain what I would like : At 9:00 print a message At 9:05 print another message Result : If I launch the expert advisor at 8:55 : at 9:00 the expected message is written at 9...
Hi MT5 Team, Two important Enhancement required in MT5 Platform. 1. e-Mail Option - SSL is not Functioning. 2. No Security available for MQL4 Coding any one can Decompile It. Please Look into this. Thanks.
Hi, I'm just starting out in Forex trading and MQL4 (started a few days ago!). Currently, I'm writing a first EA for detecting and trading on breakouts. The algorithm detects entry positions relatively well, however to find a good exit point is difficult. Which leads to my question: is it always...
Hi, I am just worried that the EA I coded might bombed the broker server with open or close order requests when the order request fails because the market is closed for the weekend. How do you handle this? How do you safely put your EA to sleep (until the market opens) even if you are in a signal to...
Hey everyone, I'm recently getting into coding and for the most I've been things to work fine. I've gotten the email alert to work and send me an email when one Heiken Ashi candle closes above or below the other. What I want to get it to do is instead of email me when a new candle comes, I want it...
int start () { Data_HOL(); return(0); } void Data_HOL() { string n8 = "Data_HOL"; n8 = "Head_0a"; ObjectDelete(n8); ObjectCreate(n8, OBJ_LABEL,...
Hi, I want to asked how to online 1 Account on for example 3 different computer? I am on indonesia and there are a lot of problems like No Power, Bad Connection, heat, etc. I tried before to Run 1 Account on two different connection on two different place, ant the result my EA is making 2 open...
Hi all, I friend of mine is trying to apply his EA to the whole currencies in the terminal's List. I've told him that using the EA in such a way, even if well configured for each currency, is not likely to provide profit. Could you tell me your opinion? Is universal trading system realistic? Thanks...
MQL4.com is great but there isn't any file repository for things like templates, PDFs (for example trading algorithms) and other MT4 client terminal related files. For example, how about a sound repository for sound files? Or a place where we can exchange profiles? The "Code Base" is for code...
I wrote this code to close a pending order. When i run the EA the orders are not closed. Can anybody give me any help? What have i done wrong? Here is the code (part of my programme) for(cnt=0;cnt<total;cnt++) { OrderSelect(cnt, SELECT_BY_POS, MODE_TRADES); if(OrderType()<=OP_SELL...
i'm trying to set up an ea that will place two pending orders at a given minute... my problem is i don't understand the difference between buylimit, buystop, selllimit, and sellstop... i did find this, but it still makes no sense to me... Open_Price > Bid and Open_Price > Stop_Loss -...
Hallo all! Who can me help? A foreign programm in my chart, e.g. indicator, create an alert over the function Alert(). This string appear in the Alert-window. I need a code in order to process this string which appear in the Alert-window, in my own programm, e.g. an EA. I mean an import of this...
I am trying to use a custom indicator in my EA and am not sure how exactly to do so. I am using Gravity Center2, a COG custom indicator. It has 3 external options which I have added to the iCustom but when I try to test the EA in the strategy tester it gets to about 50% on the progress bar and hangs...
Has anyone found the way to grab the default values that the MT4 platform enters into the "fixed minimum" and "fixed maximum" fields? If no fixed max or min is entered the platform automatically presets a variable max and min value to match the values entered into the default buffers. Those values...
I have been trading my robot and system for a while now. Here are some of my report of the trades. http://v5robot.mt4stats.com I will add some additional accounts later.