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

[amibroker] Re: Heikin-Ashi charts



PureBytes Links

Trading Reference Links

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On Sun, 27 Jun 2004 09:32, Dave Merrill wrote:
> Sometimes when I'm working on an indicator, or training my eye, I'd like to
> blank out a Param-able number of bars at the end. Not set them to zero, but
> make it like they haven't happened and don't exist yet. I don't want to see
> them, and I don't want any indicators to be effected by them, kind of a
> controllable curtain over the end of the past.
<<snip>>
>
> Any ideas? If not, would anyone else like to see a feature like this built
> into AB?
>
> Dave Merrill
>
>

Try adding 

GraphZOrder = 1;
Hide = Param("Hide", 10, 0, 25);
Plot(IIf(BarIndex()>(BarCount-Hide), 1, 0), "Hidden", color??????, 	
	styleArea|styleOwnScale, 0, 1);

To the *END* of your indicator.  Substitute your background color for the ???
and use appropriate values in the Param().

It will paint over the top of all other plots, making them invisible.

Cheers,
	Nigel


- -- 
	Nigel Rowe
	rho@xxxxxxxxxxxxxxx


-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.2 (GNU/Linux)

iD8DBQFA3to3BbmcM2pfckkRAhl0AKCYgF2MUp2wjU2qb5414myTWaAuVACg4xY1
7EzUIwLw2aMI3FRa4vcMis4=
=rBvz
-----END PGP SIGNATURE-----



------------------------ Yahoo! Groups Sponsor --------------------~--> 
Make a clean sweep of pop-up ads. Yahoo! Companion Toolbar.
Now with Pop-Up Blocker. Get it for free!
http://us.click.yahoo.com/L5YrjA/eSIIAA/yQLSAA/GHeqlB/TM
--------------------------------------------------------------------~-> 

Check AmiBroker web page at:
http://www.amibroker.com/

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/