Hello again
Is it possible to rename a file with a command from Multicharts?
I ddi not found any command to do it
The idea is to save infor from a week or mont of data and have it under a separate file name for each determined period.
Martin
Renaming a file from Multicharts
- TJ
- Posts: 7743
- Joined: 29 Aug 2006
- Location: Global Citizen
- Has thanked: 1033 times
- Been thanked: 2223 times
Re: Renaming a file from Multicharts
you ask very smart questions.Hello again
Is it possible to rename a file with a command from Multicharts?
I ddi not found any command to do it
The idea is to save infor from a week or mont of data and have it under a separate file name for each determined period.
Martin
here's the trick I use...
see if you can figure out the detail.
Code: Select all
var:
datastring("");
datastring = text(c);
FileAppend("c:\temp\"
+_auto.filename+".txt",
_log.id+", "
+datastring
+newline);
- Attachments
-
- _auto.filename.txt
- (554 Bytes) Downloaded 423 times
-
- _log.id.txt
- (906 Bytes) Downloaded 414 times
- TJ
- Posts: 7743
- Joined: 29 Aug 2006
- Location: Global Citizen
- Has thanked: 1033 times
- Been thanked: 2223 times
Re: Renaming a file from Multicharts
you can apply these functions to any chart, any symbol, any time frame,
and they will extract the required information for you -- automatically !
Coding is fun.
and they will extract the required information for you -- automatically !
Coding is fun.