Candle counter

I've created a simple red/green candle counting script with a custom number of candles to look back on.

Let me know if any bugs, issues, or suggestions.
Remove from Favorite Scripts Add to Favorite Scripts


nice indicator. could you also add the feature that it starts counting from the first green bar and first red bar without having to put in the lookback periods
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