StripNatGas

See Also...

Related Topics

 

 

Description

Displays a NYMEX Natural Gas strip of the length you specify, up to 36 months.

 

 

Formula

StripNatGas(INPUT,contracts=3)=begin

   retval = Strip(contracts,NG#,NG#1,NG#2,NG#3,NG#4,NG#5,NG#6,
       NG#7,NG#8,NG#9,NG#10,NG#11,NG#12,NG#13,NG#14,NG#15,
       NG#16,NG#17,NG#18,NG#19,NG#20,NG#21,NG#22,NG#23,
       NG#24,NG#25,NG#26,NG#27,NG#28,NG#29,NG#30,NG#31,
       NG#32,NG#33,NG#34,NG#35,NG#36,NG#37,NG#38,NG#39)

   retval

end

 

 

Parameters

INPUT

The INPUT directive is employed here to make this formula available as an overlay. You can pass any instrument to this argument, but the formula will always return a Natural Gas strip.

 

contracts

Specified the number of Natural Gas contracts to strip. The default is 3.

 

 

Return Value

 

 

 

Examples

StripNatGas(NG#,3)

 

Displays a 3 month strip.

 

StripNatGas(NG#,36)

 

Displays a 36 month strip.

 

 

Comments

 

 

©2008 Aspen Research Group, Ltd. All rights reserved. Terms of Use.