In the OnBarUpdate methode of an indicator can be evaluated the next condition?
if (Time[0].DayOfWeek==DayOfWeek.Monday
&& Position.MarketPosition==MarketPosition.Flat)
{
}
The indicator is not compiling well and the error is in the second contion.
Thanks
Comment