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

RE: [EquisMetaStock Group] Colored bars in MACD-Histogram- How?



PureBytes Links

Trading Reference Links

Both MACD histogram and volume comes all red on my screen.  Is there anything else needs to be set to see
different colors?
 
Thanks,
  Vladimir
-----Original Message-----
From: equismetastock@xxxxxxxxxxxxxxx [mailto:equismetastock@xxxxxxxxxxxxxxx]On Behalf Of Tim
Sent: Saturday, August 20, 2005 4:55 AM
To: equismetastock@xxxxxxxxxxxxxxx
Subject: RE: [EquisMetaStock Group] Colored bars in MACD-Histogram- How?

Something like this should do the trick.

 

Red:=If(C>O,V,0);

Green:=If(C<=O,V,0);

Red;Green

 

Regards,

Tim.

 


From: equismetastock@xxxxxxxxxxxxxxx [mailto:equismetastock@xxxxxxxxxxxxxxx] On Behalf Of investman
Sent: Saturday, 20 August 2005 11:33
To: equismetastock@xxxxxxxxxxxxxxx
Subject: Re: [EquisMetaStock Group] Colored bars in MACD-Histogram- How?

 

Hi,

 

Is it possible to write a similar forumula for the following scenario:

 

Volume bars: If the CLOSE is higher than OPEN for the day : green colored volume bar and if CLOSE is less than OPEN of the day: red coloured volume bar.

 



 

On 8/19/05, Tim <prez@xxxxxxxxx> wrote:

The code is missing a semi colon at the end of the x:=…. Statement.

 

It should read,

X:=( Mov( C,12,E ) - Mov( C,26,E ) ) - Mov( ( Mov( C,12,E ) - Mov( C,26,E ) ),9,E );

If(X>0,X,0);

If(X<0,X,0);

 

I also didn't address your original request, in that you were looking for an indicator that allows colour in relation to the previous bar.  

Others posted this code, but in case you didn't keep it, the code would be:

X:=( Mov( C,12,E ) - Mov( C,26,E ) ) - Mov( ( Mov( C,12,E ) - Mov( C,26,E ) ),9,E );

If(X>=Ref(X,-1),X,0);

If(X<Ref(X,-1),X,0);

 

Regards,

Tim.


From: equismetastock@xxxxxxxxxxxxxxx [mailto: equismetastock@xxxxxxxxxxxxxxx] On Behalf Of francis ho
Sent: Friday, 19 August 2005 12:03
To: equismetastock@xxxxxxxxxxxxxxx
Subject: RE: [EquisMetaStock Group] Colored bars in MACD-Histogram- How?

 

Thanks Tim...i got errors "Operator expected.  Use +,-,*,/,<,<=,>,>=,<>,=, AND or OR." on the last two lines...any help ?

 

thanks

francis

Tim < prez@xxxxxxxxx> wrote:

Xianlong,,

 

Try this

 

X:=( Mov( C,12,E ) - Mov( C,26,E ) ) - Mov( ( Mov( C,12,E ) - Mov( C,26,E ) ),9,E )

If(X>0,X,0);

If(X<0,X,0);

 

This will now produce two lines where each can selected separate to the other, thus you can colour each line differEntly.

 

Regards,

Tim.

 


From: equismetastock@xxxxxxxxxxxxxxx [mailto: equismetastock@xxxxxxxxxxxxxxx] On Behalf Of Ye Xianlong .
Sent: Wednesday, 17 August 2005 23:44
To: equismetastock@xxxxxxxxxxxxxxx
Subject: [EquisMetaStock Group] Colored bars in MACD-Histogram- How?

 

Hi guys. I was wondering if there is a code for the below MACD-Histogram formula to show green for rising bars & red for declining bars irregardless of above or below the zero line.

 

( Mov( C,12,E ) - Mov( C,26,E ) ) - Mov( ( Mov( C,12,E ) - Mov( C,26,E ) ),9,E )


Thanks in advance & i hope you can help me.


Regards,
Xianlong

__________________________________________________
Do You Yahoo!?
Tired of spam? Yahoo! Mail has the best spam protection around
http://mail.yahoo.com

 

 

SPONSORED LINKS

Business finance course

Business to business finance

Small business finance

Business finance consultant

Business finance magazine

Business finance schools

 


YAHOO! GROUPS LINKS

 

 






SPONSORED LINKS
Business finance course Business to business finance Small business finance
Business finance consultant Business finance magazine Business finance schools


YAHOO! GROUPS LINKS