From Dev.to
How do I limit trades per day in Pine Script?
Count the trades that filled since the futures day's first bar and take a new entry only while the count is under your limit. The script below does it. TradingView's strategy.risk.max_intraday_filled_...
