PureBytes Links
Trading Reference Links
|
For the various days after crossing something like this
colorval=iif(L>ema(c,50),iif(barssince(cross(l,ema(c,50)))<10,coloryellow,co
lorgreen) ,colorblack);
Plot(c,"Close",colorval,stylebar);
Cheers,
Graham
http://www.golala.com/forums/?mforum=asxsharetrading
http://groups.msn.com/fmsaustralia
-----Original Message-----
From: epintoem [mailto:epintoem@xxxxxxxxx]
Sent: Thursday, 5 February 2004 10:22 AM
To: amibroker@xxxxxxxxxxxxxxx
Subject: [amibroker] Re: Indicator to highlight above MA
colorval=iif(L>ma(c,50),colorwhite,colorblack);
Plot(c,"Close",colorval,stylebar);
Hope this helps
--- In amibroker@xxxxxxxxxxxxxxx, "quantum69_70" <quantum69_70@xxxx>
wrote:
> Hi All,
>
> Can someone point me in the right direction on developing an
> indicator that can highlight sections of a chart that's above an MA?
>
> I'm also hoping to be able to set criteria of highlighting
secitions
> of the chart that are X number of days above the MA, and that X
> number can vary or even be different numbers with different numbers
> being highlighted as different colours. eg. 10days=yellow,
> 8days=purple, etc.
>
> I'm looking into AFL, and it looks like I would need to do it by
> using a starting reference time which crossed MA and then looping
> forwards or backwards in time until the next time it crosses. This
> would be the obvious solution of doing this.
>
> Any assistance would be greatly appreciated.
>
> Albert
------------------------ Yahoo! Groups Sponsor ---------------------~--> Buy
Ink Cartridges or Refill Kits for your HP, Epson, Canon or Lexmark Printer
at MyInks.com. Free s/h on orders $50 or more to the US & Canada.
http://www.c1tracking.com/l.asp?cid=5511
http://us.click.yahoo.com/mOAaAA/3exGAA/qnsNAA/GHeqlB/TM
---------------------------------------------------------------------~->
Send BUG REPORTS to bugs@xxxxxxxxxxxxx
Send SUGGESTIONS to suggest@xxxxxxxxxxxxx
-----------------------------------------
Post AmiQuote-related messages ONLY to: amiquote@xxxxxxxxxxxxxxx
(Web page: http://groups.yahoo.com/group/amiquote/messages/)
--------------------------------------------
Check group FAQ at:
http://groups.yahoo.com/group/amibroker/files/groupfaq.html
Yahoo! Groups Links
Send BUG REPORTS to bugs@xxxxxxxxxxxxx
Send SUGGESTIONS to suggest@xxxxxxxxxxxxx
-----------------------------------------
Post AmiQuote-related messages ONLY to: amiquote@xxxxxxxxxxxxxxx
(Web page: http://groups.yahoo.com/group/amiquote/messages/)
--------------------------------------------
Check group FAQ at: http://groups.yahoo.com/group/amibroker/files/groupfaq.html
Yahoo! Groups Links
<*> To visit your group on the web, go to:
http://groups.yahoo.com/group/amibroker/
<*> To unsubscribe from this group, send an email to:
amibroker-unsubscribe@xxxxxxxxxxxxxxx
<*> Your use of Yahoo! Groups is subject to:
http://docs.yahoo.com/info/terms/
|