MQL4 and MetaTrader 4 - page 425

hello, i have problem to download entire "history data's charts” with my live ecn mt4 (for example when i try to download an entire history data for EURUSD.pro M30, i only can get “2048 records” that mean only the last 2 months); i contact my broker, and they tell me that it’s not their problem, but...
Hi all! There is code of script which get the name of chart window in MetaTrader 4 terminal (e.g. " EURUSD ,M1"): #import "user32.dll" int GetParent( int hWnd); int GetWindow( int hWnd, int uCmd); int GetWindowTextA( int hWnd, string str, int nMaxCount); int GetWindowTextLengthA( int i);
Hello, I have attached a picture I have mentioned my question in that picture. Experts Please answer my question. Questions: 1. I want to ask what is stoplevel & freezelevel? please explain me in simple words I am not able to understand reference documentation. 2. How could I detect market pull back...
  Backtest issue  (17   1 2)
Hi frineds, I'm going to backtest my EA on MT4 so I installed four MT4 in differenet directories and downloaded the historical data to backtest my EA for the 3.5 previous years. I started to backtest without using "visual mode" on all four MT4s and it worked well for about 6 hours but after that all...
Hello there, I have created an indicator wich dysplays oscillators : What I desire to do :  When I create a trend line manually by clicking the mt4 button I need the trend line to have a custom predifined name like : "My_Predefined_Name". Is it possible ? And can you lead me on the simpler way to do...
Hi MQL community Admittedly I am new to coding but have written a few successful codes but I am having trouble with this simple eaI am trying to write. The ea will open a buy order when a spinning to candle appears and this is tied in with an alert. I have written in the code to only allow one open...
Hi, Is there anyway i can change vertical lines with arrows when i place an order in MT4 like in the picture?Or is this specifically to the MT4 you're using? Thanks.
Hi, I need some assistance on changing my order to enter a limit order "x" pips away, for example 5 pips away, if AUD/USD is .7255, buy limit would be .7250, or if Eur/usd was 1.1558, sell limit would be 1.1563 This is the current buy/sell Order code I have for instant execution but I want to change...
Hello everyone, I published a signal 3 weeks ago. Its showed in MYSIGNALS/PUBLIC for a while then suddenly disappeared. Its still showing in 'MYSIGNALS/ALL SIGNALS but not in PUBLIC. I understand that the monthly growth was a bit high but when will this warning be removed so that it is available for
Hi All, I am trying to do the following code: for ( int z= 0 ;z < OrdersTotal ();z++) { if ( OrderSelect (z, SELECT_BY_POS , MODE_TRADES )== true ) { .... int another_function = another_function(....) and then the another_function is defined by: int another_function(...) {
When I click "open chart" tab I am unable to see the entries and exits of my EA on the chart.  Can anyone kindly advise what I am doing wrong? Thanks,
how to draw V_Line on the chart according to the specific time For instance, I need to draw a vertical line on the chart when time is 6am, 6:30am, 7am,7:30am, ...12pm, 12:30pm thanks
For example,the EA places orders (using iCustom signal in one chart). order#1  buy  (EA ordered with signal of time frame M5)  ---iCustom(NULL,5,"indicator name",0,1) order#2  buy (EA ordered with signal of time frame H1)  ---iCustom(NULL,60,"indicator name",0,1) order#3  sell (EA ordered with...
Hi guys, I am looking to create a signal that is only visible to me and anyone else I share it with. Also, I wish the signal - even though on a real account - to be free rather than have the usual USD 30 fee. Is this possible? If so, how do I do this? Basically, I want to copy trades from a source...
  Trailing Entries  (1)
How do I go about entering a Trailing ENTER order (short or long)?  I see the the trailing stop feature once the order is filled etc but if I want to set up a trailing entry order I don't see a function for this on the order tickets?  Thank-you!
I understand the basics of making an expert advisor and have seen some posts that mention that I should use iCustom function to access my indicator in an expert advisor, but it's not too clear. I want to make an expert advisor that takes a trade when the "X" and arrow appear at the same time, as in...
so I added a custom timeframe which is 90M timeframe, I used 30M chart and added the "period converter" script multiplied by 3. I added my EA and unchecked the offline checkmark on the properties of the chart so that my EA works. But every time a re-start my mt4, the offline 90M chart goes back to...
Can I run an Expert Advisor (EA) on multiple shares at the same time. So for example flag all stocks with RSI > 80% ?
I have an expert running on a GBPAUD chart. Its job is to open other charts and apply a template if certain criteria is met for other pairs. Occasionally it will open a chart for the same pair more than once, and so I run a check when each chart is open to close duplicate charts. The problem is that...
I've been trying to find an MT4 indicator that draws vertical lines at specific times that on mouseover shows a description of that line just like the default vertical line MT4 has. Thanks for any help someone might provide
Hey everyone, for an EA I can program that for example F7 key is called and the properties of the EA open. For a custom indicator I know I can open via the indicator's list or via double klick on a line or bollinger band or so. Is there a way to call a special key like F7 or programm a user defined...
I'm in high-frequency trading, because their VPS are more than 200, so he from the official website to buy a month VPS. Thought order speed will be faster, as a result, your order did not change fast. Discovered, after today, I replay the same platform, the same EA, the same signal, the official...
Hi All, Im rather new here and I want to create a simple system where I look at the high and low of the first 1 hour candle at a start time (in this case 9.00).  If after this first 1 hour the rate goes above the high, than sell. If it goes below the low than sell. What I did so far is the following...
[Deleted]
Hi, sir I are not familiar with English.Please understand me  ------------------------------------------------------------  I want to ordermodify at Specific time for example evry four hour,, in other word,, evry new H4 candle,,   Hour() = 4, 8, 12, 16, 20, 0.   When i use the function Hour() ,  can...
  Dinamic TP  (2)
Hi! Does anyone know a math formula to calculate a dinamic TP based on SL distance. The smaller the SL-the bigger TP and the bigger SL-the smaller TP?
I have found a indicator on this website which provides previous day (or week / /month) high and low prices.  I want to use this as the basis of creating my own EA to place buystops and sellstops at the previous day high and low.   Link: https://www.mql5.com/en/code/14410 I can see the code I want...
Hi i was trying to solve this problem with service desk but they redirected me here.. so i dont know who is in charge of signalls sellers but i need help. Recently i decided i will start selling my signals so i choosed one of my old ECn icmarket account and i started trading there according to...
Hi, I am trying to read from history file using an EA, but I encountered a problem with a certain broker, in which the symbol names end in [..r], i.e: EURUSD..r When I try to use the FileOpenHistory function with this filename, I receive an error 4101 - Wrong File Name. On any other broker with...
int liveAccountNumber = 535621;int liveAccountNumber2 = 737213;if(( AccountNumber() liveAccountNumber) && ( AccountNumber() liveAccountNumber2)) Hello, I am trying to do in this way but it is not working for the second or multiple account number. I want to get a code that will allow my EA only for...
Hello, this should be a trivial, but unfortunately I can not find it anywhere.I would like to obtain a MovingAverage of some indicator, for example Stoch(5,3,3). How can it by done? double stoch1 = iStochastic(Symbol(), Period(),5,3,2, MODE_SMA,0,MODE_MAIN,shift); double stochEMA1 = iMA(symbol,...
This website uses cookies. Learn more about our Cookies Policy.