voidcomp 23 posts msg #107911 - Ignore voidcomp | 
9/4/2012 2:46:58 PM
  Not sure if Stock Fetcher can compare just one symbol against another but figured who better to know than here?  Here's the formula from 2 different sources:
 
 Ami Pro:
 
 // AccuTrack Compares performance of two securities
 // The basic idea is to switch between the two securities
 // AccuTrack was developed by FastTrack (http://fasttrack.net)
 
 // Following is the Indicator Builder Formula
 
 fnd = Name();
 ind = "FDRXX";      // FDRXX is money market fund, so the comparison is done
 with cash.
 fund = Foreign(fnd, "Close");
 index = Foreign(ind, "Close");
 
 fast = 6;
 slow = 24;
 RawAT = EMA((EMA(ROC(fund,1), slow) - EMA(ROC(index,1),slow)),fast); 
 tradeAccuTrack = RawAT * 265;
 Plot(tradeAccuTrack, "tradeAccuTrack", colorBlue, styleLine);
 
 Metastock:
 
 To make this formula work:
 
 Plot two funds.
  
 Either copy or drag the price plot of one of the funds into a new inner window of the other fund.
  
 Click on this plot to place "handles" on each end. This is P.
  
 Drop the following custom indicator on P. That means when P changes color, not when the base price plot changes color.
  
 For ease of viewing, drag the new plot into an inner window of its own.
 The formula:
 
 Mov(Mov(ROC(C,1,%),48,E)-Mov(ROC(P, 1,%),48,E),12,E)
 
  |