logo
Welcome Guest! To enable all features please Login or Register.

Notification

Icon
Error

Options
Go to last post Go to first unread
anirban81  
#1 Posted : Wednesday, September 18, 2013 9:37:10 PM(UTC)
anirban81

Rank: Newbie

Groups: Registered, Registered Users
Joined: 9/15/2013(UTC)
Posts: 1

Hi,

I was wondering can we write a custom indicator which plots the number of stocks above there 50 day moving average as a percentage of total number of stocks in the given stock exchange on a daily basis . And plots it as a graph between 0 and 100% everyday. (calculations occur automatically when ever the function is called).

Thanks for reading my query.

and replying to it.

Rgds,

Anirban

ping2962  
#2 Posted : Thursday, September 19, 2013 3:08:53 AM(UTC)
ping2962

Rank: Newbie

Groups: Registered, Registered Users, Unverified Users
Joined: 7/18/2013(UTC)
Posts: 2
Location: Thailand

Method1) Explorer and Excel

Method2) Use Security,Fml Function (Not work ,long time to do&update)
Assume: Stock exchange has 3stocks.
Indicator:
S1:=Security("stock1",C);
S2:=Security("stock2",C);
S3:=Security("stock3",C);
Indy:=((S1>mov(S1,50,E))+(S2>mov(S2,50,E))+(S3>mov(S3,50,E)))/3*100;
Indy

henry1224  
#3 Posted : Thursday, September 19, 2013 2:10:23 PM(UTC)
henry1224

Rank: Advanced Member

Groups: Registered, Registered Users, Subscribers
Joined: 10/29/2004(UTC)
Posts: 1,394
Location: Glastonbury, CT

Was thanked: 2 time(s) in 2 post(s)
It can't be done without excell!

The code provided is flawed,you can't do that with the dow 30, nasdaq 100, or the sp500

Users browsing this topic
Guest (Hidden)
Forum Jump  
You cannot post new topics in this forum.
You cannot reply to topics in this forum.
You cannot delete your posts in this forum.
You cannot edit your posts in this forum.
You cannot create polls in this forum.
You cannot vote in polls in this forum.