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

Re: Determining whether a volume bar is up volume or down volume



PureBytes Links

Trading Reference Links

In a message dated 12/8/99 3:23:57 PM Pacific Standard Time, 
lorjay@xxxxxxxxxxxx writes:

>  Does anyone know of how to create a single volume bar in a subparagraph
>  which in the color of that bar (not a two colored  overlay bar) will tell
>  you whether the action of the price bar (in paragraph 1) was formed on
>  accumulation or distribution.

LD:

Here you go, plus 2 paint bars {blue up / red down} to tell you if the bar 
was on net upticks or downticks.   Ticktoc is a little noisy, I would smooth 
it out, but this is what you asked for.    - Bill Wynne (SmartTrades.com)

{indicator "ticktoc"}
Plot1(upticks-downticks, "ticktoc"); 

{plot as historagram} 
{accumulation > 0 ; distribution < 0 : at least in theory}

{upticks paintbar}
if (upticks-downticks) > 0
then begin
 Plot1(h,"PBLow");
  Plot2(l,"PBLow");
End; {BLUE}

{dnticks paintbar}
if (upticks-downticks) <= 0
then begin
 Plot3(h,"PBLow");
  Plot4(l,"PBLow");
End; {RED}