Best Way to Save Lines of Code?

DjEskimo007

Member
What is the best way to save all of my very important custom scripts? Talked to support and they recommended saving everything I wanted to keep on a offline drive or something. Figured there was an app where you could save long lines of code but haven't found any. If it comes down to it I guess I could save everything on a google doc but that would be a giant pain in the ***. Send Ideas pls
 
Solution
What is the best way to save all of my very important custom scripts? Talked to support and they recommended saving everything I wanted to keep on a offline drive or something. Figured there was an app where you could save long lines of code but haven't found any. If it comes down to it I guess I could save everything on a google doc but that would be a giant pain in the ***. Send Ideas pls

https://usethinkscript.com/threads/...-studies-strategies-with-export-option.14979/

Join useThinkScript to post your question to a community of 21,000+ developers and traders.

What is the best way to save all of my very important custom scripts? Talked to support and they recommended saving everything I wanted to keep on a offline drive or something. Figured there was an app where you could save long lines of code but haven't found any. If it comes down to it I guess I could save everything on a google doc but that would be a giant pain in the ***. Send Ideas pls

https://usethinkscript.com/threads/...-studies-strategies-with-export-option.14979/
 
Solution
What a great option. Didn't know this existed.

WARNING

EDITING OR ALTERING ANY FILE INTHE THINK OR SWIM FOLDER OUTSIDE OF THINK OR SWIM MAY BREAK YOUR INSTALLATION

Also, if you're like me and happy working with the guts of files, there is a file in my ThinkOrSwim folder:
cache._dyqtaddn5uvmrm.tda.thinkorswim.com.xml
which contains all of the user studies in one place. Mine is a shade over 10 MB. It is an xml file, and if you open it up it looks nothing like your studies. However, if you copy the "CODE" block out of any of the xml, (if this doesn't make sense, you may not want to proceed) and paste it into someplace like this:
https://www.base64decode.org/
it will 'decode' your script. You could, of course, automate it with some python... perhaps I'll do that some day and post it here.

Just another way to get to our studies.

-mashume
 
What a great option. Didn't know this existed.

WARNING

EDITING OR ALTERING ANY FILE INTHE THINK OR SWIM FOLDER OUTSIDE OF THINK OR SWIM MAY BREAK YOUR INSTALLATION

Also, if you're like me and happy working with the guts of files, there is a file in my ThinkOrSwim folder:
cache._dyqtaddn5uvmrm.tda.thinkorswim.com.xml
which contains all of the user studies in one place. Mine is a shade over 10 MB. It is an xml file, and if you open it up it looks nothing like your studies. However, if you copy the "CODE" block out of any of the xml, (if this doesn't make sense, you may not want to proceed) and paste it into someplace like this:
https://www.base64decode.org/
it will 'decode' your script. You could, of course, automate it with some python... perhaps I'll do that some day and post it here.

Just another way to get to our studies.

-mashume

thanks for that link. the default setting of UTF-8 , for decoding worked... when i trimmed the extra characters from the end of a code line
 
Actually, the best way is just to select "User Defined" studies from the edit studies window. Then, select the ones you want to export... right click, and it will prompt you for the location to save them in.

I do this about once a month just to have a backup, and I also backup my workspace file.

thinkorswim_2023-05-26-21.32.27_1103.jpg
 
Actually, the best way is just to select "User Defined" studies from the edit studies window. Then, select the ones you want to export... right click, and it will prompt you for the location to save them in.

I do this about once a month just to have a backup, and I also backup my workspace file.

agree, see post 3
 
Actually, the best way is just to select "User Defined" studies from the edit studies window. Then, select the ones you want to export... right click, and it will prompt you for the location to save them in.

I do this about once a month just to have a backup, and I also backup my workspace file.

View attachment 18770
Could you point me please where I can learn about how to backup my workspace file?
 
Scan scripts can be exported the same way as studies.

Grids must be shared, and workspaces are a file on the computer.

I would recommend using the "Share" function for grids so you have a backup, and just save the link. Unfortunately there isn't any way to truly export those.
 
Scan scripts can be exported the same way as studies.

Grids must be shared, and workspaces are a file on the computer.

I would recommend using the "Share" function for grids so you have a backup, and just save the link. Unfortunately there isn't any way to truly export those.
Tks, it seems that we need to share one by one
 

Similar threads

Not the exact question you're looking for?

Start a new thread and receive assistance from our community.

87k+ Posts
298 Online
Create Post

Similar threads

Similar threads

The Market Trading Game Changer

Join 2,500+ subscribers inside the useThinkScript VIP Membership Club
  • Exclusive indicators
  • Proven strategies & setups
  • Private Discord community
  • ‘Buy The Dip’ signal alerts
  • Exclusive members-only content
  • Add-ons and resources
  • 1 full year of unlimited support

Frequently Asked Questions

What is useThinkScript?

useThinkScript is the #1 community of stock market investors using indicators and other tools to power their trading strategies. Traders of all skill levels use our forums to learn about scripting and indicators, help each other, and discover new ways to gain an edge in the markets.

How do I get started?

We get it. Our forum can be intimidating, if not overwhelming. With thousands of topics, tens of thousands of posts, our community has created an incredibly deep knowledge base for stock traders. No one can ever exhaust every resource provided on our site.

If you are new, or just looking for guidance, here are some helpful links to get you started.

What are the benefits of VIP Membership?
VIP members get exclusive access to these proven and tested premium indicators: Buy the Dip, Advanced Market Moves 2.0, Take Profit, and Volatility Trading Range. In addition, VIP members get access to over 50 VIP-only custom indicators, add-ons, and strategies, private VIP-only forums, private Discord channel to discuss trades and strategies in real-time, customer support, trade alerts, and much more. Learn all about VIP membership here.
How can I access the premium indicators?
To access the premium indicators, which are plug and play ready, sign up for VIP membership here.
Back
Top