| 
 PureBytes Links 
Trading Reference Links 
 | 
Good idea.
They actually do look a little like that. Here is the the code
produced from dropping Keltner Bands onto a price indicator.
_SECTION_BEGIN("Keltner Bands");
P = ParamField("Price field",-1);
Periods = Param("Periods", 15, 2, 100, 1 );
Width = Param("Width", 2, 0, 10, 0.05 );
Color = ParamColor("Color", colorCycle );
Style = ParamStyle("Style");
CenterLine = MA( P, Periods );
KTop   = CenterLine + Width * ATR( Periods );
KBot = CenterLine - Width * ATR( Periods );
Plot( KTop, "KBTop" + _PARAM_VALUES(), Color, Style ); 
Plot( KBot, "KBBot" + _PARAM_VALUES(), Color, Style ); 
_SECTION_END();
Regards,
William Peters
www.amitools.com
Sunday, September 19, 2004, 2:40:06 PM, you wrote:
d> Here's what I think the file "Keltner Bands.afll" should look like:
 
d> //--------- Keltner Bands (Start) --------------------
d> P = ParamField("Price field",-1);
d> Periods = Param("Periods", 15, 2, 100, 1 );
d> Width = Param("Width", 2, 0, 10, 0.05 );
d> Color = ParamColor("Color", colorCycle );
d> Style = ParamStyle("Style");
 
d> CenterLine = MA( P, Periods );
d> KTop   = CenterLine + Width * ATR( Periods );
d> KBot = CenterLine - Width * ATR( Periods );
 
d> Plot( KTop, "KBTop" + _PARAM_VALUES(), Color, Style ); 
d> Plot( KBot, "KBBot" + _PARAM_VALUES(), Color, Style ); 
 
d> //--------- Keltner Bands (End) --------------------
 
 
d> d
------------------------ 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/
 
 |