Rank: Newbie
Groups: Registered, Registered Users, Subscribers Joined: 2/27/2006(UTC) Posts: 6
|
Can someone advise me how I can sort the following result in ascending order in Metastock?
I have daily return which I want to sort:
(CLOSE/Ref(CLOSE,-1))-1
Alexander
|
|
|
|
Rank: Advanced Member
Groups: Registered, Registered Users Joined: 3/19/2005(UTC) Posts: 2,995
Was thanked: 14 time(s) in 10 post(s)
|
Hey Allvenis-
Welcome to the forum!
In the case of using a formula in Explorer, all you have to do is click the column header to sort it.
|
|
|
|
Rank: Newbie
Groups: Registered, Registered Users, Subscribers Joined: 2/27/2006(UTC) Posts: 6
|
how I can do it in the case of using Indicator Builder?
For example, I want to sort my array and choose the second value in this array. then I want to put this value on the title bar of the chart so I can see this second value on the bar.
|
|
|
|
Rank: Advanced Member
Groups: Registered, Registered Users Joined: 3/19/2005(UTC) Posts: 2,995
Was thanked: 14 time(s) in 10 post(s)
|
Well... I suppose that you could export the values of your indicator to Excel and manipulate it there. Otherwise, to locate xx position within the indicator, use the ref (array, -xx) command. I don't know how you'd automatically put that value into the title bar.
|
|
|
|
Rank: Advanced Member
Groups: Registered, Registered Users, Subscribers Joined: 3/7/2005(UTC) Posts: 1,346
|
hey allvenis..... not sure if i completly understand what your after.... so this might not help.... the seperate values should all be printed in the title bar.... providing you have seperated them out in the indicator..... using yours as example,
(CLOSE/Ref(CLOSE,-1))-1;
C;
Ref(C,-1)
all three values should be printed on the title bar and also listed in the data window..... and again, its possible i'm missing your question..... if so that might not help.....h
|
|
|
|
Rank: Advanced Member
Groups: Registered, Registered Users Joined: 3/19/2005(UTC) Posts: 2,995
Was thanked: 14 time(s) in 10 post(s)
|
Hayseed wrote:all three values should be printed on the title bar
I'm probably the one that misunderstood. I thought the question was about the 'chart title bar'. As far as I know, indicator values can only appear in the 'inner window title bar'. :?
|
|
|
|
Rank: Advanced Member
Groups: Registered, Registered Users, Subscribers Joined: 3/7/2005(UTC) Posts: 1,346
|
hey g.... yeah i was refering to the inner window title bar, wasn't sure what he was asking for.... the {smi 2} indicator shows 2 values because the components are seperated in the indicator itself......
hey, btw looks like texas, sbc, is tryin to put ma bell back together, one company at a time....h
|
|
|
|
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.