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

[EquisMetaStock Group] Re: How to create Color Bars in MACD Histogram



PureBytes Links

Trading Reference Links

Darren,

There is a universal indicator that can be used for this purpose.

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


In your case change it to:
 
{RedBlue MACD}
X:=MACD();
BLUE:=If(X>Ref(X,-1),X,0);
Red:=If(X<Ref(X,-1),X,0);
BLUE; Red;

Hope this helps,

Preston



--- In equismetastock@xxxxxxxxxxxxxxx, Darren Liew <darrenliew@xxx> 
wrote:
>
> Hi,
> 
> I would like to create MACD Histogram with color bars.
> IF Today's MACD Histogram is higher than yesterday, then I want to 
see a Blue color histogram bar.
> IF Today's MACD Histogram is lower than yesterday, then I want to 
see a Red color histogram bar.
> 
> aprecriate your help.
> thanks.
> 
> Rgds,
> Darren Liew
> 
> 
>       
_____________________________________________________________________
_______________
> Be a better friend, newshound, and 
> know-it-all with Yahoo! Mobile.  Try it now.  
http://mobile.yahoo.com/;_ylt=Ahu06i62sR8HDtDypao8Wcj9tAcJ 
> 
> 
> [Non-text portions of this message have been removed]
>




 
Yahoo! Groups Links

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

<*> Your email settings:
    Individual Email | Traditional

<*> To change settings online go to:
    http://groups.yahoo.com/group/equismetastock/join
    (Yahoo! ID required)

<*> To change settings via email:
    mailto:equismetastock-digest@xxxxxxxxxxxxxxx 
    mailto:equismetastock-fullfeatured@xxxxxxxxxxxxxxx

<*> 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/