- Search Metals Mine
-
7bit replied Apr 4, 2010Can you make a minimal example that will produce this error? Why would the iCustom() call complain about TimeToNumber()? This must be some internal MT4 runtime thing, since there is no such function exposed to the mql4 language directly and judging ...
invalid integer number as parameter 1 for TimeToNumber function
-
7bit replied Apr 4, 2010Did you already try to Print() the string resulting from TimeToStr(Date, TIME_DATE) + " " + BOTime
invalid integer number as parameter 1 for TimeToNumber function
-
7bit replied Apr 4, 2010No. He is converting to a string, then appending the time to the date as a string and then converting back into a timestamp. Looks correct to me.
invalid integer number as parameter 1 for TimeToNumber function
-
7bit replied Apr 3, 2010R:R and strike ratio are all that is needed to describe the profitability of a system. It can be directly translated into the profit factor, which is sum(profit)/sum(loss). The above mentioned 1:1 with 70% would be an extraordinary profitable system ...
The best way to trade is one trade a day
-
7bit replied Apr 3, 2010I think the real meaning of the term "overtrading" is that you are deviating from your system and your rules to get more trades. Your system won't give you a valid signal right now but you want to (or must) trade *now* at all costs, so you are ...
The best way to trade is one trade a day
-
7bit replied Apr 2, 2010strategy tester — I have read somewhere that in this built the strategy tester is broken. Is this true? I can't find this posting at the moment, I don't even remember which forum it was, but I wouldn't want to update and lose the ability to ...
Did anyone else have to do that MT4 live update today?
-
7bit replied Apr 2, 2010you should really try trading slower timeframes if some milli seconds are influencing your trading. Alternatively always enter/exit with pending orders. This is also good for maintaining a normal blood pressure and reducing the risk of heart attacks.
Lightening FAST MT4 platform needed. Suggestions please.
-
7bit replied Mar 31, 2010My latest study shows that the majority of losing trader blame it on external reasons and the rest is blaming it on the fact that due to the 95% (or now 99%) chance of losing it is completely normal to lose and nothing to worry about.
New study shows only 1% of traders are consistently successful
-
7bit replied Mar 31, 2010market-makers, conflict of interest, bucket-shops, stop-hunting, requotes, price-manupulation, platform crashing/freezing, TPs not filled, 95% must lose, and now even 99% instead of 95, there will always be good excuses to blame the own failures on. ...
New study shows only 1% of traders are consistently successful
-
7bit replied Mar 31, 2010This number does not mean anything if the many-worlds-interpretation of quantum mechanics is true.
New study shows only 1% of traders are consistently successful
-
7bit replied Mar 30, 2010You could try to modify (extend) one of the available period-converer scripts. This should be quite easy. Maybe find the most advanced one of these sripts and ask the author to officially support and maintain this feature in the official version. ...
Inverting the chart
-
7bit replied Mar 29, 2010I would move important parts of the calculations into a dll. url above is a link with a quick start guide and a simple moving average indicator and an example for a more advanced indicator contributed by one of the users. If you don't use a ...
How to make a sellable Indicator
-
7bit replied Mar 29, 2010Can there be made any reasonable amount of money at all by selling indicators? There are myriads of free indicators around and every commercial indicator has at least half a dozen free clones with similar or sometimes even better functionality. ...
How to make a sellable Indicator
-
7bit replied Mar 29, 2010You don't need to be rich to share it for free.
How to make a sellable Indicator
-
7bit replied Mar 29, 2010EAs that use an indicator in iCustom() rely on the fact that buffers are initialized with EMPTY_VALUE. Filling it with 0 is wrong. The code that reads the indicator and displays the values must be fixed so that it can deal with EMPTY_VALUE.
empty value to zero
-
7bit replied Mar 26, 2010You are right, but this particular example is flawed.Think about it for a while: in a slowly but constantly downtrending or uptrending but otherwise completely random market, at which hours would most likely be the daily high or low? A better ...
S/R and TL on Randomized Price Movement
-
7bit replied Mar 26, 2010you can check the return value of UninitializeReason() in deinit() and in init() for one of the REASON_* values, so you can leave out certain initializations or do additional things if a parameter change took place.
Changing parameters in a running EA
-
7bit replied Mar 26, 2010Your problem has just been reduced to finding the Java code for WMA, then the following WMA(2*WMA(PRICE, n/2) - WMA(PRICE, n), sqrt(n)) should already be valid Java syntax. and WMA(PRICE, n) is defined as ( PRICE * n + PRICE(1) * n-1 + ... ...
HMA in JAVA code
-
7bit replied Mar 26, 2010I fixed some bugs. Current EA version is 2010.3.26.2 (needs common_functions.mqh version 2010.3.26.1 or later if you want to compile it yourself.)
Snowballs and the anti-grid
-
7bit replied Mar 25, 2010No. You just discovered the reason why many people (falsely) believe price movement is entirely random. Because it almost looks *looks* like random. But it isn't. Your job as a trader is to find the few occasions where the probabilities of price ...
S/R and TL on Randomized Price Movement