I am using 1 on MT4 EA created by me. but as far as programming the system to run through the various functions on MT4 that sometimes functions to be dropped qua.khong not know anyone like me and do not know how to overcome it? I noticed then that the rapid fluctuations in the price of this case is...
hey, i have a problem. Every time i wanna open mql5.com a warning appears(see attached file). can somebody help me?
[Deleted]
I want to check for market close or open on the specific time or bar. I'm using iBarshift if return negative number market closed if positive market open. Does anyone know the better way? Thanks
Hi, what possibilities are given to active/deactive ea settings on the chart? I found, that I can put buttons on the chart, now. Is it also possible to "create" a clickbox or write ON / OFF on the chart and change the value by clicking on the string? Are there examples for these functions?
Hi I downloaded my FXCM on my Windows 7 & Windows 8. Then I added new external files such as indicators, templates & experts but when I open FXCM I can't find them inside the software. Although I can see them when I open the folder of FXCM i.e. I see the files laying there with their names as I...
I have some problem in calling my indicator, please correct me the exact way of calling this indicator iStdDev Please help. //+------------------------------------------------------------------+ //| Rock-Trader-ME.mq4 | //|
Hi I have very easy profitable forex strategy. I tested that on USDJPY USDCAD and GBPJPY. but it should works on all pairs. Every day from 8 00 to 11 15 i take max price and min price . my width is max - min if price reaches max i will open buy position : so my open price is max, my TP is max +...
[Deleted]
Hi guys New to signing up to the forum as have only just got stuck. This question may be very simple and it may be that I have missed the answer in my search. I suspect the question is almost too basic to have been asked before?! I have coded in C++ before but am a bit rusty. Finding MQL4 is ok...
Does anyone tried to use memcached for data caching? I have indicators that take a long time to calculate and as long as I don't expect a value to change, I would like to take the value from cache. I love memcahced, but I wasn't able to find a usable dll with exported functions. Help will be...
This seems like quite an easy thing that I am trying to do but I have created an indicator that draws a horizontal line and sends an alert when price passes the line. I just wanted to add text to the horizontal line so that the text is displayed just above the line at the far left. Is this possible...
I have two classes. One prepares array with some numbers. What is the "best" or "recommended" way to pass an array from the object of one class to the object of second class. Problem is that arrays cannot be result of a function, so I don't see a way to expose array data to the consumers outside of...
[Deleted]
I have a live account with VantageFX and Tallinex, and my EA will open orders here and immediately close them with no error or anything. Weird thing is it trades perfectly normal on both their demo servers. What should I be looking for here in my code that could be causing this?
Hi, I want to collect data for daily chart. I work on 4 pairs So i want to open a csv file, where it will write the open, close, bid ask in different column. I created a EA and my code worked. But I want to collect on 4 pairs at the same time. I can't attached the EA on many charts at the same...
[Deleted]
Hello, i wanted to code a partial close and i wanted to use the order ticket number to let my program remember that he have done a partial close for a order already, but i see now a problem, the orderticket number does change when i make a partial close on a open order. Does somebody know what i can...
Examples from help file and articles on this site recommend following procedure for iterating through active orders: int total=OrdersTotal();// write open ordersfor(int pos=0;pos<total;pos++) { if(OrderSelect(pos,SELECT_BY_POS)==false) continue; // Do something with selected order } What would...
Is there any way to specify the start dateto the debugger in the same way yoiu do to StrategyTester? Would be nice
[Deleted]
Recently I am using mt4 android mobile version.I open the order but it seems the is no option to close order.does anyone know how to do it.also current version is very basic.it didn't HV trailing stop features.adding this feature will help.metaquotes need to realise this.also no feature to load...
[10:50:01] Teodoro Nato: for ( int i=0; i< 5; i++){ for ( int i=0; i< 5; i++){//i create the array in the values of the last 5 candle of the average at 20 periodsMovingAvarage20[i]= iMA(NULL, 0, PeriodMovingAvarage20,0, MODE_EMA, PRICE_CLOSE,i);ma20[i]= MovingAvarage20[i];//i create the array in...
When using arrays or Static variables which are calculating values needed to be kept for processing in an EA, Is there away to constantly back up those values calculated somewhere so that if the MT4 Terminal is unexpectedly closed the EA can retrieve those values ? Any links where I can read more...
New article Tales of Trading Robots: Is Less More? has been published at mql5.com: Two years ago in "The Last Crusade" we reviewed quite an interesting yet currently not widely used method for displaying market information - point and figure charts. Now I suggest you try to write a trading robot...
Hi All, It looks like it's only performing the first step and that's it. the EA is handling 4 pairs. So I have created 4 function for each pair: Paremeters: //-------------------Variables static int magicalNumber;static string PipsDeclencheurArray[50];static string StopLossArray[50];static int...
[Deleted]
Hello, i have time values in a string like "8:30am" or "11:15pm" and i would like to get that time values automatic in a timestemp format which is always 24 houers format, that better to use for codeing, does somebody know how to codeing a function that can change the pm and am time values into a...
Hi, I have taken an existing indicator and used it to make an EA. I use the indicator on the chart and load the EA separately. It compiles perfectly and loads fine, but it does not work. It is based on a turtle indicator. Can someone show me where I have gone wrong please. Thanks in advance. This...
Open pending order by Buy Stop. If next bar open price with gap jump over buy stop level more than 10 pips. How to delete pending order before change position from buy stop to buy order ? thank you
[Deleted]
Hi :) I have a check for trading hours in my EA that I want to extend. Currently it´s working like this: extern int StartHour= 20 ; extern int EndHour= 23 ; if ( Hour () >= StartHour && Hour () <= EndHour) { ....... } This check works great, however, only if EndHour is not extending beyond "23". But
I'm posting this because I could not find a useful reply to others who have asked about this error. I just encountered it for the first time today. I presume there are other reasons for this error, I'm just offering the one that affected me today: My broker explained something I had not known...
can anyone help me with this indicator it does not show on my chart
Hi, is there maybe a finished indicator, which show me the DayOfWeek-Names vertically at the top (or bottom), like in my picture (text created manually to show my request). Regards Burkhard
Hi I'm trying to get started building my own EA, I have a trading system that I would like to automate, but its different to the typical MA cross over systems. Its a day trading system built around the highs and lows of a series of preceding candles. The basic building block of the trading system...
Dear Friends. I got a code alert Horizontal line. but i could not make it as wait for 5 seconds after each and every alert.. Here is the code. Kindly some one help me.. Thanks in advance #property copyright "Metaquotes"#property link "mql4.com"#property indicator_chart_windowextern double...

You are missing trading opportunities:
- Free trading apps
- Over 8,000 signals for copying
- Economic news for exploring financial markets
Registration
Log in
If you do not have an account, please register
Allow the use of cookies to log in to the MQL5.com website.
Please enable the necessary setting in your browser, otherwise you will not be able to log in.