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

[amibroker] Re: AccuTrack for Salil



PureBytes Links

Trading Reference Links

Bill,

  >>FastTrack scales the largest excursion of the AT indicator 
    visible in the window to 100.<<

I didn't know that.  Thanks.  Now AmiBroker AccuTrack values agree 
with FastTrack.

Next question then - how do I get 'trade' version of AccuTrack in 
AmiBroker ?  (BTW trade AccuTrack values are different than FastTrack 
AccuTrack values !)

Regards,
- Salil V Gangal



--- In amibroker@xxxxxxxxxxxxxxx, "Bill Barnard" <wbarnard@xxxx> 
wrote:
> 
> > What I'm interested in is AccuTrack.  I've tried a couple of time 
> to 
> > get that in AFL but for some reason the *values* of AccuTrack I 
get 
> > in AFL don't agree with what I get in FastTrack (or Trade).  The 
> > shape is okay, but the values are not !  I wonder if anyone has 
> > ported AccuTrack shape and *values*.
> 
> Hi Salil,
> 
> FastTrack scales the largest excursion of the AT indicator visible 
in 
> the window to 100. Try this:
> 
> ---------------------------------------------
> 
>   /* AccuTrack as calculated by FastTrack - coded by Bill Barnard, 
> 8/28/03 */
> 
> fnd = "ndx-x";
> ind = "nyc-i";
> fund 	= Foreign(fnd, "Close");
> index 	= Foreign(ind, "Close");
> fast 	= 12;
> slow 	= 48;
> 
> RawAT 	= EMA((EMA(ROC(fund,1), slow) - EMA(ROC(index,1), 
> slow)),fast); 
> VisibleAT = Status("barvisible")*RawAT;
> Hi = LastValue(Highest(VisibleAT));
> Lo =  LastValue(Lowest(VisibleAT));
> multiplier = IIf(Hi > Lo, 100 / Hi, 100 / Lo);
> FastTrackAT = multiplier*RawAT;
> 
> Plot(FastTrackAT, "AccuTrack", colorYellow);
> PlotGrid(0);
> GraphXSpace = 5;
> 
> Title = "    "+Date()+"  \\c42    FastTrack AccuTrack 
> of "+fnd+" / "+ind+
>              "  = "+WriteVal(FastTrackAT, 1.2)+"    ";
> 
> ------------------------
> 
> Regards, Bill


------------------------ 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/l.m7sD/LIdGAA/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 

Your use of Yahoo! Groups is subject to http://docs.yahoo.com/info/terms/