Accessing the parameters of a base class.

Created at 06 Mar 2013, 10:29
How’s your experience with the cTrader Platform?
Your feedback is crucial to cTrader's development. Please take a few seconds to share your opinion and help us improve your trading experience. Thanks!
PE

PeterPips

Joined 23.01.2013

Accessing the parameters of a base class.
06 Mar 2013, 10:29


Hi,

How do I access the parameters of a base class?

For example, I have a compiled algo with the parameter "RiskLevel" in class Algo1 : Robot, how do I access it in class Algo2 : Algo1?

Thanks.

Peter


@PeterPips
Replies

cAlgo_Fanatic
06 Mar 2013, 11:21

Accessing parameters of a base class is not supported now. The only thing you can do now is declare parameters in the derived class and call methods of the base class at run time.


@cAlgo_Fanatic