i have a simple strategy that triggers trade on the chart on daily timeframe, but when i want to use the walk forward opt. no trades are trigger when selecting 1 daily bar (it does with 60min bar).
The problem comes when i use the day of week = monday in the code below:
if (Close[0]> EMA(Period)[0]
&& Times[0][0].DayOfWeek == DayOfWeek.Monday
&& Position.MarketPosition == MarketPosition.Flat)
{
EnterLong(1,"entry1");
}
Your help is needed.
Thanks

Comment