PureBytes Links
Trading Reference Links
|
X:= {your indicator here};
Green:=If(X>0,X,0);
Red:=If(X<0,X,0);
Green; Red;
bflori wrote:
> Thanks for your help. What you have suggested looks to me as if it
> colors a bar green if it is higher that yesterday’s bar and red if it
> is lower than yesterday’s bar. What I want is all bars above zero to
> be green and all bars at zero or below to be red. Doesn’t that require
> different inputs?
>
> Bob
>
> -----Original Message-----
> From: pumrysh [mailto:no_reply@xxxxxxxxxxxxxxx]
> Sent: Friday, February 21, 2003 5:56 PM
> To: equismetastock@xxxxxxxxxxxxxxx
> Subject: [EquisMetaStock Group] Re: Coloring MACD Histogram bars
>
> Bob,
>
> You could do this in an expert but another option is simply to create
> an indicator that will display this.
>
> To do this simply add the following to the end of your indicator:
>
> X:= {your indicator here};
> Green:=If(X>Ref(X,-1),X,0);
> Red:=If(X<Ref(X,-1),X,0);
> Green; Red;
>
> Go into properties and set as a histogram, then set > bars green
> and < bars red.
>
>
> P
>
>
> --- In equismetastock@xxxxxxxxxxxxxxx, "bflori <bflori@xxxx>"
> <bflori@xxxx> wrote:
>> I am creating an expert system that will involve an MACD
> histogram.I
>> would like to color the bars > 0 green and the bars <= 0 red.
>>
>> Is this done in creating a function or in the Expert System?
>>
>> I have tried creating highlights in the Expert System for the
>> colored MACD's but can't get them to show up on the chart?
>>
>> Any help would be appreciated.
>>
>> Bob
>
>
>
> To unsubscribe from this group, send an email to:
> equismetastock-unsubscribe@xxxxxxxxxxxxxxx
>
>
>
> Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service
> <http://docs.yahoo.com/info/terms/>.
>
> Yahoo! Groups Sponsor
> ADVERTISEMENT
> <http://rd.yahoo.com/M=243376.2803712.4220031.1927555/D=egroupweb/S=1705375617:HM/A=1414910/R=0/*http://ad.doubleclick.net/jump/N879.ameritrade.yahoo/B1054521.29;sz=300x250;adc=zhs;ord=1045880504962138?>
>
>
>
> To unsubscribe from this group, send an email to:
> equismetastock-unsubscribe@xxxxxxxxxxxxxxx
>
>
>
> Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service
> <http://docs.yahoo.com/info/terms/>.
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/
|