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

Notification

Icon
Error

Options
Go to last post Go to first unread
donep494  
#1 Posted : Monday, March 19, 2012 1:30:54 PM(UTC)
donep494

Rank: Newbie

Groups: Registered, Registered Users, Subscribers
Joined: 3/19/2012(UTC)
Posts: 1

Hi , I am new bie. i was wondering if there is any way to tell how many candlestics are displayed on the chart. Based on different settings, Weekly,daily,custom i would like to see the total no. of bars displyaed. I am sure this is really simple,just cant seem to find any indicator for this. Please assist. Thanks
jjstein  
#2 Posted : Monday, March 19, 2012 4:04:45 PM(UTC)
jjstein

Rank: Advanced Member

Groups: Registered, Registered Users, Subscribers
Joined: 5/13/2005(UTC)
Posts: 715
Location: Midwest, USA

Was thanked: 1 time(s) in 1 post(s)
Code:

Cum(1);

Put in Expert Commentary, Indicator or Exploration.

vienna  
#3 Posted : Wednesday, March 21, 2012 12:42:09 PM(UTC)
vienna

Rank: Advanced Member

Groups: Registered, Registered Users, Subscribers
Joined: 12/14/2009(UTC)
Posts: 140
Location: Austria

the total should be last(cum(1)) but unfortunatly I can't test it..
henry1224  
#4 Posted : Wednesday, March 21, 2012 12:55:52 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)
Vienna,

Cum(1) will always show you the number of bars loaded in a chart.

What do you want to test?

I load 3000 bars in my charts. and display 3000 bars I don't see where this can be of any help?
The last bar on my chart would display a value of 3000! I can zoom in for say the most recent 100 bars, but the indicator would still show 3000 on the last bar on the right.

Metastock loads the data that you tell it to. So I start with 3000, after I download new data and open a chart, the chart will again open with 3000 bars of data. the last bar will drop off the chart whenever you add new data

Cum(1) by itself is useless

Cum(1) with BarsSince(event) starts to make sense in determining the number of bars between events

[code] I am new bie. i was wondering if there is any way to tell how many candlestics are displayed on the chart. Based on different settings, Weekly,daily,custom I would like to see the total no. of bars displayed. I am sure this is really simple,just cant seem to find any indicator for this. *code/*
vienna  
#5 Posted : Thursday, March 22, 2012 8:58:57 AM(UTC)
vienna

Rank: Advanced Member

Groups: Registered, Registered Users, Subscribers
Joined: 12/14/2009(UTC)
Posts: 140
Location: Austria

so now I was able to use a computer with metastock installed and found the correct formula:

not "last" but:

LastValue(Cum(1))
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.