logo
Welcome Guest! To enable all features please Login or Register.

Notification

Icon
Error

Options
Go to last post Go to first unread
doji88  
#1 Posted : Friday, July 5, 2013 3:27:34 PM(UTC)
doji88

Rank: Newbie

Groups: Registered, Registered Users, Subscribers
Joined: 7/2/2013(UTC)
Posts: 6

Hi, I created a multi-colored volume histogram indicator using two formulas:

Indicator #1: Green Volume (+)
Formula: If(V>=Ref(V,-1)V,0)

AND

Indicator #2: Red Volume (-)
Formula: If(V<=Ref(V,-1)V,0)

But the question I have is how to plot a moving average on volume? When I click and drag the MA indicator on the volume indicator it highlights in pink either the Green Volume (+) or Red Volume (-). Therefore, the plotted MA only reflects the Green Volume (+) or Red Volume (-). How do I plot a single MA that reflects the MA's of BOTH volume indicators?

Thanks![:)]


LoRoCo  
#2 Posted : Sunday, July 21, 2013 10:30:05 PM(UTC)
LoRoCo

Rank: Newbie

Groups: Registered, Registered Users
Joined: 6/26/2013(UTC)
Posts: 1

You would need to establish the moving average of volume within the original code as a third line that is plotted with the indicator like below: Indicator1; Indicator2; Mov(v,50,E) This will plot three line values, your green volume res volume and then the moving average
doji88  
#3 Posted : Monday, July 22, 2013 4:01:46 AM(UTC)
doji88

Rank: Newbie

Groups: Registered, Registered Users, Subscribers
Joined: 7/2/2013(UTC)
Posts: 6

I tried to apply the default moving average indicator to the volume, but once again it only took the MA of either the green volume bars or the red volume bars.

Therefore, instead of using the default moving average indicator, I created one with the same parameters Mov(v,50,E). This time when I applied the custom MA indicator to volume it worked! Thanks!
Users browsing this topic
Forum Jump  
You cannot post new topics in this forum.
You cannot reply to topics in this forum.
You cannot delete your posts in this forum.
You cannot edit your posts in this forum.
You cannot create polls in this forum.
You cannot vote in polls in this forum.