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

Re: [EquisMetaStock Group] Security Data Function Problem (2nd)



PureBytes Links

Trading Reference Links

Dear all,

i restarted MetaStock - and all sudden the following
code does work? 

A:=Input("TOS periods",1,200,100);

W1:=If(
      
(Security("500340",C) > Security("500340",O)),

(((Security("500340",C)-Security("500340",O))*100)/

Security("500340",O)), 0);

BOSW1 := Sum(W1, A);
BOSW1;

//end code

Now I am having a new Problem. If I drag & drop this 
indicator on Addidas Salomon (which is the stock
Symbol 500340) - I get an value return of 43,3493 as
of 20th of May. Applying this code for the DAX itself,
I get an value return 51,8667 as of 20th of May. Now
is my unterstanding of this function wrong? Both - DAX
and Addidas Salomon are in the same Folder. When I
apply this indicator at the DAX, it should be using
Data from ADDIDAS Salomon, right? Or ... ?

I do really appreciate any suggestions, please be so
kind and help me.

Thank you very much in advance,

Torquaine





--- Torquaine <torquaine@xxxxxxxxx> wrote:
> //pls. note this ist the second email, because i am
> not sure wether or not the first one arrived. 
> 
> 
> Dear all,
> 
> I am new to MetaStock and I am also new to this
> group.
> I have a hard time getting started with the security
> data function. My Problem is, that I try to build
> some
> sort of an aggregate benchmark index, but the
> security
> data function obviously is trying hard to retrieve
> data? Reffering to the manual - if i rely on stocks
> which are in the same folder, i do not need to use
> path. But even though I do use the path - and the
> path
> is correct, it doesn't work? 
> 
> Here is the code : 
> 
> A:=Input("TOS periods",1,200,100);
> 
> C1:=Security("500340",C);
> O1:=Security("500340",O);
> W1:=If(C1 > O1, (((C1-O1)*100)/O), 0);
> BOSW1 := Sum(W1, A);
> BOSW1;
> 
> The Symbol in this case is a number - as in Germany
> there are numbers in use instead of ticker symbols. 
> 
> Here my set up details : 
> 
> I am using smart charts. Even the security I am
> trying
> to retrieve data from is open. I am using a tool
> called ML Downloader to retrieve quotes. Quotes are
> retrieved from YAHOO. 
> 
> I suspect, that I am doing something wrong? I have
> no
> clue where the mistake could be? 
> 
> I would be very glad if someone please could help
> me?
> If you need further information please let me know. 
> 
> Thank you very much in advance,
> 
> kind regards,
> 
> Torquaine
> 
> 
> 		
> __________________________________
> Discover Yahoo! 
> Get on-the-go sports scores, stock quotes, news and
> more. Check it out! 
> http://discover.yahoo.com/mobile.html
> 
> 
> 


		
__________________________________ 
Do you Yahoo!? 
Make Yahoo! your home page 
http://www.yahoo.com/r/hs




------------------------ Yahoo! Groups Sponsor --------------------~--> 
What would our lives be like without music, dance, and theater?
Donate or volunteer in the arts today at Network for Good!
http://us.click.yahoo.com/Tcy2bD/SOnJAA/cosFAA/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/