Login Page - Create Account

Support Board


Date/Time: Sun, 24 Nov 2024 07:29:33 +0000



Post From: Issue: Custom study having custom object does not update once been added to the chart.

[2013-09-30 16:23:38]
SherKhan - Posts: 19
Thanks for the response. I have been able to get it to work when declared globally above the main() function. But the other problem I see here is when I add this study to another chart under the same workbook, I am having issues with the values getting off their correct calculation.

Is it possible that the global declaration (variables declared within the class as Private) would have interfered with the same study calculations on the other chart ?

I have seen your sample code http://www.sierrachart.com/index.php?l=doc/doc_ACSILProgrammingConcepts.html#DynamicMemoryAllocations

If you could share any other example of managing dynamic memory and using declared class functions and using class variablse would be great.

Thanks


Date Time Of Last Edit: 2013-09-30 16:24:07