I am looking to tell NinjaScript to enter a trade only if there have been no trades opened today. This is an important distinction, because often I will have open trades from the previous day - but I only want to enter one trade per day per currency pair traded.
Here is my current code for it:
// Long Entry
if (direction == TrendDirection.Up)
{
if (Time[0] > endRange
&& Time[0]