PureBytes Links
Trading Reference Links
|
{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 equismetastock@xxxxxxxxxxxxxxx, "tobykunkun" <csho@xxxx> wrote:
>
>
> Hi,
>
> Does anybody know how to code an MACD Histrogram indicator that
> would paint the MACD hist bar green if it has risen in relation to
> the previous bar (increased value), and paint the MACD hist bar red
> if it is lower than the previous bar (decreased value), regardless
> of whether the bar is above or below the zero line?
>
> Thank you.
>
> Warmest Regards,
> CS
------------------------ Yahoo! Groups Sponsor --------------------~-->
What would our lives be like without music, dance, and theater?
Donate or volunteer in the arts today at Network for Good!
http://us.click.yahoo.com/Tcy2bD/SOnJAA/cosFAA/BefplB/TM
--------------------------------------------------------------------~->
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/
|