Hello,
How can I instantiate an indicator object in my signal code to use the indicator values for calculations ?
Thx
Using indicators inside a signal object [SOLVED]
- Henry MultiСharts
- Posts: 9165
- Joined: Aug 25 2011
- Has thanked: 1264 times
- Been thanked: 2958 times
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.
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.
- Henry MultiСharts
- Posts: 9165
- Joined: Aug 25 2011
- Has thanked: 1264 times
- Been thanked: 2958 times
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