Forum

Question for asynchronized calculation of custom indicator.

I called a complex indicator in my ea by iCustom. As the calculation for the indicator is async and very slow, how can I know The indicator calculation has already finished And the indicate data is up to date when I get the indicator data by CopyBuffer? Is there a way to check the indicator

Compile Error when use template in Class inheritance

Need help. When I migrate my mql4 lib to mql5, but come to a problem I can't solve. here is the code that recreate the problem. template < typename T> class Foo{}; template < typename T> class Bar: public Foo< T >{}; void OnStart () { Bar< int > b; Bar<Foo< int >> b2; Bar< const Foo< int >* >