[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

Title: Message
I believe Tom is right.  Don't know how new you are to MetaStock, but the simplest, fastest way to set the color of an indicator in any chart is to simply click on it.  Then click on the color you want in the color palette (usually in the lower left corner of the MetaStock screen).  You can also choose line style & weight.
 
Best,

Larry Carhartt

MasterDATA
The Only Source for Index & ETF Composite/Breadth Reports, Charts & Data
lc@xxxxxxxxxxxxxx
818-701-6686
 
-----Original Message-----
From: equismetastock@xxxxxxxxxxxxxxx [mailto:equismetastock@xxxxxxxxxxxxxxx] On Behalf Of Tom Loyd
Sent: Friday, September 09, 2005 1:56 PM
To: equismetastock@xxxxxxxxxxxxxxx
Subject: RE: [EquisMetaStock Group] Colored bars in MACD-Histogram- How?

I think the answer you are looking for is, no.  You can not set colors or line style in formulas in indicators.  They must be manually set once displayed.
 
Someone, please correct me if I am wrong, but I have never seen a way described that will do this.

v <entinv@xxxxxxxxxxx> wrote:
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

 

 





Click here to donate to the Hurricane Katrina relief effort.

YAHOO! GROUPS LINKS