[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

RE: TS6 - T&S Capture???



PureBytes Links

Trading Reference Links

How about the other way, i.e. using 3rd party data (records prior to TS6's
database) and putting into the cache to merge with TS6 data stream? The idea
would be to increase the historical tick or 1-min data for testing in TS6.



 -----Original Message-----

From:         Barry Silberman [mailto:barry@xxxxxxxxxxxxxxxxxxxxx]

Sent:          Saturday, January 12, 2002 3:41 PM

To:             C Slemaker

Cc:             omega-list@xxxxxxxxxx

Subject:      Re: TS6 - T&S Capture???



Carroll,



The following was found on Traders2traders.com.  Link is:

http://www.traders2traders.com/code&overviews/write_to_file.htm



The only necessary is to change on the input line  "Cval©; " to "Cval(0); "



I hope this accomplishes what you want.



Barry Silberman

Write TS data to a file

(written by Chris Cheatham)



You can create an indicator to write an ascii file of whatever you like.

Here's an example of how to do it.



Input: DIR("c:\"), NAME("filename"), oval(o), hval(h), Lval(l),Cval©;



If currentbar = 1 then filedelete(DIR+name +".txt");



If currentbar >= 1 then FileAppend(DIR+name +".txt",

NumToStr(month(date),0) +"/"+ NumToStr(FracPortion(date/100)*100,0) + "/" +

NumToStr(1900+year(date),0) +","+ NumToStr(oval,4) + "," + NumToStr(hval,4)

+ "," +

NumToStr(lval,4) + "," + NumToStr(cval,4) + newline );



if c<> c then plot1(1," ");











----- Original Message -----

From: "C Slemaker" <cslemaker1@xxxxxxxx>

To: <omega-list@xxxxxxxxxx>

Sent: Friday, January 11, 2002 4:58 PM

Subject: TS6 - T&S Capture???





> Does anyone know if there is a way to capture to an ASCII file the

contents

> of a TS6 time-&-sales window?

>

> Thanks.

> Carroll S.

>