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

[amibroker] Re: AIQ Trading Bands to AFL



PureBytes Links

Trading Reference Links

Thanks Kieth:

This came from the Traders Tips Section of the June 2001 S&C. The 
Amibroker code was not provided. Here is the link to the Tips 
Section: 
http://www.traders.com/Documentation/FEEDbk_docs/Archive/062001/Trader
sTips/TradersTips.html

Gene


--- In amibroker@xxxxxxxxxxxxxxx, Keith McCombs <kmccombs@xxx> wrote:
>
> g --
> Most of the code printed in TA of S&C is also given for many other 
> programs in "Traders Tips" section near the back of the magazine.
>  
> TJ also posts most of the code on Amibroker.com.  Hopefully someone 
else 
> on this forum can provide the precise link for the "Traders Tips" 
coding.
> 
> BTW, what issue of TA of S&C, and maybe even page number?
> -- Keith
> 
> hardrockgeo wrote:
> >
> > AIQ Trading Bands to AFL
> >
> > Can anyone please transform this AIQ code from S&C Mag to AFL, if 
u
> > can, so it can be cut & pasted.
> >
> > Thanks in advance
> > g
> > ----------------------------------------------------------
> > Here is the AIQ TradingExpert Pro code from Stocks & Commodities
> > Magazine for plotting both kinds of bands.
> >
> > Aiq Eds code for Average True Range and Standard Deviation Bands
> >
> > Define AvgPd 20.
> >
> > !StDev Bands
> > StdDev is Sqrt(Variance([close],AvgPd)).
> > Stdh is ExpAvg([close],AvgPd) + 2 * StdDev.
> > Stdl is ExpAvg([close],AvgPd) - 2 * StdDev.
> >
> > TrueRange is
> > max([high]-[low],max([high]-val([close],1),val([close],1)-[low])).
> >
> > AvgTrueRange is SimpleAvg(TrueRange,AvgPd).
> >
> > !ATR Bands
> > Stdha is ExpAvg([close],AvgPd) + 2 * AvgTrueRange.
> > Stdla is ExpAvg([close],AvgPd) - 2 * AvgTrueRange.
> >
> > ----------------------------------------------------------
> >
> >
>



------------------------------------

Please note that this group is for discussion between users only.

To get support from AmiBroker please send an e-mail directly to 
SUPPORT {at} amibroker.com

For NEW RELEASE ANNOUNCEMENTS and other news always check DEVLOG:
http://www.amibroker.com/devlog/

For other support material please check also:
http://www.amibroker.com/support.html
Yahoo! Groups Links

<*> To visit your group on the web, go to:
    http://groups.yahoo.com/group/amibroker/

<*> Your email settings:
    Individual Email | Traditional

<*> To change settings online go to:
    http://groups.yahoo.com/group/amibroker/join
    (Yahoo! ID required)

<*> To change settings via email:
    mailto:amibroker-digest@xxxxxxxxxxxxxxx 
    mailto:amibroker-fullfeatured@xxxxxxxxxxxxxxx

<*> 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/