SI
SI
discoversearch

We've detected that you're using an ad content blocking browser plug-in or feature. Ads provide a critical source of revenue to the continued operation of Silicon Investor.  We ask that you disable ad blocking while on Silicon Investor in the best interests of our community.  If you are not using an ad blocker but are still receiving this message, make sure your browser's tracking protection is set to the 'standard' level.
Strategies & Market Trends : Technical Analysis - Beginners -- Ignore unavailable to you. Want to Upgrade?


To: TechTrader42 who wrote (8319)4/22/1998 4:00:00 PM
From: big run  Read Replies (2) | Respond to of 12039
 
hi guys...maybe this will help:

i set up three functions:

up_vol if v>average(v,21) and c>c[1] then up_vol = volume else up_vol = 0

down_vol if v>average(v,21) and c<c[1] then down_vol = volume else down_vol = 0

flat_vol if v<=average(v,21) then down_vol = volume else down_vol = 0

then i set up an indicator with three plots:

plot1 = up_vol (in green)
plot2 = down_vol (in red)
plot3 = flat_vol (in black)

this gives me all volume bars colored. hope it helps.

mike



To: TechTrader42 who wrote (8319)4/22/1998 7:56:00 PM
From: shasta23  Read Replies (1) | Respond to of 12039
 
Brooke!

i decided for me that when the volume was low and under the 21SMA( i actually use 21EMA) i don't care if it's up or down since it's not that important and therefore it get's colored white regardless if the day was up or down. And i modified your formula to downdays=red and up(or unchanged) days=green if the volume is above the moving average. I don't see the point of more formulas...what am i missing?

stefan