- Search Metals Mine
-
7bit replied May 6, 2010C is not dangerous because of procedural programming, C/C++ are dangerous because although they are static languages they don't provide any sort of type safety, not even remotely. Programmers are encouraged to cast things around and use pointers to ...
Object Oriented Programming
-
7bit replied May 6, 2010This thread is about how OOP would be useful in writing code for Metatrader (or any other platform). You stated in your previous postings that OOP is not useful for anything, so why are you now advertising all the "Toy-Languages" [your own words] ...
Object Oriented Programming
-
7bit replied May 6, 2010This is something i simply optimized away by regarding my EAs as running forever

. Stopping to trade simply does not belong to the normal use case of my EAs, it only happens when I shut down MT4 entirely (reboot, weekend). Also I have ...MT4 DLL Memory Pollution
-
7bit replied May 6, 2010yet another angle thread. There are no angles in the chart, only on the screen where they are measured in pixels. And since most people prefer to measure time in days, hours, minutes, seconds or candles and price in pips or dollars or euros or any ...
Demark trendline angle measurments
-
7bit replied May 6, 2010I will give you an example. I recently had the following problem. I had a trading strategy that was like: extern int param1; extern int param2; int start(){ int signal = getSignal(param1, param2, 0); if (signal>0){ stayLong(); }else{ stayShort(); } ...
Object Oriented Programming
-
7bit replied May 5, 2010There is no point in discussing this further. Nobody here was talking about bounds checking for arrays or runtime libraries. It was about late binding and callback functions and a nice syntax to abstract them. Even in C you would need to implement ...
Object Oriented Programming
-
7bit replied May 5, 2010Like I said, you haven't yet understood it. And you even admit it with this last sentence. Maybe another 6 or 7 years programming will help. I have been where you are now (not understanding the concepts of OOP) when I was younger, only knowing ...
Object Oriented Programming
-
7bit replied May 5, 2010Don't store the pointers in the dll at all. Cast them into 32 bit integers, store them in the EA, treat them like resource handles of some sort, and pass them as parameters to wrapper-functions in the dll (which then will cast them back, dereference ...
MT4 DLL Memory Pollution
-
7bit replied May 5, 2010It is no surprise to hear this from a C guy, you C programmers have not understood OOP in any way. These examples are only minor syntactical differences, they don't make programming any different, they don't change the way the program flow would be ...
Object Oriented Programming
-
7bit replied Apr 30, 2010Wow! £700.00 in only one night? How much do they charge for one MB and how much traffic did your MT4 generate during that night?
bandwidth usage with mt4
-
7bit replied Apr 30, 2010This is a known design flaw of mt4. due to the way it draws the candles into the chart it may happen that for example one hour is not composed of exactly 60 M1 Candles, most often there are less candles on lower timeframes than should be ...
MT4 Trendlines change depending on timeframe of same chart...?
-
7bit replied Apr 29, 2010Try different color settings. AFAIK it uses the same color that is used for the display of volume bars.
I cannot see the line for the opened buy/sell orders on the chart. Pls help!
-
7bit replied Apr 28, 2010The non-existence of angles in the chart (and thus the impossibility to calculate one) is not a personal standard or a presumption or something like that, it is a mathematical fact. Mathematical facts should simply be understood and accepted. ...
EMA SMA angle indicator
-
7bit replied Apr 27, 2010And this should be changed as soon as possible. C/C++ has produced enough damage already.
Object Oriented Programming
-
7bit replied Apr 27, 2010Every statically typed language can (and will) be compiled into highly efficient machine code, just as performant as C++. There is no reason why C++ should provide any advantage over other languages here. There is nothing in the C++ language that ...
Object Oriented Programming
-
7bit replied Apr 27, 2010C++ is the most complicated and beginner unfriendly language that is currently in existence. One needs to have deep knowledge of a whole bunch of topics (including intimate details of how the Von Neumann Architecture works and how it is implemented ...
Object Oriented Programming
-
7bit replied Apr 27, 2010They should have made an API to make it possible to write EAs in any language instead of creating yet another incompatible half-baked programming language.
Object Oriented Programming
-
7bit replied Apr 27, 2010IMHO it should be considered a crime recommending C++ to a newbie.
Object Oriented Programming
-
7bit replied Apr 27, 2010The fact that it is possible to write clean and proper OO code in php for someone who knows how to apply these concepts does not imply that php is a good language to learn OO concepts. In fact the exact opposite is the case: People who "learned" ...
Object Oriented Programming