Searching thru a library of script code

Questions about MultiCharts and user contributed studies.
syswizard
Posts: 146
Joined: 15 Dec 2012
Has thanked: 13 times
Been thanked: 5 times

Searching thru a library of script code

Postby syswizard » 15 Dec 2018

Is it possible to output the source code of all of my script functions, indicators, signals, etc. so that I can search on certain keywords in the source code ?
The PLA format cannot be searched as far as I can tell.

syswizard
Posts: 146
Joined: 15 Dec 2012
Has thanked: 13 times
Been thanked: 5 times

Re: Searching thru a library of script code

Postby syswizard » 16 Dec 2018

Is there no way to output powerlanguage scripts as source files in text format ?

User avatar
Anna MultiCharts
Posts: 404
Joined: 14 Jul 2017
Has thanked: 28 times
Been thanked: 101 times

Re: Searching thru a library of script code

Postby Anna MultiCharts » 20 Dec 2018

Hello, syswizard!

There’s no such command in PowerLanguage that would allow outputing the studies’ codes to a single text file.
You’ll need to copy/paste them manually.

syswizard
Posts: 146
Joined: 15 Dec 2012
Has thanked: 13 times
Been thanked: 5 times

Re: Searching thru a library of script code

Postby syswizard » 20 Dec 2018

For a future enhancement, will you please consider this as a new Export option: Export-to-Text ?

syswizard
Posts: 146
Joined: 15 Dec 2012
Has thanked: 13 times
Been thanked: 5 times

Re: Searching thru a library of script code

Postby syswizard » 21 Dec 2018

I've added this request to the project management dashboard.
This cannot be all that difficult to implement....and it has vast implications for code analysis.

User avatar
Anna MultiCharts
Posts: 404
Joined: 14 Jul 2017
Has thanked: 28 times
Been thanked: 101 times

Re: Searching thru a library of script code

Postby Anna MultiCharts » 21 Dec 2018

syswizard,

at the moment it is possible to perform the search in the current document only (from Edit -> Find, or by pressing Ctrl+F). Exporting scripts to a text file is not likely to be added, but we might introduce the possibility to make search across all scripts. Please modify your request accordingly if the searching possibility is what you’re after.

syswizard
Posts: 146
Joined: 15 Dec 2012
Has thanked: 13 times
Been thanked: 5 times

Re: Searching thru a library of script code

Postby syswizard » 21 Dec 2018

I tried, but I was unable to login to the Project Management portal....and I could not reset my password.
Something is wrong here....it didn't recognize my Userid.

User avatar
TJ
Posts: 7151
Joined: 29 Aug 2006
Location: Global Citizen
Has thanked: 988 times
Been thanked: 2041 times

Re: Searching thru a library of script code

Postby TJ » 21 Dec 2018

syswizard wrote:I tried, but I was unable to login to the Project Management portal....and I could not reset my password.
Something is wrong here....it didn't recognize my Userid.


Just in case you are not aware,
the project management is a different program. It does not use the same userid/password as this forum.

syswizard
Posts: 146
Joined: 15 Dec 2012
Has thanked: 13 times
Been thanked: 5 times

Re: Searching thru a library of script code

Postby syswizard » 22 Dec 2018

I am aware of that fact. However, the Bug Genie portal is all messed-up...won't recognized my userid or email for a password reset.
Something is wrong with it's authentication mechanism.

User avatar
Anna MultiCharts
Posts: 404
Joined: 14 Jul 2017
Has thanked: 28 times
Been thanked: 101 times

Re: Searching thru a library of script code

Postby Anna MultiCharts » 10 Jan 2019

syswizard,

I sent the new password for PM to your email.

syswizard
Posts: 146
Joined: 15 Dec 2012
Has thanked: 13 times
Been thanked: 5 times

Re: Searching thru a library of script code

Postby syswizard » 16 Jan 2019

I have amended the request to include a search across all scripts feature
These users thanked the author syswizard for the post:
Anna MultiCharts


Return to “MultiCharts”