- Search Crypto Craft
-
7bit replied Nov 11, 2009Search this forum for the "TotalRecall" indicator. It was an experiment done by be that tries to identify similar price patterns in the history of the same pair and plot the best matching ones into indicator windows. Maybe this is of some use for ...
Looking for a specific setup back in time with an EA
-
7bit replied Nov 10, 2009What are you trying to do? Your original post was quite unclear. Do you want to pass variables by reference? this can be done: void foobar(int& foo, double& bar[]){ foo = 42; bar[2] = 3; } int start(){ int a; double b[100]; foobar(a, b); // fill the ...
can we use Pointers like in C++
-
7bit replied Nov 8, 2009The smothness of the curve and the drawdown in relation to the profit it made. But be careful: the backtester doesn't plot or otherwise record the drawdown that happens between two trade closings. The curve should contain several hundred (better ...
Whats considered a good EA?
-
7bit replied Nov 8, 2009Ok, lets make an example: What is the trend for EURUSD, when would you enter, where would you cut losses, how far do you expect it to run.
Why we have innovated so many trading system?
-
7bit replied Nov 8, 200999% of them dont work because they are not tested on sufficiently enough data. They are not systems, they are only ideas for possible systems and almost all of these ideas turn out to be unusable. Finding a working system is hard because there are ...
Why we have innovated so many trading system?
-
7bit replied Nov 8, 2009Option in poll missing — There is an option missing in the poll: "I use EAs for half-automated trading" Drawing lines, ranges, times or other parameters of limited duration in the chart and then let the EA trade or manage existing trades ...
Fractal Zig Zag EAs on 5 pip Renko Bricks
-
7bit replied Nov 8, 2009there is a copy of parts of the folder structure somewhere below %APPDATA%. This is a microsoft invention, they replaced an existing problem (programs writing into read only folders) by an even more bizzarre and confusing one (allowing them to do so ...
Metatrader 4 ate all my memory up!
-
7bit replied Nov 7, 2009Multiply the desired number of days with 24 then you will arrive at the value in hours.

5 day and 35 day sma on 1 H charts?
-
7bit replied Nov 7, 2009Make heavy usage of Print() for debugging. Print() is your best friend. When you suspect that iClose(foo, bar, shift) gives wrong data then print out before *every* call to the function foo, bar, shift // to see what you are actually feeding to this ...
"Phantom" Close!!
-
7bit replied Nov 7, 2009It isn't the language, it is the community that is wrong with such languages. There simply are no experienced coders around, there are mostly beginners trying to teach other beginners, none of them has ever learnd programming. Just look at the code ...
Learning to Program MQL4/5
-
7bit replied Nov 7, 2009I suspect there is still one of these hard to find bugs in your own program where some variable is not updated correctly, initialized wrongly, one of these malicious typos (i instead of 1), something that happens only in a seldom used if branch, ...
"Phantom" Close!!
-
7bit replied Nov 7, 2009Because you haven't seen something doesn't mean it doesn't exist. * Closing a buy is equivalent to opening a same size sell. * Closing a sell is equivalent to opening a same size buy. * It doesn't matter which buy or sell you close first, only the ...
Synthetic Hedging Script, Conforms to new CFTC regulations
-
7bit replied Nov 6, 2009I fully agree! What we are seeing in mql4 programming is what i call the PHP effect: A lot of noobs with absolutely no background try to learn this domain specific language as fast as possible. The forums are full of blind leading the blind and the ...
Learning to Program MQL4/5
-
7bit replied Nov 6, 2009I would suggest doing the array resize in init() if numOfBars doesnt change during operation or only call it when numOfBars really has changed so it doesn't call this function on every tick. ArrayResize() is quite expensive, especially for bigger ...
arrays in mql4
-
7bit replied Nov 6, 2009I assume you want the close of a bar. In MT4 this is the last tick that would belong to this bar and unfortunately it is not easy to trigger something on the last tick because you never know if it really was the last tick that just came in, instead ...
"Phantom" Close!!
-
7bit replied Nov 6, 2009If I wanted to trade a bidirectional grid i would just instead of opening new buys and sells over and over just close one of the many open sells when i want to buy and close one of the buys when i want to sell and only open new buys when there are ...
Synthetic Hedging Script, Conforms to new CFTC regulations
-
7bit replied Nov 6, 2009Maybe it would make sense to give these traders tools that really help them: * An indicator that would analyze the order history (in a hedged MT4 account) in real time and draw the non-hedged equivalent of all trades into the chart or into an ...
Synthetic Hedging Script, Conforms to new CFTC regulations
-
7bit replied Nov 6, 2009If there is a trend then it is not random. Random data would be for example price(t) = price(t-1) + e(t) where e would be normally distributed random numbers with zero mean. In your example you just assume another constant term added to this, the ...
Inescapable Truths
-
7bit replied Nov 6, 2009What is the intended use for this? Why not just close the EURUSD position instead of paying two additional spreads plus the swap and unnecessarily use margin? To me this makes just as much sense as // this will work even faster while (equity() > 0){ ...
Synthetic Hedging Script, Conforms to new CFTC regulations
-
7bit replied Nov 5, 2009You didn't ask any question so far, you are just permanently stating absurd things that already have been formally proven wrong. Who told you it would be isomorphic? The mapping simply must be defined, thats all! The mapping is surjective! Here ...
NEW MT5 Seriously Stuffed For Traders Platform