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.
Unfortunately, activation email could not send to your email. Please try again.

How to plot ExponentialMovingAverage based on Open Price instead of Close Price?

Thread ID:

Created:

Updated:

Platform:

Replies:

129389 Mar 15,2017 09:54 AM Mar 20,2017 12:08 AM WPF 3
loading
Tags: SfChart
Luca De Marco
Asked On March 15, 2017 09:54 AM

Good Morning,

How can I plot ExponentialMovingAverage based on Open Price instead of Close Price or HIgh or Low, or based on a different value?

Thanks in advance for your help,
Luca

Devi Aruna Maharasi Murugan [Syncfusion]
Replied On March 17, 2017 11:42 AM

Hi Luca, 
  
Thanks for contacting Syncfusion Support. 
  
The ExponentialAverageIndicator will draw based on the close values which is mapped by Close property in ExponentialAverageIndicator. You can  achieve your requirement(indicator drawn based on Open value) by setting open model property value to Close property of indicator as shown in the below code snippet, 
 
<chart:SfChart.TechnicalIndicators> 
   <chart:ExponentialAverageIndicator ItemsSource="{Binding StockPriceDetails}" 
                                      XBindingPath="Date" High="High" Low="Low" 
                                      Open="Open" Close="Open" SignalLineColor="Black" 
                                      Period="5"/> 
</chart:SfChart.TechnicalIndicators> 
 
  
We have prepared a demo sample by drawing the technical indicator with Open value for your reference and it can be downloaded from below link, 
  
  
Regards, 
Devi 



Luca De Marco
Replied On March 19, 2017 03:20 PM

Thank you very much!

I tested it with MetaTrader4 and they produce the same output!

Devi Aruna Maharasi Murugan [Syncfusion]
Replied On March 20, 2017 12:08 AM

Hi Luca, 
  
Thanks for your update. 
  
Please let us know, if you need any further assistance on this. 
  
Regards, 
Devi 


CONFIRMATION

This post will be permanently deleted. Are you sure you want to continue?

Sorry, An error occured while processing your request. Please try again later.

You are using an outdated version of Internet Explorer that may not display all features of this and other websites. Upgrade to Internet Explorer 8 or newer for a better experience.

;