Hello, Several MT4 platforms are crashing right after opening (on the same computer), and the day's log stores the following line. main pumping: timeout on stop Deleting default profiles does not help. It just opens and crashes after some seconds, it
Hi there, I have been doing some nasty backtesting lately and I've found that I'm out of disk space! And it is huge! Where can I find and delete all those nasty backtesting files? The logs directory is only 355kb. Thanks in advance! :-)
Hi there, I'll go straigth to the point. I have a partial closing function which closes a given percentage of all trades when a certain relationship between profits and initial risk is met. The thing is, it is closing many more short positions than
Hi folks, I have been searching about this for a while, please forgive me for the offtopic since english is not my mother tongue. What is the "trader's lingo" for "Closing half position once the profits cover the initial risk"
Hi everybody, I am getting some 130 errors placing pending orders (sell stops and buy stops). The funny thing is that, for ECN compliance, I am opening all trades without initial stoploss or takeprofit, to later update the ticket and set the proper
Hello folks, I have reviewed the OrderSend and OrderModify functions and found that slippage is expressed as a int value, which is very straighforward for 2-3-4digit pairs. But what about 5-digit pairs? Must slippage be expressed in pippetes on pips
Hello there, I have another weird issue with MT4 b432. I have allowed dll calls but the platform keeps on telling me that "Dll calls are not allowed". Has anyone experienced the same problem? Any clues? Is there any "security
Good afternoon, I am developing an indicator which draws a text label with a 270º angle, which means the label is displayed vertically. Here's the setting code: ObjectSet (labelName, OBJPROP_ANGLE , 270 ); It worked fine in b409, and b419. But for
Hello there, I am playing around a bit with an EA to allow proper pyramiding. I want to find if the last opened trade of a given type is risk-free. The thing is that I don't know the chronological order in which OrdersTotal() returns trades , the
Hello, A short question I haven't quite figured out. Can an indicator/ea know its filename? Sort like the following. Thanks! String fn = WhichIsMyFileName(); if(fn == 'MyIndicatorName.ex4') { DoSomething(); } else {
Hello, I have made a tick scalper which seems to be very good in backtest. However, modeling quality is only 25%. Where can I download the tick data to make 99% modeling quality? This EA only trades when price accelerates to a certain point, and I
Good night ;-) I am writing a little oscillator to test short-term trading even in range-bound markets. I am using IMAOnArray() to calculate two thresholds that point out when is the market flat. My problem is that IMAOnArray does not work as I
Hello ;-) I am having weird troubles when testing an EA that uses a slightly complex indicator, which has four resizing arrays as fake buffers and calls another indicator as well. Both indicators are loading and unloading all the time, making the
Hi there =) I am looking for a broker offering the widest variety of instruments :-) Which one would you recommend? I would like to trade... - Most uncorrelated currency pairs - Stock indexes from all the world - Sovereign bonds (Tbills and European
Hello, I have a *really* stupid question I am really sorry to bother you with: My metatrader4 templates always forget the colors I had set for certain indicator buffers . Why? The code in those indicators are as follows. Is there a way to set the
Hello :-) I am having trouble distributing some .ex4 files. Some people use them fine, and others find a sudden crash of their plattform. If instead of receving the binary, they compile the source code themselves, everything runs fine. I am building
Hello! I would like to make an indicator in such a way that it draws on the price chart, and also to include a separate window with an oscillator. All in one single file and indicator. Can this be done? Or something similar? Cheers
Good afternoon, I have been looking around for some time without success. Can I paint all space between two lines with a color? Take the following chart: I would like to "paint" all the space between the upper and the lower line of one
Hello :-) I would like to allow multiple instances of my indicator to share a variable -if applied to different charts-. Is that possible without using global variables? Thank you