Use of OLE to get value of static variable

Hi everyone

Is there a way to get the value of a static variable in python program using OLE. Please help with sample code

@gds, AFAIK no. But you can probably achieve a similar result writing your "static" variables to a shared file and read it from python.

Are you wanting to get the variable from Python and place it into a static variable in AmiBroker? You could save the variable into a text/csv file from one program and access it in the other program.

1 Like