PRT crashed, are my scrpt lost?
Forums › ProRealTime English forum › ProRealTime platform support › PRT crashed, are my scrpt lost?
- This topic has 13 replies, 5 voices, and was last updated 3 months ago by inverse.
-
-
07/03/2024 at 11:40 AM #234730
Hi
2 days ago I was doing some backtesting with a script. My computer semi-crashed but I was abel to shut it down by the start meny.
Today when I open PRT my script is like it was 3 days ago, eg all my editing that I did 2 days ago is lost. Is it possible to get it back somehow?
07/03/2024 at 11:51 AM #234733No, unfortunately whatever you write will be saved when you exit thw platform using the toolbar commands.
I always download the ITF file to my PC at elast once per hour (it depends on how much I coded).
Sometimes, instead of downloading to my PC, I simply copy and paste the code into a text editor (I use Notepad++, but any editor is fine for the job).
2 users thanked author for this post.
07/03/2024 at 12:00 PM #234734Wheres the ITF file?
07/03/2024 at 12:36 PM #23473507/03/2024 at 12:41 PM #23473607/03/2024 at 1:25 PM #234740Thank you for the reply, but o.m.g. this sounds really non-premium !!! 🙂
Why cant the developers just have the code thats’s user created splitted in a folder for me to copy in Windows with my own way of copying the file.
Or at lease have all the backtests/indicators encrypted in a single big file I can manually copy. If I do a import, it shows me a list of whats in the file and I can choose what I want to import.
This is just weird.
But a big thank you for clearify this.
07/03/2024 at 1:30 PM #234741The code can only be copied & pasted to any editor and word processor or be exported as a proprietary ITF file. No other formats are supported.
07/03/2024 at 2:03 PM #234742Is Help > Export my Personal Data and use to you George_Lager ?
3 users thanked author for this post.
07/03/2024 at 4:45 PM #234751I used to get caught out all the time with it, in early days.
Now I make sure I ctrl/S regularly and save.
Also, I make sure I have added code to a chart, sometimes edits not saved.
Especially if edits don’t change code logic, like comments.
Also, I use the export Personal Data, under HELP on main menu bar, regular, with different file names so have different versions.
That’s in case I delete something by accident and don’t find out till weeks later.
In past I have copied code to other editor and used snipping tool to take screen shot of code on PC.
And at one point even set up a screen recorder just in case.
The latter causes its own problems, with computer resources.
07/03/2024 at 9:41 PM #23476107/03/2024 at 10:12 PM #23476307/04/2024 at 12:12 AM #234766Yes saw you already did that, just a thought that an automagical way of doing it, would be a timesaver of sorts – could also append date-time proper so a valid time stamp. The file attributes have it but not the name (just a lazy sod here hehe).
If you want to have a laugh *cough*, I was – manually – downloading ALL tweaked indicator iterations and then saw GraHals and your post – hamburgers with the lot I thought. So not quite a lazy sod here but there’s ways to be smarter about what we do, (what I said is basically an extension of what you do anyway, just pre-canned).
FWIW, genuinely excited to not have to manually dig it all out, bang, done, one file ….. sorted!
1 user thanked author for this post.
07/13/2024 at 8:59 AM #235221Hi
A nice pro tip is to use the quick “printer” button/function when editing a script in the upper right corner, and setting the default printing to Windows PDF.It’s super easy when editing a script to just press the printer button and your script gets saved 🙂
//Regards
08/04/2024 at 1:06 AM #236115 -
AuthorPosts
Find exclusive trading pro-tools on