Download MetaTrader 5

MQL4 and MetaTrader 4 - page 895

To post a new topic, please log in or register
  Neebie to MT4 (3)
I am a new comer to the world of MQL4 and having a hard time opening the indicators after I have loaded them on the platform. I can see it under custom indicators on the platform but when I double click to open it, nothing happens. Can anyone help me this problem?
New article An Example of a Trading Strategy Based on Timezone Differences on Different Continents is published at mql5.com: Surfing the Internet, it is easy to find many strategies, which will give you a number of various recommendations. Let’s take an insider’s approach and look into the process...
I'm a newbie to programming - when i say newbie I mean I don't know anything about it. I would like to know if there is a program avaible that can alert me via sms of the crossing of 2 moving averages. Then also an indicator with sms alert of price (candle) closing above and below a moving average....
Lately I come around a few EAs that forward test fine but fails back test oroptimization. It looks like fault is in Icustom (). I did change EA that it only calls Icustom when it needs it. Anybody knows any way around it? Anyway to increase execution time limit when back testing or whenoptimizing?...
Hey there, I'm having a hard time with one of my strategies, it works perfectly but once a whipsaw or sideways trend appears it performs extremely bad. Here is an example: I work with different indicator crossovers to initiate a market entry or exit, but once this whipsaw pattern appears...
I succeed to install MT4 on MAC OS X (iMAC 27" core i7), but it doesn't work well. I used wineBottler to install MT4. I cannot install MT5 on the same machine, the procedure start but wait indefinitely on the prompt : "Welcome to Meta Trader 5 Setup!" The software refuse to go further, the buttons...
I was trying to code a dashboard indicator based on some sample code which I found online. The code is: //+------------------------------------------------------------------+ //| FLI_MP_HAS.mq4 | //| Copyright ? 2009, MetaQuotes Software Corp. | //| http://www.metaquotes.net |...
Hi, i need to delete mt4 archives, i have 7.5 million entry so i cannot delete all with my hand, i need to know where is the mt4 database TY
anybody...please help... step by step, how to change sound alert.. many thanks PL
Hi all! This has been my first week with MQL4, so I can be considered as a very big newbie ;-) Otherwise, I'm a Java Developer so programming MQL4 isn't being too difficult. I have a big doubt about a question that I've already found in forum, but with no responses: https://forum.mql4.com/29916 :-(...
This is where the problem occurs for iTime()..it used to work just fine.   chartTime      = iTime(currPair,PERIOD_M1,0);Here's the code stub where the Open Order stack is disappearing...   // ---------------------------------------------------------   // Determine if there are active Buy or Sell...
We are working on tools for calculating potential draws on grid systems. We need a dynamic calculator in spreadsheet format or the formulas to build in excel, which can be then coded to mql - it needs to account for spread, pip value, and new orders which would be opened if price moves. This is not...
Hello all, I'm currently working on an indicator for a system need some help on how to find open price for a bar at time 08:00:00 of each day ( Mt4 Broker Time ) Thanks for your help. Hairi
Hi Long time reader, first time poster.... I am trying to figure out how to delete past trend lines based on how old they are. The EA I am working on places a trend line on daily highs and lows but I only want to keep the past 7 days of high and low objects and delete older ones. Is this possible...
Hey there, I'm experiencing some big problems when it comes to determining when a newly bar is formed, or an old bar is closed. The code only needs to execute when a new bar is formed. So far I have tried: if(Volume[0] == 0) {//do stuff } and if(Bars > barsTotal || Volume[0] == 0){ barsTotal =...
Hello, I have make a backtest today, from beginn this year 2010 till date from today und have use both programms, my TS24EA1 and a commercial EA, not from me, named EAShark 5.0 (Selling for 500$!) Wich Testresult do you find better? For the reason that it dont look to bad for EAShark 5.0 I have...
i am a newbie in mql4.n i want to get the value of a double until fist decimal point without round. as an example lets take 0.72 and 0.78.then values should b 0.7 in both cases not 0.7 for first one and 0.8 for second one.so guys please help me for that
So in my code, I set a global variable and want to check that it succeded. I call get last error and print the result but get an odd result saying 4002 array index out of range. The previous line uses iMAOnArray() so I decide to check for error in this line... same answer but now the...
Hi, Is it possible to generate a Closed Trade P/L Report, so that the Deposit/Withdrawal won't be seen on the report? Thanks, Eyal.
After finding nothing on this topic in the archives, I felt I would consult the forum. Very sorry for this post should I have overlooked this answer. I hunting for information on "cost average" on multiple entries. Simply put, xxx/yyy = 1 lot @ 1.00, 2 lot @ 1.01 4 lot @ 1.02. What is the total...
  simple ea? (26   1 2 3)
hi i created this simple ea with an eacreator .... http://sufx.core.t3-ism.net it should buy when eurusd 5min crosses over eurusd 30min and sell when eurusd 5min crosses under eurusd 30min. should be very simple.... while compilating no errors where shown. can anyone please advise? many thanks!...
I have a silly question about this code... init(){   BarCount = Bars;//...}start(){   if (Bars != BarCount) {...}} Clearly the test will not pass on the first bar. I assume "Bars" increments with each new bar, otherwise the test will never pass? Thank you for a great forum, Helmut
hello  this is an expert advisor based on the secret W.D Gann method, it's give 20 Pips a day as 100% guaranteed i'm work with this method every day and get the 20 Pips W.d Gann Expert Advisor please watch the vedio and give me your feedback on it W.d Gann Expert Advisor https://www.youtube...
is theire any one have head & shoulder pattern indicator .
I have an EA that includes money management and account type routines. If the account has 5 digits which isa choice by extern variable, it mutplies the SL and TP by 10. Also, it calculates lot size by percentage of risk entered also by extern variable. Bothe of these routines work fine, except...
Hello, i have here a Accelerator Oscillator Tradeingstystem (Indikator + EA Programm) for you as present. A discription how the EA work you can find on my webpage http://www.ts-24.net/mql4_Accelerator_Oscillator_Expert_Advisor_EA_MetaTrader.php I wih you much luck with the programms, if you have...
This is a very simple code, yet not working! I'll be happy if someone could help me with this noobie thread :) The code is: int start()  {double TP = 20;double SL = 20;//----   if(MessageBox("Do you really want to BUY 1.00 "+Symbol()+" at ASK price?    ",                 "Script"...
Have a look at this simple test-script: int start() { int k=0; int p=50; for(int i2 = 0; i2 < p; i2++) { for(int i3 = 0; i3 < 5 ; i3++) { k = i2+i3; Print(k); } } return(0); } As long as p is smaller than 50 the first value of k is 0 (zero) as it...
I am looking to get a range like we get for RSI (0 -100 ) or WPR and deMarker for OBV, I think OBV extremes offer excellent entry/exit signals . Thanks in advance
My meta-trader feed froze on Friday during 2 hours before the non-farm report when the Eur dive against the Usd. It reconnected two hours later to present the horror. This disconnection had never happened before. And then another two hours later, I stopped receiving feeds until the end of...