We use cookies to give you the best experience on our website. If you continue to browse, then you agree to our privacy policy and cookie policy. Image for the cookie policy date

Can Indicators be used standalone?

Good morning,

Can Indicators be used standalone?

I mean... if I need the values, but I am not interested in the charts?

Thanks in advance for your help.

3 Replies

DA Devi Aruna Maharasi Murugan Syncfusion Team March 16, 2017 12:53 PM UTC

Hi Luca, 
  
Thanks for contacting Syncfusion Support. 
  
We have achieved your requirement (calculated plot values of the technical indicator) by using CustomTechnicalIndicator. We have prepared a demo sample based on this requirement and it can be downloaded from below link, 
  
  
If this does not meet your requirement, kindly provide more information regarding your requirement. It would be more helpful for us to serve you better. 
  
Regards, 
Devi 
 






LD Luca De Marco March 16, 2017 01:30 PM UTC

I cannot try it at the moment because I am at work, but I need it because I want to use your indicators as part of a trading strategy, and therefore I need the values to take decisions but without plotting them anywhere.

I hope I've been clear.

Thank you very much for your fast response,
Luca


DA Devi Aruna Maharasi Murugan Syncfusion Team March 17, 2017 09:56 AM UTC

Hi Luca, 
  
Thanks for your update. 
  
As we mentioned in earlier update, we have achieved this requirement in workaround by using CustomTechnicalIndicator for getting the calculated indicator plot values as well as indicator Y-values as like in below code snippet 
 
private void chart_Loaded(object sender, RoutedEventArgs e) 
{ 
    var points = indicator.Points;// TechnicalIndicator screen points 
    XValues = new List<DateTime>(); 
    YValues = new List<double>(); 
     
    for (int i = 0; i < points.Count; i++) 
     { 
      //TechnicalIndicator screen points are converted to corresponding  
           values by using PointToValue() 
        XValues.Add((this.chart.PointToValue(chart.PrimaryAxis as DateTimeAxis,  
                           points[i]).FromOADate())); 
        YValues.Add(this.chart.PointToValue(indicatorYAxis as NumericalAxis,      
                                       points[i])); 
     } 
} 
 
  
Please find the demo sample, 
  
Regards, 
Devi 





Loader.
Live Chat Icon For mobile
Up arrow icon