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

RE: [amibroker] Real-Time Trading System Examples



PureBytes Links

Trading Reference Links

Thanks for the info. I give it a try.

I was thinking it would call and return the complete afl file. Need 
to brush up on my programing skills a little. 

Thanks

Marty

--- In amibroker@xxxxxxxxxxxxxxx, "Stephane Carrasset" 
<s.carrasset@xxxx> wrote:
> For example you have an indicator called IIVol.afl in your
> D:\AmiBroker\AFL\IIVol.afl 
> 
> // IIVol.afl
> T = 21;
> 
> II_daily = (2*Close-High-Low)/(High-Low)*V;
> 
> II_Sum = Sum(II_daily,T);
> 
> II = II_Sum/Sum(V,T)*100;
> 
> 
> 
> you can call it with
> #include "D:\AmiBroker\AFL\IIVol.afl";
> Plot(II,"",1,1);
> 
> stephane
> 
> > I'm also having trouble with an include statement
> > 
> > I tried to include Candlestick.afl to a guru Chart commentary afl 
> > file, but do not get anything out from Candlestick.
> > 
> > Is there an example somewhere I can see?
> > 
> > Thanks
> > 
> > Marty
> > 
> > 
> > --- In amibroker@xxxxxxxxxxxxxxx, "Graham" <gkavanagh@xxxx> wrote:
> > > Save the indicator formula to AFL files and reference them 
using 
> > #include
> > > statement
> > > 
> > > Cheers,
> > > Graham
> > > http://e-wire.net.au/~eb_kavan/
> > > 
> > > -----Original Message-----
> > > From: davelansing2004 [mailto:d.ankrapp@x...] 
> > > Sent: Wednesday, April 07, 2004 8:30 PM
> > > To: amibroker@xxxxxxxxxxxxxxx
> > > Subject: [amibroker] referencing custom indicator
> > > 
> > > Hello all,
> > > 
> > > I have searched the AFL Function online reference page for the 
> > answer 
> > > to this question but I can't find it....
> > > 
> > > When building a custom indicator that requires the use of 
> > my "other" 
> > > custom indicators, how do you reference "those" custom 
indicators 
> > > without having to rewrite their codes in the new indicator?
> > > 
> > > Thanks in advance.
> > > 
> > > Dave Ankrapp
> > > Lansing, Michigan
> > > 
> > > 
> > > 
> > > 
> > > Send BUG REPORTS to bugs@xxxx
> > > Send SUGGESTIONS to suggest@xxxx
> > > -----------------------------------------
> > > 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



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

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