×

Sign up and get MultiCharts free

Use its powerful simulation mode with data included out of the box. Just fill out the form and start honing your trading skills with a few clicks.

File - MultiCharts
Open main menu

File

Revision as of 15:02, 19 February 2012 by JoshM (talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

Used in Print statements to specify an ASCII file as the output location; must precede the expressions to be printed and be followed by a comma.

If the specified file does not exist, the file will be created.

Usage

File("PathFilename")

Where:

PathFilename - a string expression specifying the path and filename.

Notes

Example

Print(File("C:\test.txt"), CurrentDate, CurrentTime);

Will save the output of CurrentDate and CurrentTime to the test.txt file in the root directory of the C: drive.