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

Notification

Icon
Error

Options
Go to last post Go to first unread
longrun  
#1 Posted : Sunday, March 17, 2019 10:04:11 AM(UTC)
longrun

Rank: Newbie

Groups: Registered Users
Joined: 7/21/2014(UTC)
Posts: 1

Hi,

I would like to create an indicator which shows me the cumulative volume of the current month and the second month of the future contracts.

Any clues on how i can add the second month volume to the current month ?

Thanks

MS Support  
#2 Posted : Tuesday, March 19, 2019 4:25:18 PM(UTC)
MS Support

Rank: Advanced Member

Groups: Moderators, Registered, Registered Users, Subscribers
Joined: 10/8/2010(UTC)
Posts: 1,929

Thanks: 85 times
Was thanked: 154 time(s) in 150 post(s)
Originally Posted by: longrun Go to Quoted Post

Hi,

I would like to create an indicator which shows me the cumulative volume of the current month and the second month of the future contracts.

Any clues on how i can add the second month volume to the current month ?

Thanks

Hello, 

The Security Data function can call a data array for a particular instrument. A simple example would be:

Code:
Cum(Security("Online:ESM9",V) + Security("Online:ESU9",V))

KSR10  
#3 Posted : Friday, November 22, 2019 6:43:47 AM(UTC)
KSR10

Rank: Newbie

Groups: Registered, Registered Users, Subscribers
Joined: 4/21/2009(UTC)
Posts: 2

Originally Posted by: MS Support Go to Quoted Post
Originally Posted by: longrun Go to Quoted Post

Hi,

I would like to create an indicator which shows me the cumulative volume of the current month and the second month of the future contracts.

Any clues on how i can add the second month volume to the current month ?

Thanks

Hello, 

The Security Data function can call a data array for a particular instrument. A simple example would be:

Code:
Cum(Security("Online:ESM9",V) + Security("Online:ESU9",V))

Does one have to change the Symbol manually everytime one checks new symbol ?

Sam karan121  
#4 Posted : Wednesday, April 22, 2020 12:55:30 PM(UTC)
Sam karan121

Rank: Newbie

Groups: Registered, Registered Users, Subscribers
Joined: 4/20/2020(UTC)
Posts: 6
Location: Delhi

Hello Sir I want to make cumulative open interset indicator by the sum first month,second month and third,month future open interest Sir, I know that the security function will be used but how will it happen And if the security function is not used, how will we do it? and my symbols are coming like this  and (my symbols are in local disk d )

 NSE50 1 - MONTH

NSE50 2 - MONTH 

NSE50 3 - MONTH

MS Support  
#5 Posted : Thursday, April 23, 2020 4:08:33 PM(UTC)
MS Support

Rank: Advanced Member

Groups: Moderators, Registered, Registered Users, Subscribers
Joined: 10/8/2010(UTC)
Posts: 1,929

Thanks: 85 times
Was thanked: 154 time(s) in 150 post(s)
Originally Posted by: Sam karan121 Go to Quoted Post

Hello Sir I want to make cumulative open interset indicator by the sum first month,second month and third,month future open interest Sir, I know that the security function will be used but how will it happen And if the security function is not used, how will we do it? and my symbols are coming like this  and (my symbols are in local disk d )

 NSE50 1 - MONTH

NSE50 2 - MONTH 

NSE50 3 - MONTH

Hello,

With local data, you will need to use the Security function including the data path. If you have the latest MetaStock version, the Help file's "Security" function topic contain the details and examples.

In the case of open interest, assuming the open interest data is in an Open Interest column, you would use OI as the data field to call in the Security function. A simple online example is:

Code:
Security("Online:Cc1",OI)

Sam karan121  
#6 Posted : Thursday, April 23, 2020 4:35:11 PM(UTC)
Sam karan121

Rank: Newbie

Groups: Registered, Registered Users, Subscribers
Joined: 4/20/2020(UTC)
Posts: 6
Location: Delhi

Sir, I did not understand how i don't have the latest version is metstock And what do I have to do like this 

Security("Online:Cc1",OI) + Security("Online:Cc2",OI) + Security("Online: Cc3",OI) 

What will be done by doing this? And here's what the online function means

The data path where the data is And what does Cc1 mean here
Sam karan121  
#7 Posted : Friday, April 24, 2020 11:32:58 AM(UTC)
Sam karan121

Rank: Newbie

Groups: Registered, Registered Users, Subscribers
Joined: 4/20/2020(UTC)
Posts: 6
Location: Delhi

Sir When I am doing this, I am getting an error that folder does not contain metastock files please help

Security("Data Path:symbol of first month ",OI) + Security("Data Path:Symbol of second month",OI)
 + Security("Data Path: Symbol of third month",OI) 

I want to make an indicator of this method as I have given the photoNO text

I have been working on this model for many days, please help Thank you so much if you help

Edited by user Friday, April 24, 2020 11:38:07 AM(UTC)  | Reason: Some text are coming small

MS Support  
#8 Posted : Friday, April 24, 2020 2:08:05 PM(UTC)
MS Support

Rank: Advanced Member

Groups: Moderators, Registered, Registered Users, Subscribers
Joined: 10/8/2010(UTC)
Posts: 1,929

Thanks: 85 times
Was thanked: 154 time(s) in 150 post(s)

Hello again,

It sounds like this is really more a case of getting MetaStock to read your data, because until that can be done, forming indicators is of secondary concern.

What file format are your data files stored in? The security function will not work with CSV/TXT so the data must be in a MetaStock formatted data file. If you have CSV/TXT data you can use the DownLoader to Convert this data to the MSLocal (or Legacy) format, which can then be used in the Security function.

The data must be formatted correctly, however in order to be successfully converted.

Sam karan121  
#9 Posted : Friday, April 24, 2020 4:15:04 PM(UTC)
Sam karan121

Rank: Newbie

Groups: Registered, Registered Users, Subscribers
Joined: 4/20/2020(UTC)
Posts: 6
Location: Delhi

It is because of you that I have been able to make that indicator thank you from the heart

Edited by user Monday, April 27, 2020 7:12:11 AM(UTC)  | Reason: indicator successful make

praveen.pk  
#10 Posted : Thursday, August 13, 2020 4:26:52 AM(UTC)
praveen.pk

Rank: Newbie

Groups: Registered, Registered Users, Subscribers
Joined: 8/9/2020(UTC)
Posts: 1

Hi,Karan can u help me in this. I am too stuck in it.
Users browsing this topic
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.