ASE Home Page Products Download Purchase Support About ASE
ChartDirector Support
Forum HomeForum Home   SearchSearch

Message ListMessage List     Post MessagePost Message

  Parabolic SAR functionality is not working
Posted by Aishwarya on Mar-15-2016 14:38
Attachments:
Hi ,

Is parabolic sar values should be in float or double?

Actually, we are using CMFCPropertyGridProperty

Here my parameters are Period1,Period2,Period3 (screenshot is attached for the same)

If parabolic Sar values should be float or double then let me know how to convert my GridProperty value to float or double

Please let me know what are the initial conditions for Parabolic Sar to plot .


Thanks in Advance

Regards,
Aishwarya
parabolic Sar_CMFCGRIDPROPERTY.png

  Re: Parabolic SAR functionality is not working
Posted by Peter Kwan on Mar-16-2016 03:06
Hi Aishwarya,

According to ChartDirector documentation, the first 3 parameters of the addParabolicSAR are "double". See:

http://www.advsofteng.com/doc/cdcpp.htm#FinanceChart.addParabolicSAR.htm

The "double" is not related to ChartDirector. It is just a standard C type. You may refer to Microsoft documentation on how to convert the grid property to standard C type. For your reference, the following area some Microsoft documentation:

(a) How to get a value?

https://msdn.microsoft.com/en-us/library/bb983668.aspx

(b) How to convert the variable to the necessary type?

https://msdn.microsoft.com/en-US/library/ew0bcz27(v=vs.110).aspx

Hope this can help.

Regards
Peter Kwan

  Re: Parabolic SAR functionality is not working
Posted by aishwarya.rajeev on Mar-23-2016 12:20


It helped me alot


Thanks Peter :)