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

[RT] HOW TO: Scan the Market for Trading Ops.



PureBytes Links

Trading Reference Links

For the novice to intermediate users of Tradestation, attached is a copy of
a system recently posted, which has been modified to just show current
trading candidates (by including an input parameter of the first date to
find trades for; i.e. system will NOT show trades that qualify for the
system before the specified input date).
System also modified to only include symbols having average daily volume >
125K shares.

In order to let Tradestation scan the market for new trading symbols,  do
the following:

1) Create a new workspace
   by selecting from the menu,
   File->New
   Click the workspace tab, then click the 'Blank Workspace' icon
2) Add a single chart to the workspace.
   Use any symbol, and only specify only 500 days worth of bars to display.
   The more bars you specify, the longer it will take to scan all of the
   symbols in your Globalserver portfolio.
3) Compile the attached signal in the Easylangage PowerEditor, go
   the PowerBuilder to create a new system, include the TFS signal to the
system.
4) Add the system to your chart by selecting from the menu,
   Insert->Strategy...
   then pick the TFS strategy from the list
   then click the Ok button
5) Add a workspace assistant to your workspace by:
   from the menu, select
   File->New...
   then click the Tracking Center icon
   then click the Ok button
   then from the menu, select
   View->Workspace Assistant's Results
6) Save the workspace by selecting from the menu,
   File->Save Workspace
   then specify the name 'scan' to the workspace
7) Schedule the scanning by selecting from the menu
   File->Schedule Workspace Assistant
   Click the add button to add a workspace, specify the name of your newly
created
   workspace 'scan'
8) Only check the box for 'GlobalServer Portfolio' for the 'Scan all price
data in'
   checkbox.
9) Only check the box for 'Strategy Positions and Orders' for the 'Scan for'
   checkbox.
10) Click the Ok button and the scan will begin.

When the scan is complete, I recommend you look over each symbol
individually (view charts) to further qualify & research (understand their
businesses, earnings, industry, and taking into consideration the valuation
of the general market).


Happy Hunting,

James


{ *******************************************************************

   Indicator     :    TFS (Trend Following System)

   Last Edit     :    7/2/2000

   Provided By   :    James Taylor, Principal
                      TechTrading Corp.
		 	    www.techtrading.com

   Description   :
      Variation of the function from the June 200 edition of S&C Magazine,
	  Bryan Strain, Author.

   Input Variable: TradeDate -- the first date the system will start
                                scanning for trades.
                                To find new trades, fill-in the last
					  trading date in the TradeDate field.
					  For example:  July 3rd = 1000703
					                June 1st = 1000601

********************************************************************}
Input: TradeDate(1000703);
Vars: VolOsc(0);
If Close > Open then
	VolOsc = Volume;

If Close < Open then
	VolOsc = - Volume;

{---------------------------------------------------------------------}
{ New Long Signals and Exiting of Shorts                              }
{---------------------------------------------------------------------}
If Close > ((Highest(High, 50) + Lowest(Low, 50)) / 2) and
   Average(VolOsc, 7) > 0        and
   Date >= TradeDate             and
   Average(Volume, 10) >= 125000 then
		Buy;

If Close Crosses Below ((Highest(High, 50) + Lowest(Low, 50)) / 2) and
	MarketPosition = 1           and
	Date >= TradeDate            then
        ExitLong;

{---------------------------------------------------------------------}
{ Short Selling Signals and Exiting of Longs                          }
{---------------------------------------------------------------------}
If Close < ((Highest(High, 50) + Lowest(Low, 50)) / 2) AND
	Average(VolOsc, 7) < 0        and
	Date >= TradeDate             and
	Average(Volume, 10) >= 125000 then
		Sell;

If Close Crosses Above ((Highest(High, 50) + Lowest(Low, 50)) / 2) and
    MarketPosition = -1           and
	Date >= TradeDate             then
        ExitShort;

Attachment Converted: "f:\eudora\attach\TFS2.ELA"