Discussions
»
Product and Service Development
»
MetaStock
»
Plotting Moving Average on Customized Volume Indicator
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![:)]
|
|
|
|
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
|
|
|
|
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 |
Guest (Hidden)
|
Discussions
»
Product and Service Development
»
MetaStock
»
Plotting Moving Average on Customized Volume Indicator
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.