SI
SI
discoversearch

We've detected that you're using an ad content blocking browser plug-in or feature. Ads provide a critical source of revenue to the continued operation of Silicon Investor.  We ask that you disable ad blocking while on Silicon Investor in the best interests of our community.  If you are not using an ad blocker but are still receiving this message, make sure your browser's tracking protection is set to the 'standard' level.
Strategies & Market Trends : Technical Analysis for Macintosh Users

 Public ReplyPrvt ReplyMark as Last ReadFilePrevious 10Next 10PreviousNext  
To: quant211 who wrote (1457)6/11/2018 6:20:15 PM
From: PuddleGlum  Read Replies (1) of 1541
 
The external file (XFILE) feature that I mentioned is only available in 4.x. I made a feature request some while back that Jeff took seriously.

If I define a custom indicator like this:

metric := XFILE("active/<t/ticker>/PriceMPR_ME_DR/PriceMPR_ME_DR.txt");

ProTA looks for a configurable directory root, and then looks for a folder that I define as "active", then looks for a folder that starts with the first letter of the ticker, then finds the ticker symbol (another folder contained by the "first letter" folder), then finds the specified file. The file starts like this:
Date PriceMPR_ME_DR
7/2/2012 0.07620689655172411
7/3/2012 0.2241379310344821
7/5/2012 0.31724137931034396
....

The data column is plotted just like any other indicator, except that it might take longer to load 40 years of data than to compute a simple indicator.

Most of the indicators I use are custom computations, so I can't live without this feature!
Report TOU ViolationShare This Post
 Public ReplyPrvt ReplyMark as Last ReadFilePrevious 10Next 10PreviousNext