Is there a way to limit the number of trades to a determined level?I mean, I know you can limit the number of trades in an instrument such as for example:
if (Bars.FirstBarOfSession)
{
Previoustrades = Performance.AllTrades.Count;
}
If( Performance.AllTrades.Count - Previoustrades >=NTrades)
{return
}
But for example if I hace the same strategy running in 15 instruments and I would like that even in 10 of them the conditions to open a condition are true but I just want 3 open positions per day, is that possible?
Thanks
Sincerely
Comment