I see 'Order's limit (9000) was reached' error

This error means that the number of orders the strategy can execute on the chart has reached the max level of 9000. The limitation is enabled for our servers to work more efficiently. 


The only alternative we can suggest is to plot a strategy with the fixed start date rather than from the beginning of the data history. You can add a comparison time > timestamp (2019, 01, 01, 09, 30) to the order condition, where time is the time of the current bar and timestamp() is the feature converting date and time to UNIX format. Please see the function description in Study Script Reference.

Here's an example:

longCondition = buying
if (longCondition and time>timestamp(2019, 01, 01, 09, 30))
    strategy.entry("Long", strategy.long)

shortCondition = buying != true
if (shortCondition and time>timestamp(2019, 01, 01, 09, 30))
    strategy.entry("Short", strategy.short)
Home Stock Screener Forex Screener Crypto Screener Economic Calendar How It Works Chart Features Pricing Refer a friend House Rules Help Center Website & Broker Solutions Widgets Charting Solutions Lightweight Charting Library Blog & News Twitter
Profile Profile Settings Account and Billing Referred friends Coins My Support Tickets Help Center Ideas Published Followers Following Private Messages Chat Sign Out