Page 1 of 1

Using indicators inside a signal object

Posted: May 22 2013
by Denis
Hello,

How can I instantiate an indicator object in my signal code to use the indicator values for calculations ?

Thx

Re: Using indicators inside a signal object  [SOLVED]

Posted: May 22 2013
by Henry MultiŠ”harts
Hello Denis,

You need to place your indicator calculation logic into your signal code in order to perform the calculation based on original indicator values. You can also create the function that will do the calculation you need and then utilize it from your code.

We are going to add ability to reference the values of one study from the other study in one of the future versions of MultiCharts .Net.

Re: Using indicators inside a signal object

Posted: May 23 2013
by Denis
Thank you for your reply,

Happy to read this, do you plan to create also a kind of a "strategy" class that can contain multiple signalobjects interacting one with each other ?
This could be usefull too.

Thx
Denis

Re: Using indicators inside a signal object

Posted: May 23 2013
by Henry MultiŠ”harts
When multiple signals are applied to the same chart - they create a single strategy, same-direction orders generated by different signals are assigned priority relative to each other based on the order that the signals appear under the Signals tab in the Format Objects window. Please refer to the followong page for more information: How Scripts Work