Here is a line that I don't know how to get the converted code :
if( (Instrument.MasterInstrument.Name == "ES" && Instrument.MasterInstrument.SessionTemplate == "CME US Index Futures RTH") || (Instrument.MasterInstrument.Name == "CL"&& Instrument.MasterInstrument.SessionTemplate == "Nymex Energy RTH") )
The problem is with : Instrument.MasterInstrument.SessionTemplate
Can someone help me out on this.
Thanks
Comment