Rank: Advanced Member
Groups: Registered, Registered Users, Subscribers Joined: 10/12/2005(UTC) Posts: 141 Location: Brooklyn,NY
|
Hi all,
How could I add an indicator in its own window to an inserted security?
I have a chart opened and to that chart I inserted another security(an index);
now metastock allows me to add an indicator in its own window for the main security,but not
for the inserted security.I could get it plotted on top of it in the main window but not in its own window.
Thanks in advance,Ralph
|
|
|
|
Rank: Advanced Member
Groups: Registered, Registered Users Joined: 3/19/2005(UTC) Posts: 2,995
Was thanked: 14 time(s) in 10 post(s)
|
First, when you are trying to apply an indicator to somethiong other than the underlying security, make sure you are highlighting the index (or whatever) and not the base security.
One way is to plot the indicator on top of the index and then copy (or drag) the indicator to its own window. You can substitute the INDICATOR reference in the price array. e.g., Mov(INDICATOR,21,E)
Another way is to calculate the index, but only show the indicator you want applied to that index. e.g.,
a:=ExtFml("ForumDll.CustomIndex", "C:\\MetaStock Data\\My Trades\\IBD100");
Mov(a,21,E)
or show both
a:=ExtFml("ForumDll.CustomIndex", "C:\\MetaStock Data\\My Trades\\IBD100");
a;
Mov(a,21,E)
|
|
|
|
Rank: Advanced Member
Groups: Registered, Registered Users, Subscribers Joined: 3/7/2005(UTC) Posts: 1,346
|
hey ralph and g..... there are times when applying a indicator will not work as planed even though the exact target is highlighted.... can't off hand remember when but it has happened to me..... ralph you might have stumbled onto one of those times.....
in addition to the methods g outlined, don't forget the security function ...... change the .SPX to your index, Stoch(5,3) to the indicator of choice and adjust the folder path if need be......h
will plot the spx stoch anywhere.....
a:=Security("C:\\Metastock Data\\bm data\\.SPX",Stoch(5,3));
a
-----------------------------
|
|
|
|
Rank: Advanced Member
Groups: Registered, Registered Users, Subscribers Joined: 10/12/2005(UTC) Posts: 141 Location: Brooklyn,NY
|
Thanks Hayseed and G-Stockman,
I could not get what I wanted I found it easier to open two windows.I needed all opened-the base security,the inserted securities and all the indicators that were applied to them because I really not sure what I'm looking for.I was comparing the vix with its own MA and I had the spx. on that same chart and to this I was applying another indicator.I was trying to see how they were behaving in relation to each other and what they did when certain conditions were met.Thanks Ralph
|
|
|
|
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.