1) Average Volume * some user defined multiplier (use this if you want to track above average volume as a filter)
2) Manually input level for volume (use this if you want to wait for a specific volume threshold)
3) The greater of the manual level AND the average volume * multiplier
Added Parabolic SAR as an alternate exit signal. If you select both ATR and SAR as an exit option, it will pick whichever comes first.
In true TradingView spirit, the author of this script has published it open-source, so traders can understand and verify it. Cheers to the author! You may use it for free, but reuse of this code in a publication is governed by House Rules. You can favorite it to use it on a chart.