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

[EquisMetaStock Group] Re: security() function problem



PureBytes Links

Trading Reference Links

I have similar problems when using the Security() function and 
changing the loded date range.
MS bug?


> Security("vix--x",(C- Mov(C,10,S))/Mov(C,10,S))

Suggestion:

---8<------------------
x:=Security("vix--x",C);
(x-Mov(x,10,S))/(Mov(x,10,S)+.000001)
---8<------------------

jose '-)



--- In equismetastock@xxxxxxxxxxxxxxx, taforme <no_reply@xxxx> wrote:
> I have the following custom indicator:
> 
> Security("vix--x",(C- Mov(C,10,S))/Mov(C,10,S))
> 
> where vix--x is the name of vix data used by my data vendor TC2000;
> the function to operate on the vix data is generate the percentage 
> of the current vix relative to its 10 day moving average.
> 
> I plot it in an inner window with another base security, e.g. with 
> qqq being the base security.  This indicator displays with correct 
> values when initially opened in daily bars.  If I change to display 
> the base security in weekly bars, everything is still correct.  
> However, if I change back to daily bars (nothing changed since I 
> went from daily to weekly), then this security() indicator shows a 
> graph that is wrong, i.e. it shows a horizontal line at zero with 
> very few deviations from zero.  After that I cannot get the security
> () indiator to display correctly in daily data except by closing 
> metastock program and restarting it.  Then security() indicator will 
> again display correct data.  I also have other inner windows open 
> during the daily-weekly-daily changes, and all other indicators 
> appear to work correctly.
> 
> I am using EOD metastock 8.01 on a computer running XP.  Lots of 
> free RAM and hard drive space are available while metastock is 
> running.  My system is quite stable.
> 
> All data for stocks, qqq, vix--x, etc. are stored in the same 
> directory and the basic data looks to be good.  I have data going 
> back for over 5 years and typically display/load only about 6 months 
> of EOD data.
> 
> Any suggestions on a cure?


 

------------------------ 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/BefplB/TM
---------------------------------------------------------------------~->

Yahoo! Groups Links

To visit your group on the web, go to:
 http://groups.yahoo.com/group/equismetastock/

To unsubscribe from this group, send an email to:
 equismetastock-unsubscribe@xxxxxxxxxxxxxxx

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