Watch how to download trading robots for free
Find us on Facebook!
Join our fan page
Join our fan page
You liked the script? Try it in the MetaTrader 5 terminal
- Views:
- 6374
- Rating:
- Published:
- 2019.01.05 19:42
-
Need a robot or indicator based on this code? Order it on Freelance Go to Freelance
I was working on an EA and identified that an object should never have more than one copy. Most EA's never get large enough for it to actually matter that a singleton is used, but I like the clarity in the code for the object's type. This is just an update to a years earlier post of this for MQ4; it may be getting to be time to convert everything to MQ5.
The code follows closely the tutorial at http://www.yolinux.com/TUTORIALS/C++Singleton.html

Nonlinear Kalman filter - floating levels

Zero mean normalized nonlinear Kalman filter