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

Re: Time of Sales



PureBytes Links

Trading Reference Links

> Jeff R. Bushell wrote:
> Is there an EL program or an add on to TradeStation to get time of
> sales, other
> than the data window that does not dynamically update?  I would like
> to see them in list form as the trades occur.

You can do it with PrintLog like this if you only want to see minutes:
Print( "Time & Sales: ", Time, Close );
Sample output:
Time & Sales: 1405   1081.50
Time & Sales: 1405   1081.60
Time & Sales: 1405   1081.70
Time & Sales: 1405   1081.60

If you want the time in seconds also displayed then this will do it,
just set the indicator to update every tick and the time (showing
seconds) and sales will be printed in list form to your PrintLog:

GlobTime( &SaleTime );
Print( "Time & Sales: ", SaleTime, Close );

Sample output:
Time & Sales: 1405.43   1081.50
Time & Sales: 1405.47   1081.60
Time & Sales: 1405.53   1081.70
Time & Sales: 1405.59   1081.60

or you can print this information to a separate window like this which
gives same output as above with seconds.:
Msg_Show_String( "Time & Sales: "+NumToStr(Close, 2) );

GlobTime (Global Time) and Msg_Show_String (Global Message View) are
products available at our web page listed below.
--
--------------------- Doug Deming, IEC --------------------
Investment Engineering, Corp.-Omega Research "Solution Provider"
       * * * Visit our Investment Labs online! * * *
WWW Site: http://www.InvestLabs.com   PHONE: (808)875-4558
Email:     doug@xxxxxxxxxxxxxxxxxxx      FAX: (808)276-4557
-----------------------------------------------------------