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. (Last updated on: November 16, 2018).
Unfortunately, activation email could not send to your email. Please try again.
Syncfusion Feedback

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

Thread ID:





129389 Mar 15,2017 01:54 PM UTC Mar 20,2017 04:08 AM UTC WPF 3
Tags: SfChart
Luca De Marco
Asked On March 15, 2017 01:54 PM UTC

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,

Devi Aruna Maharasi Murugan [Syncfusion]
Replied On March 17, 2017 03:42 PM UTC

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:ExponentialAverageIndicator ItemsSource="{Binding StockPriceDetails}" 
                                      XBindingPath="Date" High="High" Low="Low" 
                                      Open="Open" Close="Open" SignalLineColor="Black" 
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, 

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

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 04:08 AM UTC

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


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.

Please sign in to access our forum

This page will automatically be redirected to the sign-in page in 10 seconds.

Warning Icon 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.Close Icon