I have been looking for an answer to this question on the forum, but I do not think it has been answered yet. What do I need to write before "ES" to make this line of code work?
if (CurrentBars[0] > 5 && Instrument.MasterInstrument.Name == ???.ES)
{
Print("Instrument is ES.");
}

Comment