Is there a way to get the year of a futures symbol?

S

shaneg

New member
For example, on a chart for /ZWU11, I don't want to show trades until May of 2011. To do that I need the year from the symbol. Of course, I can manually input the year in the strategy. However, if I go from /ZWU10 to /ZWU11, I wish the strategy could pull from the symbol the "10" or the "11" so that trades are not shown on the chart for bars from the previous year. Thank you.
 

Similar threads

Top