Robot using my own indicater

Created at 23 Oct 2013, 18:45
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!
jeex's avatar

jeex

Joined 18.10.2013

Robot using my own indicater
23 Oct 2013, 18:45


Still modelling an experienced trader. I now build his Personal Indicater and wonder:

(How) is it possible to get values from my own Indicator in my Robot?


@jeex
Replies

hichem
23 Oct 2013, 23:01

RE:

There is examples in the sample robots and indicators that come with cAlgo.

 

jeex said:

Still modelling an experienced trader. I now build his Personal Indicater and wonder:

(How) is it possible to get values from my own Indicator in my Robot?

 


@hichem

Old Account
23 Oct 2013, 23:32

 private // Name of indecator abc;

  protected override void OnStart()
        {
         abc    = Indicators.GetIndicator<//Name of indecator>();
        }

protected override void OnTick()

if (abc.Result.LastValue < 1)

 

Hope it helps

 


@Old Account