Discussions
»
Product and Service Development
»
MetaStock
»
Combining one data indicator with aonther data indicator...
Rank: Member
Groups: Registered, Registered Users, Subscribers Joined: 4/30/2005(UTC) Posts: 13
|
So I am building an indicator and I have 2 charts with different data on them. I have custom indicators on both these charts. What I want to do is take the values of these indicators and multiply them together and display them on a third chart. I have tried this but it seems to not work. The indicator that is displayed seems to pull data off of the 3rd chart. If that makes sense......
TC
|
|
|
|
Rank: Advanced Member
Groups: Registered, Registered Users, Subscribers, Unverified Users Joined: 10/28/2004(UTC) Posts: 3,111 Location: Perth, Western Australia
Was thanked: 16 time(s) in 16 post(s)
|
Don't quote me on this one, but the only way I see to achieve what you want is using the Security() function.
By example:
Indicator on Chart 1 (ASX Company: BHP)
mov(c,21,s)
Indicator on Chart 2 (ASX Index: XAO)
mov(c,13,s)
Indicator on Chart 3 (combine indicator from Charts 1 and 2)
BHP:=Security(BHP,C);
XAO:=Security(XAO,C);
BHPMa:=mov(BHP,21,s);
XAOMa:=mov(XAO,13,s);
BHPMa * XAOMa
There might be other ways of doing this, but this is the only way I know of!
Hope this helps.
wabbit :D
|
|
|
|
Users browsing this topic |
Guest (Hidden)
|
Discussions
»
Product and Service Development
»
MetaStock
»
Combining one data indicator with aonther data indicator...
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.