Here is what I have so far.
// Reset the tradeCounter value at the beginning of each session.
if (*Time Parameter*)
{
Print("resetting tradeCounter");
tradeCounter = 0;
}
// If the amount of trades is less than the permitted value and the position is flat, go on to the next set of conditions.
if (tradeCounter < MaxTrades && Position.MarketPosition == MarketPosition.Flat)
{
How would I add the Time Parameters in the first If Statement??
Comment