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

Notification

Icon
Error

Options
Go to last post Go to first unread
magiclaas  
#1 Posted : Thursday, June 16, 2016 4:43:12 PM(UTC)
magiclaas

Rank: Advanced Member

Groups: Registered, Registered Users, Unverified Users
Joined: 9/18/2008(UTC)
Posts: 37

is it possible to code this formula:

 

 

 where OPEN INTEREST IS THIS :   Security("GC_TOTAL.ALL",CLOSE)  .... for gold per example

 

thank you very much

Luigi

MS Support  
#2 Posted : Friday, June 17, 2016 5:52:28 PM(UTC)
MS Support

Rank: Advanced Member

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

Thanks: 86 times
Was thanked: 155 time(s) in 150 post(s)
Not sure on your 'symbol' in the above example, but the Security Function can output Open Interest via the Data Array field (where you currently have CLOSE). The security function is a bit different between version 11 and later versions. For example: Security("GCc1",OI) This would perform an online query for the Continuous COMEX Gold contract, reporting the Open Interest via the "OI" reference.
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.