| Period |
15 |
Number of bars to SUM delta over. This is your CVD window.
On a 1m chart, Period=5 ≈ 5-min flow, Period=15 ≈ 15-min flow.
Higher = slower/smoother signal that ignores single-bar spikes.
Lower = more reactive to recent delta changes. |
| Lookback Period |
60 |
How many bars back to average |rollingDelta| for the adaptive threshold baseline.
60 bars on 1m = 1 hour of history to set the "typical delta" for the session.
Lower = adapts faster to changing conditions. Higher = more stable baseline. |
| Neutral Zone |
0.15 |
Fraction of avg |delta| where bar shows yellow. At 0.15: if avg delta is 80, then |rolling delta| below 12 = yellow.
Raise toward 0.3–0.5 to only show directional color on stronger readings.
Lower toward 0.05 to color nearly every bar. |
| Max Intensity |
2.0 |
Multiple of avg |delta| at which gradient reaches full strength. At 2.0: full-color white/black appears when rolling delta ≥ 2× the average.
Lower to 1.5 to reach full intensity sooner (useful in fast markets).
Raise to 3.0 if you only want full-color on truly extreme readings. |
| Power Curve |
0.7 |
Exponent applied to the normalized intensity (tp = t ^ power).
<1 pushes color out earlier — mid-range bars get noticeably colored.
=1 is a pure linear ramp.
>1 keeps bars soft until near the max — only extreme readings get strong color. |
| Bull Soft |
#88FFFFFF |
Color at the low-intensity end of the bull ramp (delta just above the neutral zone). |
| Bull Strong |
#FFFFFFFF |
Color at full bull intensity (rolling delta ≥ max threshold). |
| Bear Soft |
#FF505757 |
Color at the low-intensity end of the bear ramp. |
| Bear Strong |
#FF242425 |
Color at full bear intensity. Near-black by design — strong selling pressure. |
| Neutral |
#9EFFFF00 |
Color for bars where |rolling delta| is within the neutral zone. Yellow = contested flow. |
| Body Fill |
#00000000 |
Fill color for the interior of the candle body. Default alpha=0 = fully hollow (only the border and stripe show). Set a non-zero alpha to get a translucent filled body. |
| Stripe Fraction |
0.9 |
What fraction of the body height the stripe occupies. 0.9 = 90% filled (very visible). Lower to 0.3–0.5 for a subtle accent line at the open edge. |
| Min Stripe Ticks |
1 |
Minimum stripe height in ticks, regardless of body size. Ensures small-body bars still show a distinguishable stripe. |