Welcome to the Traders Laboratory Forums.
Coding Forum Collaborate, receive help, or discuss coding related issues.

Reply
Old 03-15-2007, 03:29 PM   #1

Join Date: Jan 2007
Posts: 5
Ignore this user

Thanks: 0
Thanked 0 Times in 0 Posts

Tradestation Volume Avg

Is it possible to add another column in Radar Screen for the Volume Avg Indicator. Basically I just want a column to show the actual percentage of daily volume that has printed currently. This way I can sort by stocks that are printing the highest % of their daily average. Is this something that someone with no coding experience can do? Thanks in advance.

Bubs
Bubs Blog
vj2651 is offline  
Reply With Quote
Old 03-16-2007, 08:22 AM   #2

Join Date: Dec 2006
Posts: 15
Ignore this user

Thanks: 0
Thanked 6 Times in 2 Posts

Re: Tradestation Volume Avg

Hi Bubs -

I am not sure if this answers your question. I have Volume Avg indicator on my daily charts. The chart can be set to any time frame for intraday also. I brought up radar screen, inserted a list of stocks and then inserted Volume Average. 2 columns appeared with this indicator in Radar Screen - Vol and Vol Avg.

Bill
willd is offline  
Reply With Quote
Old 03-16-2007, 10:43 AM   #3

Join Date: Jan 2007
Posts: 5
Ignore this user

Thanks: 0
Thanked 0 Times in 0 Posts

Re: Tradestation Volume Avg

Bill, thats what I also have but I want to add a extra column that shows what percentage of daily volume a stock has printed. Basically I want to look for stocks on my watchlist that have the highest % of their daily volume at a certain time.
vj2651 is offline  
Reply With Quote
Old 03-21-2007, 06:02 PM   #4

Join Date: Jan 2007
Location: san jose
Posts: 90
Ignore this user

Thanks: 0
Thanked 5 Times in 5 Posts

Re: Tradestation Volume Avg

Create new copy of Volume Avg indicator ( different name) and add the following line:

Plot1( TVol, "Vol" ) ;
Plot2( AvgTVol, "VolAvg" ) ;
if AvgTVol > 0 then Plot3(TVol/AvgTVol * 100, "% D Vol"); << new line
nickm001 is offline  
Reply With Quote
Old 03-22-2007, 09:01 AM   #5

Join Date: Jan 2007
Posts: 5
Ignore this user

Thanks: 0
Thanked 0 Times in 0 Posts

Re: Tradestation Volume Avg

Thanks for the response. One more question I really don't want to mess up the indicator. Where exactly do I add this line? Here is the indicator. After I add the lines do I just save it and readd the indicator in radar screen? thanks again for the help.

inputs:
AvgLength( 50 ),
AlertPct( 50 ),
UpColor( Cyan ),
DownColor( Red ) ;

variables:
VVol( 0 ),
AvgVVol( 0 ),
TVol( 0 ),
AvgTVol( 0 ),
AlertFactor( 1 + AlertPct * .01 ),
AlertStr( NumToStr( AlertPct, 2 ) ) ;

if BarType >= 2 then { ie, not tick/minute data }
begin
VVol = Volume ;
AvgVVol = AverageFC( Volume, AvgLength ) ;
Plot1( VVol, "Vol" ) ;
Plot2( AvgVVol, "VolAvg" ) ;
{ Alert criteria }
if VVol crosses over AvgVVol * AlertFactor then
Alert( "Volume breaking through " + AlertStr + "% above its avg" ) ;
end
else { if tick/minute data; in the case of minute data, also set the "For volume,
use:" field in the Format Symbol dialog to Trade Vol or Tick Count, as desired }
begin
TVol = Ticks ;
AvgTVol = AverageFC( Ticks, AvgLength ) ;
Plot1( TVol, "Vol" ) ;
Plot2( AvgTVol, "VolAvg" ) ;
{ Alert criteria }
if TVol crosses over AvgTVol * AlertFactor then
Alert( "Volume breaking through " + AlertStr + "% above its avg" ) ;
end ;


{ Color criteria }
if C > C[1] then
SetPlotColor( 1, UpColor )
else if C < C[1] then
SetPlotColor( 1, DownColor ) ;


{ ** Copyright (c) 1991-2003 tradestation Technologies, Inc. All rights reserved. **
** tradestation reserves the right to modify or overwrite this analysis technique
with each release. ** }
vj2651 is offline  
Reply With Quote
Old 03-22-2007, 01:41 PM   #6

Join Date: Jan 2007
Location: san jose
Posts: 90
Ignore this user

Thanks: 0
Thanked 5 Times in 5 Posts

Re: Tradestation Volume Avg

here u go .. mods done... just import it in your TS...
Attached Files
File Type: eld VOLUMEAVERAGE_PCT.ELD (4.6 KB, 148 views)
nickm001 is offline  
Reply With Quote
Old 03-22-2007, 02:48 PM   #7

Join Date: Jan 2007
Posts: 5
Ignore this user

Thanks: 0
Thanked 0 Times in 0 Posts

Re: Tradestation Volume Avg

Nickm thanks alot for the file. It works great exactly what I wanted. Once again thanks
vj2651 is offline  
Reply With Quote
Old 03-22-2007, 03:16 PM   #8

Join Date: Jan 2007
Location: san jose
Posts: 90
Ignore this user

Thanks: 0
Thanked 5 Times in 5 Posts

Re: Tradestation Volume Avg

my pleasure...
nickm001 is offline  
Reply With Quote

Reply

Thread Tools
Display Modes Help Others By Rating This Thread
Help Others By Rating This Thread:


All times are GMT -4. The time now is 09:52 AM.
Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.
CS to VB integration by DeskLancer
©2006-2011 Traders Laboratory, All Rights Reserved.