I would like to export the existing studies (most recent) data to Excel via DDE. I have looked over the examples in this forum, I am familiar with the DDE Object, I can create (new) in the EFS, and can see how to create multiple DDE objects in the EFS. However, I have a variety of studies running on different (advanced) charts, and would prefer not to hard code a study and its parameters into the EFS because I tailor the parameters to the symbols.
When you press Alt-E for Data Export, the last line of the data export screen is the data I'm after - only the most recent. Is that data saved internally in the chart anywhere so I can "get" it like I would "getsymbol()"? If so, I could create a generic EFS that I could add to any chart and it would return the values as (study1, study2, study3, etc), regardless of the studies and their parameters already running in the chart.
Otherwise, I would have to run the custom study (new) in the EFS (to get its value to return) and would have to edit the EFS to change its parameters to change the chart.
I could see creating empty study variables, then recursively going through the list of existing studies, get the name of the study, and name the DDEObject=getsymbol()+getStudyName - or even create generic study1, study2, study3, etc, which would be DDEObject=getsymbol()+"study1", and then you would have to look in the chart's Alt-E to determine which data point corresponds.
As far as I can tell the SigTools does not return custom study values, nor does Qlink, so the only other option is EFS DDEObject for custom studies like Jurik, etc.
I'm guessing the chart saves all of the Alt-E data in a seriesobject, but I can't find a method to "get" it. I'm sure it's just an array, and to would be very cool to be able to "getDataExportObject.value(0...n)". There are a variety of specific threads that this more generic solution would answer.
"How do I export data into Excel" is an extremely popular request, and this more generic option that a user could add to any chart would help many others as well. I think this would make a lot of people happy since they could return DDE values easily no matter what custom studies they were already running (and changing periodically) on the chart - an alternative to hardcoding a study with different parameters into each EFS.
Sorry for the long post, but I thought I'd explain as much as I could initially to prevent confusion.
When you press Alt-E for Data Export, the last line of the data export screen is the data I'm after - only the most recent. Is that data saved internally in the chart anywhere so I can "get" it like I would "getsymbol()"? If so, I could create a generic EFS that I could add to any chart and it would return the values as (study1, study2, study3, etc), regardless of the studies and their parameters already running in the chart.
Otherwise, I would have to run the custom study (new) in the EFS (to get its value to return) and would have to edit the EFS to change its parameters to change the chart.
I could see creating empty study variables, then recursively going through the list of existing studies, get the name of the study, and name the DDEObject=getsymbol()+getStudyName - or even create generic study1, study2, study3, etc, which would be DDEObject=getsymbol()+"study1", and then you would have to look in the chart's Alt-E to determine which data point corresponds.
As far as I can tell the SigTools does not return custom study values, nor does Qlink, so the only other option is EFS DDEObject for custom studies like Jurik, etc.
I'm guessing the chart saves all of the Alt-E data in a seriesobject, but I can't find a method to "get" it. I'm sure it's just an array, and to would be very cool to be able to "getDataExportObject.value(0...n)". There are a variety of specific threads that this more generic solution would answer.
"How do I export data into Excel" is an extremely popular request, and this more generic option that a user could add to any chart would help many others as well. I think this would make a lot of people happy since they could return DDE values easily no matter what custom studies they were already running (and changing periodically) on the chart - an alternative to hardcoding a study with different parameters into each EFS.
Sorry for the long post, but I thought I'd explain as much as I could initially to prevent confusion.
Comment