OmniTrader Professional Forum - OmniTrader Pro General Discussion
Extrcting Data To excel from an Indicator

^ Top
Duxx

Posts: 881

Joined: 2/18/2009

User Profile
 
Subject : Extrcting Data To excel from an Indicator
Posted : 9/17/2023 10:48 AM
Post #32299

Hi All

Is there a way to extract the data showing on a chart from an Indicator?

Thanks
^ Top
Jim Dean

Posts: 3433

Joined: 3/13/2006
Location: L'ville, GA

User Profile
 
Subject : RE: Extrcting Data To excel from an Indicator
Posted : 9/17/2023 4:42 PM
Post #32301 - In reply to #32299

Easiest way is to create a Debugmsg() output string next to your chart output commands, that has the formatted value(s) you want to put into excel, with a comma inserted ie ... &","& ... in-between each value. Then after recalc, open up the debug pane in the editor, highlight everything from top to bottom (could be really really long if you have a lot of history loaded), copy it, and paste it into a text file editor. Store it with a ".csv" extension. Then double-click the file and it will open in excel.
^ Top
Duxx

Posts: 881

Joined: 2/18/2009

User Profile
 
Subject : RE: Extrcting Data To excel from an Indicator
Posted : 10/1/2023 6:23 PM
Post #32318 - In reply to #32301

Thank you Jim, really appreciate it


https://www.omnitrader.com/currentclients/proforum/thread-view.asp?threadid=8131&posts=3