MQL4 and MetaTrader 4 - page 899

[Deleted]
  bells won't stop  (1)
An alert of some kind keeps ringing - a single bell - usually with each movement in the price of EURUSD. This does not occur with any other currency pair. Sometimes it does not ring, then suddenly it rings one time with every price fluctuation. Please tell me how to turn it off. Thank you....
[Deleted]
  Analyze candles  (4)
Hello everybody ! I'm blocked in the most important step in my EA ... The robot works in H1 I would like to retrieve the highest closing, and the lowest close of the day. What makes 24 candles to analyze for my two values. ( highest iClose ans lowest iClose ) These values ​​will be used to trade the
hello I have following problem with manual backtesting / browsing the charts: Lets say I set timeframe to Daily - and on Daily chart I can see 150 data bars then I move fixed data position cursor(small triangle at the bottom of chart) to 50 days back - if I switch timeframe to lets say 5min I end...
Break out strategy in back testing it goes long/short, demo account it goes long/short... live account, it only goes short and won't take a long signal... no errors or anything. Any ideas?
I am experiencing a complete lack of serious opponents on this subject. I feel like a pioneer. Whoever is on the subject, please contact me via PM. My public research on the subject can be seen in my profile
I would like to run EA for specified currency: For dingle currency i have used following code: if (Symbol() == " USDJPY ") { return(0); } Question: If i want to specify multiple currency shall i use following code? if (Symbol() == "USDJPY || AUDJPY || NZDJPY") If its wrong please give me an exact
Hi everyone, I'm using 6 years of tick data to test my EA and for some reason my stratey tester stops after 3.5 years. My FXT file is about 6 GB.... any solutions? TX
[Deleted]
Hi, what exactly determines the order, in which MT4 opens the charts specified in a profile? Is it by the chart number in the profile (chart01.chr, chart02.chr, ...)? And what is the meaning of the file order.wnd in the profile directory? Thanx.
Hi, Coders, Happy trading! I am trying to build a custom indicator using several arrays. The way I used them is like this: Array B [ ] is the sum of certain number of Array A [ ]. Array C [ ] is the sum of certain number of B [ ], and D [ ] is the sum of C [ ] and so on to many levels. When I...
Hey everyone, I have an MQL4-EA which has awesome Backtestingresults for the last 6 month. It works on M1 DE_30, it's based on scalping and these are the results of 6 month: When I developed it, I only looked at one month and these are my first results on 6 month (so I think it's not overfitted...
There are no 64-bit version of MT4? 32-bit version of MT4 only supports four threads, can not make full use of CPU, historical test is very slow.How MT4 supports four threads above?
Greatings coders, I've found out that the first closing price from a given period isn't always between the high-low price range of that period. Can someone tell me if there's anything wrong with my sample code? Thanks for any feedback! Jim doublePriceLow,PriceHigh;int start()  { if(Bars < 60) {...
[Deleted]
I'm a week in so I'm really green with coding. Especially since I have no programming background. Below is section of code I wrote to close an open order at a specific time. Although it compiles fine the orders stay open. I hoped I could get some pointers. I've only got OP_BUY in the section...
Does anybody of you know about performance-fx.com?
  Scalping. Tick chart on a chart.  (69   1 2 3 4 5 6 7)
Like new tool to the left of M1, but no need to overlap M1-W1
Other than zooming in and out. How does one set up charts for specific time and days? Such as; 1 hour 30 day 15 minute 10 day Yes, I am new at this. Thank You Joseph
I want to know how I can setup the metatrader for "gmail" Emails to receive the emails alerts from the EA ?? please help me specially for "gmail" server what should I write in smtp ?? and also the other fields. thanks in advanced
update many time !but the bug still be there! EXPERTS-LOGS file. it still need manual delete it. every month will have a huge file!when it can be auto delete?
[Deleted]
According to the account types: Lot per ticket is restricted to 100 lots max. for Micro account, and 50 lots max. for the standard one. Now, suppose that I need to send order having 330 lots with Micro account upon triggered signal. Please hint me about how to design a loop to handle repetitive...
Hi, All I've got a few quibbles with the latest version of MT4 and wonder if anyone else has seen similar things. One thing that bugs me is that with the 500 - 509 releases of MT4 the ability to modify stops and take profit levels appears to have undergone a radical change. I've seen others voice...
[Deleted]
see the pic
Hello all! I'm trying to launch a new chart via a script like this: hTerminal = GetAncestor(WindowHandle(Symbol(), Period()), 2);PostMessageA(hTerminal, WM_COMMAND, 33160, 0); then trying to change the Pair/Period of the new chart using: hwnd = WindowHandle(Symbol(),Period());SetWindowTextA (hwnd,...
I want to export history data for back testing, after exported, when I want to open the data under office excel, an error message was shown that "file not loaded completely". I would like to export 10 years data. May I know how to do that? I won't be able to export 10 years data. Thank you
[Deleted]
Lots=MathFloor((AccountFreeMargin()*AccountLeverage()*Risk*Point*100)/(Ask*MarketInfo(Symbol(),MODE_LOTSIZE)*MarketInfo(Symbol(),MODE_MINLOT)))*MarketInfo(Symbol(),MODE_MINLOT);Print(Lots); When checking the log, I continue to get a calculation of 0 lots, so this error perpetuates: 2013.07.17 17:47...
[Deleted]
Im trying to make a custom indicator that will draw a rectangle when ihighest-ilowest of the last "n" bars is less then "r". I have tried altering other custom indicator thats draw rectangles based on session times, and have also read about custom indicators in the mlq4 book but still i have had no...
[Deleted]
I am running the same EA on several different demo accounts. The EA properties will not open on one of the brokers. I have to delete the EA and reinstall it to access properties.The other brokers open without a problem. Any suggestions on why this is happening?
New article Alert and Comment for External Indicators. Multi-Currency Analysis Through External Scanning has been published. Alert for multi-currency and multiple time frame analysis of external indicators. The article deals with a method of getting event information in respect of events in external...
[Deleted]
  Execution times  (2)
Are there any general methods to reduce execution times? The ping time to my brokers MT4 server from my VPS is < 1 millisecond, still it takes between 100 and 200 milliseconds to send an order and have it confirmed back. How can this be reduced? Why is this time variable, it only depends on how...
Hi, I wrote the EA. Which will run one pair per chart. Is this possible to run multi pairs by attaching the EA to single chart. Eg: I attached the EA to EUR/USD chart . currently my EA will work for EUR/USD pairs only. for additional pairs i have to open new chart and have to attach EA. Question: By
[Deleted]
Hi, I've been using Ninja Trader for quite some time now: I love and need its tick charts. But only futures brokers offer it, and I need the low margin and low ticksizes of CFD/Forex markets. I like MT4 too, but it does not have tickcharts. So, I've been thinking whether the two programs are...