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

RE: [Metastockusers] Re: Indicator Color Change



PureBytes Links

Trading Reference Links









<span
>Is there a
way to have the line itself change color, or is plotting as a histogram the
only possibility?

<span
>That way I
can still see the slope of the line alongside the slope of it&#8217;s moving average.

<span
> 

<font size=2 color=black
face=Tahoma>-----Original
Message-----
From: Henry Z Kaczmarczyk
[mailto:henry1224@xxxxxxxxx]
Sent: Saturday, March 29, 2003
7:01 PM
To: Metastockusers@xxxxxxxxxxxxxxx
Subject: [Metastockusers] Re:
Indicator Color Change

<span
> 

<font size=2 color=black
face="Courier New">A1:=Cum(If(C>Ref(C,-1),+V,If( C<Ref(C,-1),-V,0)));<font
size=2 color=black face="Courier New">
A2:=Mov(A1,14,S);
Green:=If(A1>A2,A1,0);{plot as Histogram}
Red:=If(A1<A2,A1,0);{plot as Histogram}
A2;Green;Red;

If The OBV is >0 then Green when above MA,Red when below MA.

If The OBV is <0 then Red when below MA,Green when above MA.

Henry

--- In Metastockusers@xxxxxxxxxxxxxxx, JayTownsend@xxxx wrote:
> <<I would like to have the OBV indicator turn green when it is 
above itâ&#8364;&#8482;s own 
> moving average, and red when it is below.
> 
>  
> 
> Someone please provide the code for this if possible.
> 
>  
> 
> [The OBV I am using is the standard one from the indicator list, 
and a 14 
> period moving average]
> 
>  
> 
> Thank You.>>
> 
> There may be other ways to accomplish what you want but the 
easiest way that 
> I've found is to create an Expert Advisor and create the Symbols 
you want 
> with corresponding colors there.  You can have all sorts of 
conditional 
> statements for each symbol you create.  You can also color the 
daily price 
> bar for whatever conditions you want under the Highlights tab of 
the Advisor. 
>  The only downside is that you can only have one Expert Advisor 
active at any 
> one time (MS 8.0, anyway).
> 
> Jay





<font size=2 color=black
face="Courier New">To unsubscribe from this group, send an email to:<font
size=2 color=black face="Courier New">
Metastockusers-unsubscribe@xxxxxxxxxxx



<span
>Your use of
Yahoo! Groups is subject to the Yahoo!
Terms of Service.<span
> 










Yahoo! Groups Sponsor


  ADVERTISEMENT









To unsubscribe from this group, send an email to:
Metastockusers-unsubscribe@xxxxxxxxxxx





Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.