PureBytes Links
Trading Reference Links
|
no signal and wrapper required:
Vars: String1(" "), strComma("");
String1 = "c:\" + GetSymbolName + ".t2k";
strComma = ",";
FileAppend(String1,
NumToStr(Time, 0) + strComma +
NumToStr(Open, 3) + strComma +
NumToStr(High, 3) + strComma +
NumToStr(Low, 3) + strComma +
NumToStr(Close, 3) + strComma +
NumToStr(V, 0) +
NewLine);
warmest regards,
Kimberly
> -----Original Message-----
> From: Alex Dannenberg [mailto:Alex@xxxxxxxxxxxxxxxxxxxxxxx]
> Sent: Wednesday, August 23, 2000 4:04 PM
> To: omega-list@xxxxxxxxxx
> Subject: RE: symbol as part of file name?
>
>
> I figured it out. Sorry if anyone's spent time on my behalf
> already...
>
> If anyone's interested, the solution is to make the first argument to
> fileappend an input to a signal, call it Strategy1, and then
> have another
> signal, call it Wrapper, have a statement like
> IncludeSystem: "Strategy1", "YourPathHere"+GetSymbolName+".txt"
>
> -Alex
>
> -----Original Message-----
> From: Alex Dannenberg [mailto:Alex@xxxxxxxxxxxxxxxxxxxxxxx]
> Sent: Wednesday, August 23, 2000 6:51 PM
> To: omega-list@xxxxxxxxxx
> Subject: symbol as part of file name?
>
>
> Hello List.
>
> Does anyone know how to get around the Omega restriction that
> the filename
> argument to FileAppend cannot be a variable?
>
> I'd like to use the workspace assistant to go through a big
> custom symbol
> list and generate a different file for each symbol in the
> list (with the
> symbol as part of the file's name).
>
> Any ideas for a workaround?
>
>
|