MQL4 and MetaTrader 4 - page 590

[Deleted]
Is there anyway to test an EA in live market conditions (not backtesting) during off market hours? Prices and accuracy do not matter, I just need some tick movement.
  MT4 Update  (2)
Hi, I just came back from holiday. Saw that MT4 needs to be updated so I did so (uninstalled, downloaded and reinstalled it). But now there are fewer currency pairs available. I can't open up a graph for EURJPY for example. Is there something wrong with my computer? Or is this change affected to all...
[Deleted]
EUR/USD remains in a narrow range below the 78.6% retracement of the March to April decline near 1.3900 Our near-term trend bias higher in the Euro while over 1.3730 A push through 1.3900 is needed to trigger a new leg higher, but traction over 1.3970 is really required to confirm any sort of
  More fun with MT4 build 646  (12   1 2)
So I'm going to re-install later today unless someone has seen this and has a simple solution but here is the history I run up to 7 installations of MT4 side by side on the same computer. I usually have 5 running simultaneously. When the new build of MT4 came out they all updated fine. But...
[Deleted]
Hello, Is an "indicator" that displays parallel closes to close, and parallel highs to high. No interest as an indicator, I just want to know your ideas for simplifying and factorization code. Uncoded: How don't display the highs when the timeframe is less than the daily timeframe....
double a=1.7; double b=1.6; double c=a-b; Alert(c); the result is 0.99999999999999999987?
string name;        datetime t=iTime(NULL,1,0);      double o=iOpen(NULL,1,0);      Print(t +" ",+o);      if(B==1)        {         RefreshRates();         name="Buy "+TimeToStr(TimeCurrent())+" "+IntegerToString(value);        // Print("ObjectCreated:"+name);         if(...
Dear MQL4 programmer kindly i need your assist to writ Simple Expert Advisor on different currency can any one assist me as i don't have any idea about MQL4 the Expert Advisor needed as the below : 1- open buy position at market price at specific time ( ex: 12:00 Pm every day ). 2 - Currency...
Hi. I have a script that connect other program with pipe mode. while(!IsStopped()) { bool fConnected = ConnectNamedPipe(hPipe, NULL)!= 0; if (fConnected) { The lines above are responsable to wait for this connection. My problem is that When I dont have any connect and I try to...
After some time and frustration I have discovered that the compiler/terminal will not display the custom indicator if the buffer is calculated with data from another time frame. For example, displaying the daily ATR even when I am looking at the hourly chart. The first line below will work, but the...
Hi all, Here is a question for the experienced ones regarding the strategy tester : Most of us know how difficult it is to run a proper backtest on a Renko, range bars and other synthetic charts, right ? In this case, I'm talking about Renko. Since the best data we have is the M1 history and we...
Hi, How do I set up on MT4 for my Screen to change colour STRICTLY when the Exponential Moving Averages Cross Over?
Hello, I added interval trading to my EA before the update. I am now updated to build 625 and the interval trading is not working. can anyone tell me why?? extern int StartHour1=13; extern int EndHour1=16; extern int StartHour2=13; extern int EndHour2=16; extern int CloseTradesHour=17; extern...
[Deleted]
Hi, Does anyone else have the problem that I have: I try to get the the lot size for EURUSD, using the MarketInfo("EURUSDD", MODE_LOTSIZE) instruction. The value I get returned is 0. Is their another way of getting lot size?
Is there a way to get the chart bar index in a specific time frame from a datetime variable?
[Deleted]
Hello, i'm new here and still trying to learn mql4 coding. Currently need help in drawing this rectangle. The problem is how can i measure the Length B to get the date at point 3 which it extends 10 times from the Length A ? Any help will be great appreciated. Thanks double...
[Deleted]
Is there any way to store a variable value in expert advisor for further calculation? Let say I have int var = 0;int start()  {       //Do some calculation with var       //Now var has a value of 10       //How can I store this value 10? Next time expert advisor run, var no longer 0, but it will be...
1. Under the recent changes to MQL4 / Code Base I cannot find way to edit and update past published MT4 indicator, scripts or EAs. 2. The MT4 My Own folder is no more. 3. If I click Show All I am taken to a Hybrid MT5 / MT4 portal 4. If I click on a published indicator no edit function is...
Hi I have a summary report that gives me various results for each pass in an optimization that runs in DeINit(). Is there anyway to include the pass number in this report, as it appears in the Optimization tab. That way i can use it as a key to verfiy the results in my summary report match what is...
Hi Is there a way to write the overall optimization settings and the dates used to a file? I have managed to write the inidividual parameters used for each pass in the to a file, but want an overview/summary of what was tested. thanks
[Deleted]
Hello, I coded one EA. I added it to different platforms, and appeared problem with a couple. On the few platforms EA makes the same trades, but on few the code has problems below: Platform A. problem is with one trade per day - like the system doesn't "see" loop Platforms B (LMAX and Iron...
Hi! I like to take high/low of last 24 candle in 1hr chart. eg: 01AM GMT(yesterday) to today 01AM(today). how to filter the above time periods? when i try which filter current 01am candle high/low only. Please help me to solve this issue. #define  YONEAM 01#define TONEAM 01oneAM=0; while(...
I want to Want to give EX4 file of my EA to my friend. But want to make it sure that he will use it on his trading account only. What Code I can put to ensure that my EA will be used for specific trading account number. So that I can add friends account number & then compile EA & then give it to...
  Need Suggetion?  (7)
Hi, I am currently running EA for different pairs with different chart? now i wouldlike to combine with one EA. ie. one EA filters different pairs,different tf,etc.. Is this good idea or better to run EA with different chart? Your advice are welcome.
[Deleted]
Can anyone have idea why this is happened to me? I am new to MQL and created an indicator to show arrow at specific combination of the candles. It appears correct for the past history but for the upcoming candles it requires refresh window. What could be the reason?
[Deleted]
Hello, Since monday i've been running a total of 24 mt4 platforms in the portable mode, cause i want my platforms to look for their files in the installation map and not @ the metaquotes folder on the C drive. But since a few days all the platforms randomly freeze for some time.. I've been checking
[Deleted]
Can anyone have idea why this is happened to me? I am new to MQL and created an indicator to show arrow at specific combination of the candles. It appears correct for the past history but for the upcoming candles it requires refresh window. What could be the reason?
The custom event can carry only very tiny data. The MQL4 event data is limited to three numbers (short, long, double) and a string (up to 65 characters), inclusive the event identification. Not really much for working with objects. I would like to append a custom structure to the custom event. How...
HI all trying to get email alerts to work and keep getting the above error message. checked with my ISP, have all of the info correct in the email box. checked the threads here for help nothing useful or applicable to my situation. Using build 625. So any help deeply appreciated Keith