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

Writing the Text of a signal to a .txt file



PureBytes Links

Trading Reference Links

Hello List,


I am trying to get TS2k to Write the Text of a trading
signal to a .txt file. Is there a  function or syntax
I can use that will return the same info that is sent
by the messaging feature in 2000i.(2000i messaging
Example below)

TradeStation: Market Position has changed for SPY
$137.460 1/31/2001
3:30 PM System: SPYSys.(14,6,1) Signal: Sell


*****************************
I think below is how it might look, I just need the
proper syntax to replace Date, Time, close in the
example below with the signals data.Also the print
statment below retuns the Date, Time, close of every
bar on the chart. Not sure how to correct this.

Any help appreciated.

if Condition1 then begin
Buy at market;

Print(File("C:Asciimydata.txt"),Date, Time, close );

end

Alan