This script lets you separate alerts into batches, and trigger each batch in either sequential order or (pseudo)random order. You can also specify the number of batches being used. This is helpful when you have alerts to be triggered on every candle, but the number of alerts causes API errors if they are all executed at once.
Second day at Pinescript and I am attempting to tweak the Bollinger Bands directed strategy to send alerts to Zignaly in order to automate long buy/sells. I've left in the short script though for completeness. The buy and sell instructions work perfectly but I don't know how to do a cancel order alert (as included in the original strategy)
The accompanying study for the Candice trading strategy from github.com
This version triggers every batch within each candle. The previous version only triggered one batch per candle. This will not trigger batches in perfect order, but I left the "sequential" option because it still triggers the batches in order more often than not.
Fellow crypto traders, This is not the average script post, please keep reading... I admit I have not been socially active on TradingView at all. As a paid pro-member I've been using the platform to develop serious strategies, not to waste time on drawing lines, or do Social Media...