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

[EquisMetaStock Group] Re: Help Please...red green histogram



PureBytes Links

Trading Reference Links

Yakov,

The basic formula is

{RedGreen Histogram}
X:= {your indicator here};
Green:=If(X>Ref(X,-1),X,0);
Red:=If(X<Ref(X,-1),X,0);
Green; Red;

To make this work for volume you would use

{RedGreen Histogram}
X:=Close {your indicator here};
Green:=If(X>Ref(X,-1),Volume,0);
Red:=If(X<Ref(X,-1),Volume,0);
Green; Red;

So that on a day when the close is greater than yesterdays there 
would be a green volume bar plot and red when the close is less than 
yesterdays.

I have also seen the indicator written based simply on volume but 
this is not widely used. It would be:

{RedGreen Histogram}
X:=Volume{your indicator here};
Green:=If(X>Ref(X,-1),X,0);
Red:=If(X<Ref(X,-1),X,0);
Green; Red;

Happy New Year,

Preston




--- In equismetastock@xxxxxxxxxxxxxxx, yakovrothchild@xxxx wrote:
> Hi!
> 
> HAPPY NEW YEAR!
> 
> IM looking to change my volume bars colors it should be red & green 
anybody 
> know where to change it, just found for price not for volume bars
> 
> Enjoy & Have Fun
> 
> Yakov y. Rothchild
> yakovrothchild@xxxx


 

Yahoo! Groups Links

To visit your group on the web, go to:
 http://groups.yahoo.com/group/equismetastock/

To unsubscribe from this group, send an email to:
 equismetastock-unsubscribe@xxxxxxxxxxxxxxx

Your use of Yahoo! Groups is subject to:
 http://docs.yahoo.com/info/terms/