COTH Alert
๐ COTH Alert Indicator โ Analysis
This script generates a COTH Alert based on Cumulative Orderflow Threshold High (cothigh) values using Lipi Script on the GoCharting platform. It is designed to help traders detect extreme buying or selling imbalances at the bar level.
๐ง How It Works:
The indicator uses orderflow.cothigh, which represents the highest delta cluster within a candleโhighlighting zones where aggressive buyer dominance peaked
Since the value updates during the live candle, the script references cothigh[1], ensuring the condition is based on a closed bar.
Users can define a cothigh threshold using the input.int() function.
If the previous barโs cothigh crosses the threshold positively or negatively, the script triggers an alert.
๐ Why Use cothigh[1]?
Live COTH values may fluctuate within a forming bar. By referencing the previous candle, we ensure alerts are based on finalized, confirmed data, reducing false signals.
โ๏ธ Use Case:
Detecting extreme cluster delta spikes, indicating strong aggressive buying or selling
Helpful in orderflow-based breakout detection or reversal zone identification
Can be used with cluster charts or combined with volume, delta, or support-resistance strategies
โ๏ธ Customizable Parameter:
cothighThreshold: Default is 100; can be adjusted to fit market volatility and asset class
The information and publications are not meant to be, and do not constitute, financial, investment, trading, or other types of advice or recommendations supplied or endorsed by GoCharting. Read more in the Terms of Use.
โ Related Scripts
Comments (0)
Loading commentsโฆ




