[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

now i am totally confused. I did apply the following
code to ADDIDAS Salomon. 

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;

As stated earlier, the codes works, but does give
different returns on DAX - instead of the value of
ADDIDAS. Okay - I don't know why. The returned value
of   the indicator when applied to ADDIDAS is :
43,3493. Applying the following indicator to ADDIDAS :

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

W1:=If(C > O,(C-O)*100/O, 0);
BOSW1 := Sum(W1, A);
BOSW1;

The returned value is : 43,3493. 

Well, that's what i expected. 

Lets try the same thing on the DAX :

first formula result : 51,8667

second formula result : 25,4152

??? What ?!!!! 

I have had it for today - seriously, i know about my
limited abilities to program - probably I have made a
very small - but yet undiscoverable mistake - i am
sorry for bothering you like a spammer - but i don't
get it? 

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
> 
> 
> 


		
__________________________________ 
Yahoo! Mail Mobile 
Take Yahoo! Mail with you! Check email on your mobile phone. 
http://mobile.yahoo.com/learn/mail 




------------------------ Yahoo! Groups Sponsor --------------------~--> 
Has someone you know been affected by illness or disease?
Network for Good is THE place to support health awareness efforts!
http://us.click.yahoo.com/Rcy2bD/UOnJAA/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/