Pictures+examples: verify all 481 doc code examples compile, fix 111

- New widgets/tools/verify_doc_examples.py extracts every cpp block from
  the 9 section docs + 6 stock fragment docs and compiles it (full
  programs as-is, fragments in a display/window/styles harness).
  Result: widgets/test-results/doc_examples.csv, 481/481 PASS.
- Fixed 80 volatility examples: widget class lives in namespace xframe,
  snippets used the bare name (docs + docs/stock-market.md).
- Fixed 14 drawing examples: snippets used an undeclared series variable
  (bind the seeded series first) and hi/lo (compute from series range).
- Added per-widget examples for the 17 widgets that had none: 8 OHLC
  (shared example only) and 9 compare-volume (prose-only), in the
  fragment docs and docs/stock-market.md.
- New widgets/tools/render_widget_pics.py: per-widget picture driver
  (xwd -root + crop; LD_PRELOAD keepalive shim for the 250
  exit-immediately indicator demos).
This commit is contained in:
Muse committed 2026-11-25 19:16:59 -05:00
1 parent ce6fde4582
commit c02677bfc0
11 files changed
+1647 -226

No files matched your search

+66 -18
View File
@@ -47,8 +47,13 @@ hover/click/key, and exits cleanly via `WM_DELETE_WINDOW`. Result:
- **API:** same constructor; `add_series(name, series[, colour])`,
`clear_series()`, `series_count()`, `item_count()`,
`panel_close_at(series, i)`.
- **Example:** as above, with one `add_series` call per symbol; each symbol
gets its own panel in insertion order.
- **Example:**
```cpp
StockMultiSymbolChart w(display, screen, window, gc, &styles, 20, 20, 720, 480);
w.add_series("SYM-A", xframe::make_seeded_series(60, 42));
w.add_series("SYM-B", xframe::make_seeded_series(60, 7));
w.draw();
```
- **Unclear from the header:** panels split the plot height evenly (the last
panel takes any remainder); there is no per-panel y-axis label, only grid
lines, so exact values are read from the crosshair position, not the panel.
@@ -73,8 +78,14 @@ hover/click/key, and exits cleanly via `WM_DELETE_WINDOW`. Result:
series, truncated to the shorter length) as a line around a zero line.
- **API:** same constructor; `add_series(...)`, `spread()` (vector),
`spread_at(i)`, `spread_label()` (`"A - B"`).
- **Example:** add exactly two series; `w.spread_at(10)` is the spread at
bar 10.
- **Example:**
```cpp
StockSpreadChart w(display, screen, window, gc, &styles, 20, 20, 720, 480);
w.add_series("SYM-A", xframe::make_seeded_series(60, 42));
w.add_series("SYM-B", xframe::make_seeded_series(60, 7));
double s = w.spread_at(10);
w.draw();
```
- **Unclear from the header:** only the first two series are used; a third
series is drawn nowhere and ignored by `spread()`. No z-score or
normalisation is applied — the spread is in raw price units.
@@ -84,8 +95,14 @@ hover/click/key, and exits cleanly via `WM_DELETE_WINDOW`. Result:
truncated to the shorter length) as a line.
- **API:** same constructor; `add_series(...)`, `ratio()` (vector),
`ratio_at(i)`, `ratio_label()` (`"A / B"`).
- **Example:** add exactly two series; `w.ratio_at(10)` is the ratio at
bar 10.
- **Example:**
```cpp
StockRatioChart w(display, screen, window, gc, &styles, 20, 20, 720, 480);
w.add_series("SYM-A", xframe::make_seeded_series(60, 42));
w.add_series("SYM-B", xframe::make_seeded_series(60, 7));
double r = w.ratio_at(10);
w.draw();
```
- **Unclear from the header:** a zero close in B yields a ratio of 0.0
rather than an error or a skipped bar; only the first two series are used.
@@ -115,8 +132,14 @@ hover/click/key, and exits cleanly via `WM_DELETE_WINDOW`. Result:
100) at their first close, as lines, with a horizontal line at the base.
- **API:** same constructor; `add_series(...)`, `set_base_value(v)` /
`base_value()`, `indexed(series)` (vector), `indexed_at(series, i)`.
- **Example:** as for `StockRelativePerformance`, plus
`w.set_base_value(1000.0)` to index from 1000 instead of 100.
- **Example:**
```cpp
StockIndexedComparison w(display, screen, window, gc, &styles, 20, 20, 720, 480);
w.add_series("SYM-A", xframe::make_seeded_series(60, 42));
w.add_series("SYM-B", xframe::make_seeded_series(60, 7));
w.set_base_value(1000.0);
w.draw();
```
- **Unclear from the header:** this differs from `StockRelativePerformance`
only in the configurable base value and the absence of the
`performance_at` helper; the plotted lines are identical when the base
@@ -169,8 +192,13 @@ hover/click/key, and exits cleanly via `WM_DELETE_WINDOW`. Result:
`(high + low + close) / 3`, anchored at the first bar of the series.
- **API:** same constructor; `set_series(series)`, `vwap()` (vector),
`vwap_at(i)`.
- **Example:** `w.set_series(xframe::make_seeded_series(60, 42));`
then `w.vwap_at(59)` is the VWAP at the last bar.
- **Example:**
```cpp
StockVWAP w(display, screen, window, gc, &styles, 20, 20, 720, 480);
w.set_series(xframe::make_seeded_series(60, 42));
double v = w.vwap_at(59);
w.draw();
```
- **Unclear from the header:** VWAP is session-anchored at bar 0 of the
supplied series — there is no per-day reset and no way to re-anchor it
other than supplying a shorter series.
@@ -199,8 +227,13 @@ hover/click/key, and exits cleanly via `WM_DELETE_WINDOW`. Result:
unchanged on a doji (`close == open`).
- **API:** same constructor; `set_series(series)`, `obv()` (vector),
`obv_at(i)`.
- **Example:** `w.set_series(xframe::make_seeded_series(60, 42));`
then `w.obv_at(59)` is the final OBV value.
- **Example:**
```cpp
StockOBVChart w(display, screen, window, gc, &styles, 20, 20, 720, 480);
w.set_series(xframe::make_seeded_series(60, 42));
double o = w.obv_at(59);
w.draw();
```
- **Unclear from the header:** OBV starts at 0 at bar 0 (bar 0's own volume
is included with its sign); it is not normalised or rebased.
@@ -211,8 +244,13 @@ hover/click/key, and exits cleanly via `WM_DELETE_WINDOW`. Result:
is full slot width and the lightest is 30%.
- **API:** same constructor; `set_series(series)`,
`body_width_at(i)` (the 0.3..1.0 fraction), `max_volume()`.
- **Example:** `w.set_series(xframe::make_seeded_series(60, 42));`
then `w.body_width_at(3)` is the width fraction of bar 3.
- **Example:**
```cpp
StockVolumeCandles w(display, screen, window, gc, &styles, 20, 20, 720, 480);
w.set_series(xframe::make_seeded_series(60, 42));
double f = w.body_width_at(3);
w.draw();
```
- **Unclear from the header:** the width encodes *relative* volume within
the supplied series; absolute volume is not shown anywhere.
@@ -223,8 +261,13 @@ hover/click/key, and exits cleanly via `WM_DELETE_WINDOW`. Result:
- **API:** same constructor; `set_series(series)`,
`accumulation_distribution()` (vector), `ad_at(i)`,
`clv(bar)` (static helper).
- **Example:** `w.set_series(xframe::make_seeded_series(60, 42));`
then `w.ad_at(59)` is the final A/D value.
- **Example:**
```cpp
StockAccumulationDistribution w(display, screen, window, gc, &styles, 20, 20, 720, 480);
w.set_series(xframe::make_seeded_series(60, 42));
double a = w.ad_at(59);
w.draw();
```
- **Unclear from the header:** a zero-range bar (`high == low`) contributes
0; the line starts at 0 plus bar 0's contribution, not at bar 0's close.
@@ -236,8 +279,13 @@ hover/click/key, and exits cleanly via `WM_DELETE_WINDOW`. Result:
`money_flow()` (vector, per-bar values, *not* cumulative),
`money_flow_at(i)`, `total_money_flow()` (sum over bars),
`clv(bar)` (static helper).
- **Example:** `w.set_series(xframe::make_seeded_series(60, 42));`
then `w.total_money_flow()` is the summed money flow.
- **Example:**
```cpp
StockMoneyFlowChart w(display, screen, window, gc, &styles, 20, 20, 720, 480);
w.set_series(xframe::make_seeded_series(60, 42));
double m = w.total_money_flow();
w.draw();
```
- **Unclear from the header:** unlike `StockAccumulationDistribution`,
this widget does *not* cumulate — each bar stands alone. The vertical
scale is money-flow units (price × volume), not volume, so bar heights
+30 -14
View File
@@ -39,7 +39,8 @@ API: `set_anchors(b1, p1, b2, p2)` — the two points the line passes through.
Example:
```cpp
StockTrendline w(display, screen, window, gc, &styles, 20, 20, 720, 480);
w.set_series(xframe::make_seeded_series(60, 42));
auto series = xframe::make_seeded_series(60, 42);
w.set_series(series);
w.set_anchors(5, series[5].close, 25, series[25].close);
w.draw();
```
@@ -59,7 +60,8 @@ price is drawn; the bar indices are stored but ignored.
Example:
```cpp
StockHorizontalLine w(display, screen, window, gc, &styles, 20, 20, 720, 480);
w.set_series(xframe::make_seeded_series(60, 42));
auto series = xframe::make_seeded_series(60, 42);
w.set_series(series);
w.set_anchors(0, series[30].close, 0, series[30].close);
w.draw();
```
@@ -79,7 +81,8 @@ is drawn; the prices are stored but ignored.
Example:
```cpp
StockVerticalLine w(display, screen, window, gc, &styles, 20, 20, 720, 480);
w.set_series(xframe::make_seeded_series(60, 42));
auto series = xframe::make_seeded_series(60, 42);
w.set_series(series);
w.set_anchors(30, series[30].close, 30, series[30].close);
w.draw();
```
@@ -98,7 +101,8 @@ matter, the min/max of each axis is used.
Example:
```cpp
StockRectangle w(display, screen, window, gc, &styles, 20, 20, 720, 480);
w.set_series(xframe::make_seeded_series(60, 42));
auto series = xframe::make_seeded_series(60, 42);
w.set_series(series);
w.set_anchors(10, series[10].low, 30, series[30].high);
w.draw();
```
@@ -118,7 +122,8 @@ box; order does not matter.
Example:
```cpp
StockEllipse w(display, screen, window, gc, &styles, 20, 20, 720, 480);
w.set_series(xframe::make_seeded_series(60, 42));
auto series = xframe::make_seeded_series(60, 42);
w.set_series(series);
w.set_anchors(10, series[10].low, 30, series[30].high);
w.draw();
```
@@ -138,7 +143,9 @@ API: `set_anchors(b_high, high, b_low, low)`; `set_high_low(hi, lo)`;
Example:
```cpp
StockFibRetracement w(display, screen, window, gc, &styles, 20, 20, 720, 480);
w.set_series(xframe::make_seeded_series(60, 42));
auto series = xframe::make_seeded_series(60, 42);
w.set_series(series);
double hi = series[0].high, lo = series[0].low; for (auto& b : series) { hi = std::max(hi, b.high); lo = std::min(lo, b.low); }
w.set_high_low(hi, lo); // hi/lo from the series range
w.draw();
```
@@ -161,7 +168,9 @@ API: `set_anchors(b_high, high, b_low, low)`; `set_high_low(hi, lo)`;
Example:
```cpp
StockFibExtension w(display, screen, window, gc, &styles, 20, 20, 720, 480);
w.set_series(xframe::make_seeded_series(60, 42));
auto series = xframe::make_seeded_series(60, 42);
w.set_series(series);
double hi = series[0].high, lo = series[0].low; for (auto& b : series) { hi = std::max(hi, b.high); lo = std::min(lo, b.low); }
w.set_high_low(hi, lo);
w.draw();
```
@@ -181,7 +190,8 @@ API: `set_anchors(bar, price, bar, price)`; `set_text(std::string)` /
Example:
```cpp
StockTextAnnotation w(display, screen, window, gc, &styles, 20, 20, 720, 480);
w.set_series(xframe::make_seeded_series(60, 42));
auto series = xframe::make_seeded_series(60, 42);
w.set_series(series);
w.set_anchors(20, series[20].close, 20, series[20].close);
w.set_text("Breakout here");
w.draw();
@@ -202,7 +212,8 @@ API: `set_anchors(b1, p1, b2, p2)` — tail and tip.
Example:
```cpp
StockArrow w(display, screen, window, gc, &styles, 20, 20, 720, 480);
w.set_series(xframe::make_seeded_series(60, 42));
auto series = xframe::make_seeded_series(60, 42);
w.set_series(series);
w.set_anchors(10, series[10].low, 25, series[25].high);
w.draw();
```
@@ -222,7 +233,8 @@ API: `set_anchors(b1, p1, b2, p2)` plus `set_anchor(2, bar, offset_price)`.
Example:
```cpp
StockParallelChannel w(display, screen, window, gc, &styles, 20, 20, 720, 480);
w.set_series(xframe::make_seeded_series(60, 42));
auto series = xframe::make_seeded_series(60, 42);
w.set_series(series);
w.set_anchors(5, series[5].close, 25, series[25].close);
w.set_anchor(2, 25, series[5].close + 5.0);
w.draw();
@@ -246,7 +258,8 @@ API: `set_anchors3(b1, p1, b2, p2, b3, p3)` or
Example:
```cpp
StockPitchfork w(display, screen, window, gc, &styles, 20, 20, 720, 480);
w.set_series(xframe::make_seeded_series(60, 42));
auto series = xframe::make_seeded_series(60, 42);
w.set_series(series);
w.set_pivots(5, series[5].low, 15, series[15].high, 25, series[25].low);
w.draw();
```
@@ -268,7 +281,8 @@ API: `add_point(int bar, double price)`; `clear_points()`;
Example:
```cpp
StockBrush w(display, screen, window, gc, &styles, 20, 20, 720, 480);
w.set_series(xframe::make_seeded_series(60, 42));
auto series = xframe::make_seeded_series(60, 42);
w.set_series(series);
w.clear_points();
for (int i = 8; i <= 28; i += 2) w.add_point(i, series[i].close);
w.draw();
@@ -290,7 +304,8 @@ API: `set_anchors(bar, price, bar, price)` — only the first anchor is used.
Example:
```cpp
StockPriceLabel w(display, screen, window, gc, &styles, 20, 20, 720, 480);
w.set_series(xframe::make_seeded_series(60, 42));
auto series = xframe::make_seeded_series(60, 42);
w.set_series(series);
w.set_anchors(59, series[59].close, 59, series[59].close);
w.draw();
```
@@ -310,7 +325,8 @@ API: `set_anchors(b1, p1, b2, p2)`; `price_diff()`; `bar_diff()`;
Example:
```cpp
StockMeasureTool w(display, screen, window, gc, &styles, 20, 20, 720, 480);
w.set_series(xframe::make_seeded_series(60, 42));
auto series = xframe::make_seeded_series(60, 42);
w.set_series(series);
w.set_anchors(10, series[10].close, 30, series[30].close);
w.draw();
// w.price_diff(), w.bar_diff(), w.pct_diff()
+80 -80
View File
@@ -34,7 +34,7 @@ struct with one `std::vector<double>` per output line (field names listed below)
```cpp
xframe::OHLCVSeries series = xframe::make_seeded_series(250);
auto values = xframe::ind_bollinger_bands(series); // one value per bar, NaN warm-up
IndBollingerBands widget(display, screen, window, gc, &styles, 20, 20, 720, 480, series);
xframe::IndBollingerBands widget(display, screen, window, gc, &styles, 20, 20, 720, 480, series);
widget.draw();
```
@@ -50,7 +50,7 @@ struct with one `std::vector<double>` per output line (field names listed below)
```cpp
xframe::OHLCVSeries series = xframe::make_seeded_series(250);
auto values = xframe::ind_bollinger_percent_b(series); // one value per bar, NaN warm-up
IndBollingerPercentB widget(display, screen, window, gc, &styles, 20, 20, 720, 480, series);
xframe::IndBollingerPercentB widget(display, screen, window, gc, &styles, 20, 20, 720, 480, series);
widget.draw();
```
@@ -66,7 +66,7 @@ struct with one `std::vector<double>` per output line (field names listed below)
```cpp
xframe::OHLCVSeries series = xframe::make_seeded_series(250);
auto values = xframe::ind_bollinger_bandwidth(series); // one value per bar, NaN warm-up
IndBollingerBandwidth widget(display, screen, window, gc, &styles, 20, 20, 720, 480, series);
xframe::IndBollingerBandwidth widget(display, screen, window, gc, &styles, 20, 20, 720, 480, series);
widget.draw();
```
@@ -82,7 +82,7 @@ struct with one `std::vector<double>` per output line (field names listed below)
```cpp
xframe::OHLCVSeries series = xframe::make_seeded_series(250);
auto values = xframe::ind_atr(series); // one value per bar, NaN warm-up
IndATR widget(display, screen, window, gc, &styles, 20, 20, 720, 480, series);
xframe::IndATR widget(display, screen, window, gc, &styles, 20, 20, 720, 480, series);
widget.draw();
```
@@ -98,7 +98,7 @@ struct with one `std::vector<double>` per output line (field names listed below)
```cpp
xframe::OHLCVSeries series = xframe::make_seeded_series(250);
auto values = xframe::ind_natr(series); // one value per bar, NaN warm-up
IndNATR widget(display, screen, window, gc, &styles, 20, 20, 720, 480, series);
xframe::IndNATR widget(display, screen, window, gc, &styles, 20, 20, 720, 480, series);
widget.draw();
```
@@ -114,7 +114,7 @@ struct with one `std::vector<double>` per output line (field names listed below)
```cpp
xframe::OHLCVSeries series = xframe::make_seeded_series(250);
auto values = xframe::ind_true_range(series); // one value per bar, NaN warm-up
IndTrueRange widget(display, screen, window, gc, &styles, 20, 20, 720, 480, series);
xframe::IndTrueRange widget(display, screen, window, gc, &styles, 20, 20, 720, 480, series);
widget.draw();
```
@@ -131,7 +131,7 @@ struct with one `std::vector<double>` per output line (field names listed below)
```cpp
xframe::OHLCVSeries series = xframe::make_seeded_series(250);
auto values = xframe::ind_keltner_channels(series); // one value per bar, NaN warm-up
IndKeltnerChannels widget(display, screen, window, gc, &styles, 20, 20, 720, 480, series);
xframe::IndKeltnerChannels widget(display, screen, window, gc, &styles, 20, 20, 720, 480, series);
widget.draw();
```
@@ -148,7 +148,7 @@ struct with one `std::vector<double>` per output line (field names listed below)
```cpp
xframe::OHLCVSeries series = xframe::make_seeded_series(250);
auto values = xframe::ind_donchian_channels(series); // one value per bar, NaN warm-up
IndDonchianChannels widget(display, screen, window, gc, &styles, 20, 20, 720, 480, series);
xframe::IndDonchianChannels widget(display, screen, window, gc, &styles, 20, 20, 720, 480, series);
widget.draw();
```
@@ -164,7 +164,7 @@ struct with one `std::vector<double>` per output line (field names listed below)
```cpp
xframe::OHLCVSeries series = xframe::make_seeded_series(250);
auto values = xframe::ind_chaikin_volatility(series); // one value per bar, NaN warm-up
IndChaikinVolatility widget(display, screen, window, gc, &styles, 20, 20, 720, 480, series);
xframe::IndChaikinVolatility widget(display, screen, window, gc, &styles, 20, 20, 720, 480, series);
widget.draw();
```
- Unclear from the header: the percent change is measured against the EMA value exactly `period` bars ago, not against a second EMA.
@@ -181,7 +181,7 @@ struct with one `std::vector<double>` per output line (field names listed below)
```cpp
xframe::OHLCVSeries series = xframe::make_seeded_series(250);
auto values = xframe::ind_historical_volatility(series); // one value per bar, NaN warm-up
IndHistoricalVolatility widget(display, screen, window, gc, &styles, 20, 20, 720, 480, series);
xframe::IndHistoricalVolatility widget(display, screen, window, gc, &styles, 20, 20, 720, 480, series);
widget.draw();
```
@@ -197,7 +197,7 @@ struct with one `std::vector<double>` per output line (field names listed below)
```cpp
xframe::OHLCVSeries series = xframe::make_seeded_series(250);
auto values = xframe::ind_parkinson_volatility(series); // one value per bar, NaN warm-up
IndParkinsonVolatility widget(display, screen, window, gc, &styles, 20, 20, 720, 480, series);
xframe::IndParkinsonVolatility widget(display, screen, window, gc, &styles, 20, 20, 720, 480, series);
widget.draw();
```
@@ -213,7 +213,7 @@ struct with one `std::vector<double>` per output line (field names listed below)
```cpp
xframe::OHLCVSeries series = xframe::make_seeded_series(250);
auto values = xframe::ind_garman_klass_volatility(series); // one value per bar, NaN warm-up
IndGarmanKlassVolatility widget(display, screen, window, gc, &styles, 20, 20, 720, 480, series);
xframe::IndGarmanKlassVolatility widget(display, screen, window, gc, &styles, 20, 20, 720, 480, series);
widget.draw();
```
@@ -229,7 +229,7 @@ struct with one `std::vector<double>` per output line (field names listed below)
```cpp
xframe::OHLCVSeries series = xframe::make_seeded_series(250);
auto values = xframe::ind_rogers_satchell_volatility(series); // one value per bar, NaN warm-up
IndRogersSatchellVolatility widget(display, screen, window, gc, &styles, 20, 20, 720, 480, series);
xframe::IndRogersSatchellVolatility widget(display, screen, window, gc, &styles, 20, 20, 720, 480, series);
widget.draw();
```
@@ -245,7 +245,7 @@ struct with one `std::vector<double>` per output line (field names listed below)
```cpp
xframe::OHLCVSeries series = xframe::make_seeded_series(250);
auto values = xframe::ind_yang_zhang_volatility(series); // one value per bar, NaN warm-up
IndYangZhangVolatility widget(display, screen, window, gc, &styles, 20, 20, 720, 480, series);
xframe::IndYangZhangVolatility widget(display, screen, window, gc, &styles, 20, 20, 720, 480, series);
widget.draw();
```
- Unclear from the header: the overnight variance uses log(open / previous close); the first bar of the series contributes no overnight term.
@@ -262,7 +262,7 @@ struct with one `std::vector<double>` per output line (field names listed below)
```cpp
xframe::OHLCVSeries series = xframe::make_seeded_series(250);
auto values = xframe::ind_stddev(series); // one value per bar, NaN warm-up
IndStdDev widget(display, screen, window, gc, &styles, 20, 20, 720, 480, series);
xframe::IndStdDev widget(display, screen, window, gc, &styles, 20, 20, 720, 480, series);
widget.draw();
```
@@ -278,7 +278,7 @@ struct with one `std::vector<double>` per output line (field names listed below)
```cpp
xframe::OHLCVSeries series = xframe::make_seeded_series(250);
auto values = xframe::ind_variance(series); // one value per bar, NaN warm-up
IndVariance widget(display, screen, window, gc, &styles, 20, 20, 720, 480, series);
xframe::IndVariance widget(display, screen, window, gc, &styles, 20, 20, 720, 480, series);
widget.draw();
```
@@ -295,7 +295,7 @@ struct with one `std::vector<double>` per output line (field names listed below)
```cpp
xframe::OHLCVSeries series = xframe::make_seeded_series(250);
auto values = xframe::ind_chandelier_exit(series); // one value per bar, NaN warm-up
IndChandelierExit widget(display, screen, window, gc, &styles, 20, 20, 720, 480, series);
xframe::IndChandelierExit widget(display, screen, window, gc, &styles, 20, 20, 720, 480, series);
widget.draw();
```
@@ -311,7 +311,7 @@ struct with one `std::vector<double>` per output line (field names listed below)
```cpp
xframe::OHLCVSeries series = xframe::make_seeded_series(250);
auto values = xframe::ind_volatility_stop(series); // one value per bar, NaN warm-up
IndVolatilityStop widget(display, screen, window, gc, &styles, 20, 20, 720, 480, series);
xframe::IndVolatilityStop widget(display, screen, window, gc, &styles, 20, 20, 720, 480, series);
widget.draw();
```
- Unclear from the header: the first stop is seeded at close - mult*ATR on the first finite ATR bar; the long/short state starts long.
@@ -328,7 +328,7 @@ struct with one `std::vector<double>` per output line (field names listed below)
```cpp
xframe::OHLCVSeries series = xframe::make_seeded_series(250);
auto values = xframe::ind_mass_index(series); // one value per bar, NaN warm-up
IndMassIndex widget(display, screen, window, gc, &styles, 20, 20, 720, 480, series);
xframe::IndMassIndex widget(display, screen, window, gc, &styles, 20, 20, 720, 480, series);
widget.draw();
```
@@ -344,7 +344,7 @@ struct with one `std::vector<double>` per output line (field names listed below)
```cpp
xframe::OHLCVSeries series = xframe::make_seeded_series(250);
auto values = xframe::ind_ulcer_index(series); // one value per bar, NaN warm-up
IndUlcerIndex widget(display, screen, window, gc, &styles, 20, 20, 720, 480, series);
xframe::IndUlcerIndex widget(display, screen, window, gc, &styles, 20, 20, 720, 480, series);
widget.draw();
```
@@ -360,7 +360,7 @@ struct with one `std::vector<double>` per output line (field names listed below)
```cpp
xframe::OHLCVSeries series = xframe::make_seeded_series(250);
auto values = xframe::ind_relative_volatility_index(series); // one value per bar, NaN warm-up
IndRelativeVolatilityIndex widget(display, screen, window, gc, &styles, 20, 20, 720, 480, series);
xframe::IndRelativeVolatilityIndex widget(display, screen, window, gc, &styles, 20, 20, 720, 480, series);
widget.draw();
```
@@ -377,7 +377,7 @@ struct with one `std::vector<double>` per output line (field names listed below)
```cpp
xframe::OHLCVSeries series = xframe::make_seeded_series(250);
auto values = xframe::ind_ttm_squeeze(series); // one value per bar, NaN warm-up
IndTTMSqueeze widget(display, screen, window, gc, &styles, 20, 20, 720, 480, series);
xframe::IndTTMSqueeze widget(display, screen, window, gc, &styles, 20, 20, 720, 480, series);
widget.draw();
```
- Unclear from the header: the Keltner width in the squeeze test uses a 1.5 ATR multiplier while the Bollinger width uses the 2.0 StdDev multiplier parameter.
@@ -394,7 +394,7 @@ struct with one `std::vector<double>` per output line (field names listed below)
```cpp
xframe::OHLCVSeries series = xframe::make_seeded_series(250);
auto values = xframe::ind_gopalakrishnan_range_index(series); // one value per bar, NaN warm-up
IndGopalakrishnanRangeIndex widget(display, screen, window, gc, &styles, 20, 20, 720, 480, series);
xframe::IndGopalakrishnanRangeIndex widget(display, screen, window, gc, &styles, 20, 20, 720, 480, series);
widget.draw();
```
@@ -410,7 +410,7 @@ struct with one `std::vector<double>` per output line (field names listed below)
```cpp
xframe::OHLCVSeries series = xframe::make_seeded_series(250);
auto values = xframe::ind_wilder_volatility_system(series); // one value per bar, NaN warm-up
IndWilderVolatilitySystem widget(display, screen, window, gc, &styles, 20, 20, 720, 480, series);
xframe::IndWilderVolatilitySystem widget(display, screen, window, gc, &styles, 20, 20, 720, 480, series);
widget.draw();
```
- Unclear from the header: the long stop trails the highest high minus mult*ATR (not the close), and flips on a close through the stop.
@@ -427,7 +427,7 @@ struct with one `std::vector<double>` per output line (field names listed below)
```cpp
xframe::OHLCVSeries series = xframe::make_seeded_series(250);
auto values = xframe::ind_volatility_ratio(series); // one value per bar, NaN warm-up
IndVolatilityRatio widget(display, screen, window, gc, &styles, 20, 20, 720, 480, series);
xframe::IndVolatilityRatio widget(display, screen, window, gc, &styles, 20, 20, 720, 480, series);
widget.draw();
```
@@ -443,7 +443,7 @@ struct with one `std::vector<double>` per output line (field names listed below)
```cpp
xframe::OHLCVSeries series = xframe::make_seeded_series(250);
auto values = xframe::ind_close_volatility(series); // one value per bar, NaN warm-up
IndCloseVolatility widget(display, screen, window, gc, &styles, 20, 20, 720, 480, series);
xframe::IndCloseVolatility widget(display, screen, window, gc, &styles, 20, 20, 720, 480, series);
widget.draw();
```
@@ -459,7 +459,7 @@ struct with one `std::vector<double>` per output line (field names listed below)
```cpp
xframe::OHLCVSeries series = xframe::make_seeded_series(250);
auto values = xframe::ind_high_low_range(series); // one value per bar, NaN warm-up
IndHighLowRange widget(display, screen, window, gc, &styles, 20, 20, 720, 480, series);
xframe::IndHighLowRange widget(display, screen, window, gc, &styles, 20, 20, 720, 480, series);
widget.draw();
```
@@ -475,7 +475,7 @@ struct with one `std::vector<double>` per output line (field names listed below)
```cpp
xframe::OHLCVSeries series = xframe::make_seeded_series(250);
auto values = xframe::ind_keltner_bandwidth(series); // one value per bar, NaN warm-up
IndKeltnerBandwidth widget(display, screen, window, gc, &styles, 20, 20, 720, 480, series);
xframe::IndKeltnerBandwidth widget(display, screen, window, gc, &styles, 20, 20, 720, 480, series);
widget.draw();
```
@@ -491,7 +491,7 @@ struct with one `std::vector<double>` per output line (field names listed below)
```cpp
xframe::OHLCVSeries series = xframe::make_seeded_series(250);
auto values = xframe::ind_obv(series); // one value per bar, NaN warm-up
IndOBV widget(display, screen, window, gc, &styles, 20, 20, 720, 480, series);
xframe::IndOBV widget(display, screen, window, gc, &styles, 20, 20, 720, 480, series);
widget.draw();
```
@@ -507,7 +507,7 @@ struct with one `std::vector<double>` per output line (field names listed below)
```cpp
xframe::OHLCVSeries series = xframe::make_seeded_series(250);
auto values = xframe::ind_accumulation_distribution_line(series); // one value per bar, NaN warm-up
IndAccumulationDistributionLine widget(display, screen, window, gc, &styles, 20, 20, 720, 480, series);
xframe::IndAccumulationDistributionLine widget(display, screen, window, gc, &styles, 20, 20, 720, 480, series);
widget.draw();
```
@@ -523,7 +523,7 @@ struct with one `std::vector<double>` per output line (field names listed below)
```cpp
xframe::OHLCVSeries series = xframe::make_seeded_series(250);
auto values = xframe::ind_chaikin_money_flow(series); // one value per bar, NaN warm-up
IndChaikinMoneyFlow widget(display, screen, window, gc, &styles, 20, 20, 720, 480, series);
xframe::IndChaikinMoneyFlow widget(display, screen, window, gc, &styles, 20, 20, 720, 480, series);
widget.draw();
```
@@ -539,7 +539,7 @@ struct with one `std::vector<double>` per output line (field names listed below)
```cpp
xframe::OHLCVSeries series = xframe::make_seeded_series(250);
auto values = xframe::ind_money_flow_index(series); // one value per bar, NaN warm-up
IndMoneyFlowIndex widget(display, screen, window, gc, &styles, 20, 20, 720, 480, series);
xframe::IndMoneyFlowIndex widget(display, screen, window, gc, &styles, 20, 20, 720, 480, series);
widget.draw();
```
- Unclear from the header: a bar whose typical price is unchanged contributes its money flow to neither the positive nor the negative sum.
@@ -556,7 +556,7 @@ struct with one `std::vector<double>` per output line (field names listed below)
```cpp
xframe::OHLCVSeries series = xframe::make_seeded_series(250);
auto values = xframe::ind_volume_oscillator(series); // one value per bar, NaN warm-up
IndVolumeOscillator widget(display, screen, window, gc, &styles, 20, 20, 720, 480, series);
xframe::IndVolumeOscillator widget(display, screen, window, gc, &styles, 20, 20, 720, 480, series);
widget.draw();
```
@@ -572,7 +572,7 @@ struct with one `std::vector<double>` per output line (field names listed below)
```cpp
xframe::OHLCVSeries series = xframe::make_seeded_series(250);
auto values = xframe::ind_percentage_volume_oscillator(series); // one value per bar, NaN warm-up
IndPercentageVolumeOscillator widget(display, screen, window, gc, &styles, 20, 20, 720, 480, series);
xframe::IndPercentageVolumeOscillator widget(display, screen, window, gc, &styles, 20, 20, 720, 480, series);
widget.draw();
```
@@ -588,7 +588,7 @@ struct with one `std::vector<double>` per output line (field names listed below)
```cpp
xframe::OHLCVSeries series = xframe::make_seeded_series(250);
auto values = xframe::ind_vwap(series); // one value per bar, NaN warm-up
IndVWAP widget(display, screen, window, gc, &styles, 20, 20, 720, 480, series);
xframe::IndVWAP widget(display, screen, window, gc, &styles, 20, 20, 720, 480, series);
widget.draw();
```
@@ -605,7 +605,7 @@ struct with one `std::vector<double>` per output line (field names listed below)
```cpp
xframe::OHLCVSeries series = xframe::make_seeded_series(250);
auto values = xframe::ind_vwap_bands(series); // one value per bar, NaN warm-up
IndVWAPBands widget(display, screen, window, gc, &styles, 20, 20, 720, 480, series);
xframe::IndVWAPBands widget(display, screen, window, gc, &styles, 20, 20, 720, 480, series);
widget.draw();
```
@@ -621,7 +621,7 @@ struct with one `std::vector<double>` per output line (field names listed below)
```cpp
xframe::OHLCVSeries series = xframe::make_seeded_series(250);
auto values = xframe::ind_anchored_vwap(series); // one value per bar, NaN warm-up
IndAnchoredVWAP widget(display, screen, window, gc, &styles, 20, 20, 720, 480, series);
xframe::IndAnchoredVWAP widget(display, screen, window, gc, &styles, 20, 20, 720, 480, series);
widget.draw();
```
- Unclear from the header: the anchor is bar (period - 1), i.e. bar 50 by default; there is no calendar-date anchor.
@@ -638,7 +638,7 @@ struct with one `std::vector<double>` per output line (field names listed below)
```cpp
xframe::OHLCVSeries series = xframe::make_seeded_series(250);
auto values = xframe::ind_chaikin_oscillator(series); // one value per bar, NaN warm-up
IndChaikinOscillator widget(display, screen, window, gc, &styles, 20, 20, 720, 480, series);
xframe::IndChaikinOscillator widget(display, screen, window, gc, &styles, 20, 20, 720, 480, series);
widget.draw();
```
@@ -654,7 +654,7 @@ struct with one `std::vector<double>` per output line (field names listed below)
```cpp
xframe::OHLCVSeries series = xframe::make_seeded_series(250);
auto values = xframe::ind_ease_of_movement(series); // one value per bar, NaN warm-up
IndEaseOfMovement widget(display, screen, window, gc, &styles, 20, 20, 720, 480, series);
xframe::IndEaseOfMovement widget(display, screen, window, gc, &styles, 20, 20, 720, 480, series);
widget.draw();
```
- Unclear from the header: the box ratio divides volume by 1,000,000 before dividing by the high-low range.
@@ -671,7 +671,7 @@ struct with one `std::vector<double>` per output line (field names listed below)
```cpp
xframe::OHLCVSeries series = xframe::make_seeded_series(250);
auto values = xframe::ind_volume_rate_of_change(series); // one value per bar, NaN warm-up
IndVolumeRateOfChange widget(display, screen, window, gc, &styles, 20, 20, 720, 480, series);
xframe::IndVolumeRateOfChange widget(display, screen, window, gc, &styles, 20, 20, 720, 480, series);
widget.draw();
```
@@ -687,7 +687,7 @@ struct with one `std::vector<double>` per output line (field names listed below)
```cpp
xframe::OHLCVSeries series = xframe::make_seeded_series(250);
auto values = xframe::ind_volume_price_trend(series); // one value per bar, NaN warm-up
IndVolumePriceTrend widget(display, screen, window, gc, &styles, 20, 20, 720, 480, series);
xframe::IndVolumePriceTrend widget(display, screen, window, gc, &styles, 20, 20, 720, 480, series);
widget.draw();
```
@@ -703,7 +703,7 @@ struct with one `std::vector<double>` per output line (field names listed below)
```cpp
xframe::OHLCVSeries series = xframe::make_seeded_series(250);
auto values = xframe::ind_negative_volume_index(series); // one value per bar, NaN warm-up
IndNegativeVolumeIndex widget(display, screen, window, gc, &styles, 20, 20, 720, 480, series);
xframe::IndNegativeVolumeIndex widget(display, screen, window, gc, &styles, 20, 20, 720, 480, series);
widget.draw();
```
@@ -719,7 +719,7 @@ struct with one `std::vector<double>` per output line (field names listed below)
```cpp
xframe::OHLCVSeries series = xframe::make_seeded_series(250);
auto values = xframe::ind_positive_volume_index(series); // one value per bar, NaN warm-up
IndPositiveVolumeIndex widget(display, screen, window, gc, &styles, 20, 20, 720, 480, series);
xframe::IndPositiveVolumeIndex widget(display, screen, window, gc, &styles, 20, 20, 720, 480, series);
widget.draw();
```
@@ -735,7 +735,7 @@ struct with one `std::vector<double>` per output line (field names listed below)
```cpp
xframe::OHLCVSeries series = xframe::make_seeded_series(250);
auto values = xframe::ind_demand_index(series); // one value per bar, NaN warm-up
IndDemandIndex widget(display, screen, window, gc, &styles, 20, 20, 720, 480, series);
xframe::IndDemandIndex widget(display, screen, window, gc, &styles, 20, 20, 720, 480, series);
widget.draw();
```
@@ -752,7 +752,7 @@ struct with one `std::vector<double>` per output line (field names listed below)
```cpp
xframe::OHLCVSeries series = xframe::make_seeded_series(250);
auto values = xframe::ind_klinger_volume_oscillator(series); // one value per bar, NaN warm-up
IndKlingerVolumeOscillator widget(display, screen, window, gc, &styles, 20, 20, 720, 480, series);
xframe::IndKlingerVolumeOscillator widget(display, screen, window, gc, &styles, 20, 20, 720, 480, series);
widget.draw();
```
- Unclear from the header: the signal line is EMA(KVO, 13) computed over a zero-filled KVO and re-masked to NaN where KVO itself is NaN.
@@ -769,7 +769,7 @@ struct with one `std::vector<double>` per output line (field names listed below)
```cpp
xframe::OHLCVSeries series = xframe::make_seeded_series(250);
auto values = xframe::ind_twiggs_money_flow(series); // one value per bar, NaN warm-up
IndTwiggsMoneyFlow widget(display, screen, window, gc, &styles, 20, 20, 720, 480, series);
xframe::IndTwiggsMoneyFlow widget(display, screen, window, gc, &styles, 20, 20, 720, 480, series);
widget.draw();
```
@@ -785,7 +785,7 @@ struct with one `std::vector<double>` per output line (field names listed below)
```cpp
xframe::OHLCVSeries series = xframe::make_seeded_series(250);
auto values = xframe::ind_volume_weighted_moving_average(series); // one value per bar, NaN warm-up
IndVolumeWeightedMovingAverage widget(display, screen, window, gc, &styles, 20, 20, 720, 480, series);
xframe::IndVolumeWeightedMovingAverage widget(display, screen, window, gc, &styles, 20, 20, 720, 480, series);
widget.draw();
```
@@ -801,7 +801,7 @@ struct with one `std::vector<double>` per output line (field names listed below)
```cpp
xframe::OHLCVSeries series = xframe::make_seeded_series(250);
auto values = xframe::ind_volume_zone_oscillator(series); // one value per bar, NaN warm-up
IndVolumeZoneOscillator widget(display, screen, window, gc, &styles, 20, 20, 720, 480, series);
xframe::IndVolumeZoneOscillator widget(display, screen, window, gc, &styles, 20, 20, 720, 480, series);
widget.draw();
```
@@ -817,7 +817,7 @@ struct with one `std::vector<double>` per output line (field names listed below)
```cpp
xframe::OHLCVSeries series = xframe::make_seeded_series(250);
auto values = xframe::ind_relative_volume(series); // one value per bar, NaN warm-up
IndRelativeVolume widget(display, screen, window, gc, &styles, 20, 20, 720, 480, series);
xframe::IndRelativeVolume widget(display, screen, window, gc, &styles, 20, 20, 720, 480, series);
widget.draw();
```
@@ -833,7 +833,7 @@ struct with one `std::vector<double>` per output line (field names listed below)
```cpp
xframe::OHLCVSeries series = xframe::make_seeded_series(250);
auto values = xframe::ind_volume_average(series); // one value per bar, NaN warm-up
IndVolumeAverage widget(display, screen, window, gc, &styles, 20, 20, 720, 480, series);
xframe::IndVolumeAverage widget(display, screen, window, gc, &styles, 20, 20, 720, 480, series);
widget.draw();
```
@@ -849,7 +849,7 @@ struct with one `std::vector<double>` per output line (field names listed below)
```cpp
xframe::OHLCVSeries series = xframe::make_seeded_series(250);
auto values = xframe::ind_money_flow_volume(series); // one value per bar, NaN warm-up
IndMoneyFlowVolume widget(display, screen, window, gc, &styles, 20, 20, 720, 480, series);
xframe::IndMoneyFlowVolume widget(display, screen, window, gc, &styles, 20, 20, 720, 480, series);
widget.draw();
```
@@ -865,7 +865,7 @@ struct with one `std::vector<double>` per output line (field names listed below)
```cpp
xframe::OHLCVSeries series = xframe::make_seeded_series(250);
auto values = xframe::ind_volume_delta(series); // one value per bar, NaN warm-up
IndVolumeDelta widget(display, screen, window, gc, &styles, 20, 20, 720, 480, series);
xframe::IndVolumeDelta widget(display, screen, window, gc, &styles, 20, 20, 720, 480, series);
widget.draw();
```
- Unclear from the header: this is the signed-volume proxy CLV * volume per bar, not exchange-reported buy/sell volume.
@@ -882,7 +882,7 @@ struct with one `std::vector<double>` per output line (field names listed below)
```cpp
xframe::OHLCVSeries series = xframe::make_seeded_series(250);
auto values = xframe::ind_cumulative_volume_delta(series); // one value per bar, NaN warm-up
IndCumulativeVolumeDelta widget(display, screen, window, gc, &styles, 20, 20, 720, 480, series);
xframe::IndCumulativeVolumeDelta widget(display, screen, window, gc, &styles, 20, 20, 720, 480, series);
widget.draw();
```
@@ -898,7 +898,7 @@ struct with one `std::vector<double>` per output line (field names listed below)
```cpp
xframe::OHLCVSeries series = xframe::make_seeded_series(250);
auto values = xframe::ind_up_down_volume_ratio(series); // one value per bar, NaN warm-up
IndUpDownVolumeRatio widget(display, screen, window, gc, &styles, 20, 20, 720, 480, series);
xframe::IndUpDownVolumeRatio widget(display, screen, window, gc, &styles, 20, 20, 720, 480, series);
widget.draw();
```
@@ -914,7 +914,7 @@ struct with one `std::vector<double>` per output line (field names listed below)
```cpp
xframe::OHLCVSeries series = xframe::make_seeded_series(250);
auto values = xframe::ind_intraday_intensity_index(series); // one value per bar, NaN warm-up
IndIntradayIntensityIndex widget(display, screen, window, gc, &styles, 20, 20, 720, 480, series);
xframe::IndIntradayIntensityIndex widget(display, screen, window, gc, &styles, 20, 20, 720, 480, series);
widget.draw();
```
@@ -930,7 +930,7 @@ struct with one `std::vector<double>` per output line (field names listed below)
```cpp
xframe::OHLCVSeries series = xframe::make_seeded_series(250);
auto values = xframe::ind_hurst_exponent(series); // one value per bar, NaN warm-up
IndHurstExponent widget(display, screen, window, gc, &styles, 20, 20, 720, 480, series);
xframe::IndHurstExponent widget(display, screen, window, gc, &styles, 20, 20, 720, 480, series);
widget.draw();
```
- Unclear from the header: single-window rescaled-range estimate H = log(R/S) / log(n/2); not a multi-window regression slope.
@@ -947,7 +947,7 @@ struct with one `std::vector<double>` per output line (field names listed below)
```cpp
xframe::OHLCVSeries series = xframe::make_seeded_series(250);
auto values = xframe::ind_fractal_dimension(series); // one value per bar, NaN warm-up
IndFractalDimension widget(display, screen, window, gc, &styles, 20, 20, 720, 480, series);
xframe::IndFractalDimension widget(display, screen, window, gc, &styles, 20, 20, 720, 480, series);
widget.draw();
```
- Unclear from the header: the fractal dimension here is the standard D = 2 - H relation applied to the rescaled-range Hurst estimate, not an independent box-counting dimension.
@@ -964,7 +964,7 @@ struct with one `std::vector<double>` per output line (field names listed below)
```cpp
xframe::OHLCVSeries series = xframe::make_seeded_series(250);
auto values = xframe::ind_efficiency_ratio(series); // one value per bar, NaN warm-up
IndEfficiencyRatio widget(display, screen, window, gc, &styles, 20, 20, 720, 480, series);
xframe::IndEfficiencyRatio widget(display, screen, window, gc, &styles, 20, 20, 720, 480, series);
widget.draw();
```
- Unclear from the header: the denominator sums absolute close-to-close changes over the window including the current bar's change.
@@ -981,7 +981,7 @@ struct with one `std::vector<double>` per output line (field names listed below)
```cpp
xframe::OHLCVSeries series = xframe::make_seeded_series(250);
auto values = xframe::ind_linear_regression_slope(series); // one value per bar, NaN warm-up
IndLinearRegressionSlope widget(display, screen, window, gc, &styles, 20, 20, 720, 480, series);
xframe::IndLinearRegressionSlope widget(display, screen, window, gc, &styles, 20, 20, 720, 480, series);
widget.draw();
```
@@ -997,7 +997,7 @@ struct with one `std::vector<double>` per output line (field names listed below)
```cpp
xframe::OHLCVSeries series = xframe::make_seeded_series(250);
auto values = xframe::ind_linear_regression_intercept(series); // one value per bar, NaN warm-up
IndLinearRegressionIntercept widget(display, screen, window, gc, &styles, 20, 20, 720, 480, series);
xframe::IndLinearRegressionIntercept widget(display, screen, window, gc, &styles, 20, 20, 720, 480, series);
widget.draw();
```
@@ -1013,7 +1013,7 @@ struct with one `std::vector<double>` per output line (field names listed below)
```cpp
xframe::OHLCVSeries series = xframe::make_seeded_series(250);
auto values = xframe::ind_r_squared(series); // one value per bar, NaN warm-up
IndRSquared widget(display, screen, window, gc, &styles, 20, 20, 720, 480, series);
xframe::IndRSquared widget(display, screen, window, gc, &styles, 20, 20, 720, 480, series);
widget.draw();
```
@@ -1029,7 +1029,7 @@ struct with one `std::vector<double>` per output line (field names listed below)
```cpp
xframe::OHLCVSeries series = xframe::make_seeded_series(250);
auto values = xframe::ind_standard_error(series); // one value per bar, NaN warm-up
IndStandardError widget(display, screen, window, gc, &styles, 20, 20, 720, 480, series);
xframe::IndStandardError widget(display, screen, window, gc, &styles, 20, 20, 720, 480, series);
widget.draw();
```
@@ -1045,7 +1045,7 @@ struct with one `std::vector<double>` per output line (field names listed below)
```cpp
xframe::OHLCVSeries series = xframe::make_seeded_series(250);
auto values = xframe::ind_linear_regression_forecast(series); // one value per bar, NaN warm-up
IndLinearRegressionForecast widget(display, screen, window, gc, &styles, 20, 20, 720, 480, series);
xframe::IndLinearRegressionForecast widget(display, screen, window, gc, &styles, 20, 20, 720, 480, series);
widget.draw();
```
@@ -1061,7 +1061,7 @@ struct with one `std::vector<double>` per output line (field names listed below)
```cpp
xframe::OHLCVSeries series = xframe::make_seeded_series(250);
auto values = xframe::ind_z_score(series); // one value per bar, NaN warm-up
IndZScore widget(display, screen, window, gc, &styles, 20, 20, 720, 480, series);
xframe::IndZScore widget(display, screen, window, gc, &styles, 20, 20, 720, 480, series);
widget.draw();
```
@@ -1077,7 +1077,7 @@ struct with one `std::vector<double>` per output line (field names listed below)
```cpp
xframe::OHLCVSeries series = xframe::make_seeded_series(250);
auto values = xframe::ind_percentile_rank(series); // one value per bar, NaN warm-up
IndPercentileRank widget(display, screen, window, gc, &styles, 20, 20, 720, 480, series);
xframe::IndPercentileRank widget(display, screen, window, gc, &styles, 20, 20, 720, 480, series);
widget.draw();
```
- Unclear from the header: the denominator is period - 1 (19), so a close above every prior bar in the window scores 100.
@@ -1094,7 +1094,7 @@ struct with one `std::vector<double>` per output line (field names listed below)
```cpp
xframe::OHLCVSeries series = xframe::make_seeded_series(250);
auto values = xframe::ind_median_price(series); // one value per bar, NaN warm-up
IndMedianPrice widget(display, screen, window, gc, &styles, 20, 20, 720, 480, series);
xframe::IndMedianPrice widget(display, screen, window, gc, &styles, 20, 20, 720, 480, series);
widget.draw();
```
@@ -1110,7 +1110,7 @@ struct with one `std::vector<double>` per output line (field names listed below)
```cpp
xframe::OHLCVSeries series = xframe::make_seeded_series(250);
auto values = xframe::ind_typical_price(series); // one value per bar, NaN warm-up
IndTypicalPrice widget(display, screen, window, gc, &styles, 20, 20, 720, 480, series);
xframe::IndTypicalPrice widget(display, screen, window, gc, &styles, 20, 20, 720, 480, series);
widget.draw();
```
@@ -1126,7 +1126,7 @@ struct with one `std::vector<double>` per output line (field names listed below)
```cpp
xframe::OHLCVSeries series = xframe::make_seeded_series(250);
auto values = xframe::ind_weighted_close(series); // one value per bar, NaN warm-up
IndWeightedClose widget(display, screen, window, gc, &styles, 20, 20, 720, 480, series);
xframe::IndWeightedClose widget(display, screen, window, gc, &styles, 20, 20, 720, 480, series);
widget.draw();
```
@@ -1142,7 +1142,7 @@ struct with one `std::vector<double>` per output line (field names listed below)
```cpp
xframe::OHLCVSeries series = xframe::make_seeded_series(250);
auto values = xframe::ind_skewness(series); // one value per bar, NaN warm-up
IndSkewness widget(display, screen, window, gc, &styles, 20, 20, 720, 480, series);
xframe::IndSkewness widget(display, screen, window, gc, &styles, 20, 20, 720, 480, series);
widget.draw();
```
- Unclear from the header: population moment (divided by n); the Fisher adjusted (sample) skewness is not used.
@@ -1159,7 +1159,7 @@ struct with one `std::vector<double>` per output line (field names listed below)
```cpp
xframe::OHLCVSeries series = xframe::make_seeded_series(250);
auto values = xframe::ind_kurtosis(series); // one value per bar, NaN warm-up
IndKurtosis widget(display, screen, window, gc, &styles, 20, 20, 720, 480, series);
xframe::IndKurtosis widget(display, screen, window, gc, &styles, 20, 20, 720, 480, series);
widget.draw();
```
- Unclear from the header: excess kurtosis, population moment minus 3.
@@ -1176,7 +1176,7 @@ struct with one `std::vector<double>` per output line (field names listed below)
```cpp
xframe::OHLCVSeries series = xframe::make_seeded_series(250);
auto values = xframe::ind_autocorrelation(series); // one value per bar, NaN warm-up
IndAutocorrelation widget(display, screen, window, gc, &styles, 20, 20, 720, 480, series);
xframe::IndAutocorrelation widget(display, screen, window, gc, &styles, 20, 20, 720, 480, series);
widget.draw();
```
- Unclear from the header: lag-1 autocorrelation of log returns; the numerator sum runs over window pairs only.
@@ -1193,7 +1193,7 @@ struct with one `std::vector<double>` per output line (field names listed below)
```cpp
xframe::OHLCVSeries series = xframe::make_seeded_series(250);
auto values = xframe::ind_shannon_entropy(series); // one value per bar, NaN warm-up
IndShannonEntropy widget(display, screen, window, gc, &styles, 20, 20, 720, 480, series);
xframe::IndShannonEntropy widget(display, screen, window, gc, &styles, 20, 20, 720, 480, series);
widget.draw();
```
- Unclear from the header: entropy is over the three-state (up / down / flat) daily-close sign distribution, not over return magnitudes.
@@ -1210,7 +1210,7 @@ struct with one `std::vector<double>` per output line (field names listed below)
```cpp
xframe::OHLCVSeries series = xframe::make_seeded_series(250);
auto values = xframe::ind_up_down_ratio(series); // one value per bar, NaN warm-up
IndUpDownRatio widget(display, screen, window, gc, &styles, 20, 20, 720, 480, series);
xframe::IndUpDownRatio widget(display, screen, window, gc, &styles, 20, 20, 720, 480, series);
widget.draw();
```
- Unclear from the header: when there are no down closes in the window the value is the up count itself (not infinity).
@@ -1228,7 +1228,7 @@ struct with one `std::vector<double>` per output line (field names listed below)
```cpp
xframe::OHLCVSeries series = xframe::make_seeded_series(250);
auto values = xframe::ind_standard_pivot_points(series); // one value per bar, NaN warm-up
IndStandardPivotPoints widget(display, screen, window, gc, &styles, 20, 20, 720, 480, series);
xframe::IndStandardPivotPoints widget(display, screen, window, gc, &styles, 20, 20, 720, 480, series);
widget.draw();
```
- Unclear from the header: levels for bar i are computed from bar i-1 only (previous-bar pivots); R2/R3/S2/S3 are not computed.
@@ -1246,7 +1246,7 @@ struct with one `std::vector<double>` per output line (field names listed below)
```cpp
xframe::OHLCVSeries series = xframe::make_seeded_series(250);
auto values = xframe::ind_fibonacci_pivot_points(series); // one value per bar, NaN warm-up
IndFibonacciPivotPoints widget(display, screen, window, gc, &styles, 20, 20, 720, 480, series);
xframe::IndFibonacciPivotPoints widget(display, screen, window, gc, &styles, 20, 20, 720, 480, series);
widget.draw();
```
- Unclear from the header: only the 0.382 extension is provided (R1/S1); 0.618 / 1.0 extensions are not computed.
@@ -1264,7 +1264,7 @@ struct with one `std::vector<double>` per output line (field names listed below)
```cpp
xframe::OHLCVSeries series = xframe::make_seeded_series(250);
auto values = xframe::ind_camarilla_pivot_points(series); // one value per bar, NaN warm-up
IndCamarillaPivotPoints widget(display, screen, window, gc, &styles, 20, 20, 720, 480, series);
xframe::IndCamarillaPivotPoints widget(display, screen, window, gc, &styles, 20, 20, 720, 480, series);
widget.draw();
```
- Unclear from the header: only R1/S1 (the 1.1/12 levels) are provided; R2-R4/S2-S4 are not computed.
@@ -1282,7 +1282,7 @@ struct with one `std::vector<double>` per output line (field names listed below)
```cpp
xframe::OHLCVSeries series = xframe::make_seeded_series(250);
auto values = xframe::ind_woodie_pivot_points(series); // one value per bar, NaN warm-up
IndWoodiePivotPoints widget(display, screen, window, gc, &styles, 20, 20, 720, 480, series);
xframe::IndWoodiePivotPoints widget(display, screen, window, gc, &styles, 20, 20, 720, 480, series);
widget.draw();
```
- Unclear from the header: the pivot weights the close twice, (H + L + 2*C) / 4, per the Woodie definition.
@@ -1299,7 +1299,7 @@ struct with one `std::vector<double>` per output line (field names listed below)
```cpp
xframe::OHLCVSeries series = xframe::make_seeded_series(250);
auto values = xframe::ind_dominant_cycle_period(series); // one value per bar, NaN warm-up
IndDominantCyclePeriod widget(display, screen, window, gc, &styles, 20, 20, 720, 480, series);
xframe::IndDominantCyclePeriod widget(display, screen, window, gc, &styles, 20, 20, 720, 480, series);
widget.draw();
```
- Unclear from the header: this is a zero-crossing estimate of the dominant cycle, not a Hilbert-transform or FFT period measurement.
@@ -1316,7 +1316,7 @@ struct with one `std::vector<double>` per output line (field names listed below)
```cpp
xframe::OHLCVSeries series = xframe::make_seeded_series(250);
auto values = xframe::ind_correlation(series); // one value per bar, NaN warm-up
IndCorrelation widget(display, screen, window, gc, &styles, 20, 20, 720, 480, series);
xframe::IndCorrelation widget(display, screen, window, gc, &styles, 20, 20, 720, 480, series);
widget.draw();
```
- Unclear from the header: Pearson correlation of close against bar index (a trend-linearity measure), not against another symbol.
@@ -1333,7 +1333,7 @@ struct with one `std::vector<double>` per output line (field names listed below)
```cpp
xframe::OHLCVSeries series = xframe::make_seeded_series(250);
auto values = xframe::ind_covariance(series); // one value per bar, NaN warm-up
IndCovariance widget(display, screen, window, gc, &styles, 20, 20, 720, 480, series);
xframe::IndCovariance widget(display, screen, window, gc, &styles, 20, 20, 720, 480, series);
widget.draw();
```
- Unclear from the header: population covariance (divided by n, not n-1) between close and volume.
+69
View File
@@ -178,3 +178,72 @@ Unclear from the header: the fill is computed per segment and split at
baseline crossings, so a segment that crosses the baseline is filled with
two triangles; the exact split point is linear interpolation between the
two closes. No smoothing is applied.
## Per-widget examples
One working example per widget (same shape as the shared example
above, with the widget's own class name).
### StockCandlestickChart
- **Example:**
```cpp
StockCandlestickChart w(display, screen, window, gc, &styles, 20, 20, 720, 480, xframe::make_seeded_series(250));
w.draw();
```
### StockOHLCBarChart
- **Example:**
```cpp
StockOHLCBarChart w(display, screen, window, gc, &styles, 20, 20, 720, 480, xframe::make_seeded_series(250));
w.draw();
```
### StockLineChart
- **Example:**
```cpp
StockLineChart w(display, screen, window, gc, &styles, 20, 20, 720, 480, xframe::make_seeded_series(250));
w.draw();
```
### StockAreaChart
- **Example:**
```cpp
StockAreaChart w(display, screen, window, gc, &styles, 20, 20, 720, 480, xframe::make_seeded_series(250));
w.draw();
```
### StockHeikinAshi
- **Example:**
```cpp
StockHeikinAshi w(display, screen, window, gc, &styles, 20, 20, 720, 480, xframe::make_seeded_series(250));
w.draw();
```
### StockRenko
- **Example:**
```cpp
StockRenko w(display, screen, window, gc, &styles, 20, 20, 720, 480, xframe::make_seeded_series(250));
w.draw();
```
### StockHollowCandles
- **Example:**
```cpp
StockHollowCandles w(display, screen, window, gc, &styles, 20, 20, 720, 480, xframe::make_seeded_series(250));
w.draw();
```
### StockBaselineChart
- **Example:**
```cpp
StockBaselineChart w(display, screen, window, gc, &styles, 20, 20, 720, 480, xframe::make_seeded_series(250));
w.draw();
```
+228 -114
View File
File diff suppressed because it is too large. Load diff
+482
View File
@@ -0,0 +1,482 @@
name,doc,kind,result,note
GtkAboutDialog,docs/windows-dialogs.md,full,PASS,
GtkAccelLabel,docs/display.md,full,PASS,
GtkActionBar,docs/menus-toolbars.md,full,PASS,
GtkAppChooserButton,docs/choosers.md,full,PASS,
GtkAppChooserDialog,docs/windows-dialogs.md,full,PASS,
GtkAppChooserWidget,docs/choosers.md,full,PASS,
GtkApplicationWindow,docs/windows-dialogs.md,full,PASS,
GtkAspectFrame,docs/containers-layout.md,full,PASS,
GtkAssistant,docs/windows-dialogs.md,full,PASS,
GtkBox,docs/containers-layout.md,full,PASS,
GtkButton,docs/buttons.md,full,PASS,
GtkButtonBox,docs/containers-layout.md,full,PASS,
GtkCalendar,docs/display.md,full,PASS,
GtkCellView,docs/display.md,full,PASS,
GtkCenterBox,docs/containers-layout.md,full,PASS,
GtkCheckButton,docs/buttons.md,full,PASS,
GtkCheckMenuItem,docs/menus-toolbars.md,full,PASS,
GtkColorButton,docs/buttons.md,full,PASS,
GtkColorChooserDialog,docs/windows-dialogs.md,full,PASS,
GtkColorChooserWidget,docs/choosers.md,full,PASS,
GtkColorDialogButton,docs/buttons.md,full,PASS,
GtkColumnView,docs/views-lists.md,full,PASS,
GtkComboBox,docs/text-entry.md,full,PASS,
GtkComboBoxText,docs/text-entry.md,full,PASS,
GtkDialog,docs/windows-dialogs.md,full,PASS,
GtkDrawingArea,docs/display.md,full,PASS,
GtkDropDown,docs/text-entry.md,full,PASS,
GtkEditableLabel,docs/text-entry.md,full,PASS,
GtkEntry,docs/text-entry.md,full,PASS,
GtkEntryCompletion,docs/text-entry.md,full,PASS,
GtkEventBox,docs/misc-x.md,full,PASS,
GtkExpander,docs/containers-layout.md,full,PASS,
GtkFileChooserButton,docs/buttons.md,full,PASS,
GtkFileChooserDialog,docs/windows-dialogs.md,full,PASS,
GtkFileChooserWidget,docs/choosers.md,full,PASS,
GtkFixed,docs/containers-layout.md,full,PASS,
GtkFlowBox,docs/containers-layout.md,full,PASS,
GtkFontButton,docs/buttons.md,full,PASS,
GtkFontChooserDialog,docs/windows-dialogs.md,full,PASS,
GtkFontChooserWidget,docs/choosers.md,full,PASS,
GtkFrame,docs/containers-layout.md,full,PASS,
GtkGLArea,docs/display.md,full,PASS,
GtkGrid,docs/containers-layout.md,full,PASS,
GtkGridView,docs/views-lists.md,full,PASS,
GtkHeaderBar,docs/menus-toolbars.md,full,PASS,
GtkIconView,docs/views-lists.md,full,PASS,
GtkImage,docs/display.md,full,PASS,
GtkInfoBar,docs/display.md,full,PASS,
GtkInscription,docs/display.md,full,PASS,
GtkInvisible,docs/display.md,full,PASS,
GtkLabel,docs/display.md,full,PASS,
GtkLayout,docs/containers-layout.md,full,PASS,
GtkLevelBar,docs/display.md,full,PASS,
GtkLinkButton,docs/buttons.md,full,PASS,
GtkListBox,docs/views-lists.md,full,PASS,
GtkListView,docs/views-lists.md,full,PASS,
GtkLockButton,docs/buttons.md,full,PASS,
GtkMediaControls,docs/display.md,full,PASS,
GtkMenu,docs/menus-toolbars.md,full,PASS,
GtkMenuBar,docs/menus-toolbars.md,full,PASS,
GtkMenuButton,docs/menus-toolbars.md,full,PASS,
GtkMenuItem,docs/menus-toolbars.md,full,PASS,
GtkMessageDialog,docs/windows-dialogs.md,full,PASS,
GtkModelButton,docs/buttons.md,full,PASS,
GtkNotebook,docs/containers-layout.md,full,PASS,
GtkOverlay,docs/containers-layout.md,full,PASS,
GtkPaned,docs/containers-layout.md,full,PASS,
GtkPasswordEntry,docs/text-entry.md,full,PASS,
GtkPicture,docs/display.md,full,PASS,
GtkPlacesSidebar,docs/choosers.md,full,PASS,
GtkPopover,docs/menus-toolbars.md,full,PASS,
GtkPrintUnixDialog,docs/windows-dialogs.md,full,PASS,
GtkProgressBar,docs/display.md,full,PASS,
GtkRadioButton,docs/buttons.md,full,PASS,
GtkRadioMenuItem,docs/menus-toolbars.md,full,PASS,
GtkRevealer,docs/containers-layout.md,full,PASS,
GtkScale,docs/text-entry.md,full,PASS,
GtkScaleButton,docs/text-entry.md,full,PASS,
GtkScrollbar,docs/containers-layout.md,full,PASS,
GtkScrolledWindow,docs/containers-layout.md,full,PASS,
GtkSearchBar,docs/text-entry.md,full,PASS,
GtkSearchEntry,docs/text-entry.md,full,PASS,
GtkSeparator,docs/containers-layout.md,full,PASS,
GtkSeparatorMenuItem,docs/menus-toolbars.md,full,PASS,
GtkShortcutsWindow,docs/windows-dialogs.md,full,PASS,
GtkSpinButton,docs/text-entry.md,full,PASS,
GtkSpinner,docs/display.md,full,PASS,
GtkStack,docs/containers-layout.md,full,PASS,
GtkStackSidebar,docs/containers-layout.md,full,PASS,
GtkStackSwitcher,docs/containers-layout.md,full,PASS,
GtkStatusbar,docs/display.md,full,PASS,
GtkSwitch,docs/buttons.md,full,PASS,
GtkTextView,docs/text-entry.md,full,PASS,
GtkToggleButton,docs/buttons.md,full,PASS,
GtkToggleToolButton,docs/buttons.md,full,PASS,
GtkToolButton,docs/buttons.md,full,PASS,
GtkToolbar,docs/menus-toolbars.md,full,PASS,
GtkTreeView,docs/views-lists.md,full,PASS,
GtkVideo,docs/display.md,full,PASS,
GtkViewport,docs/containers-layout.md,full,PASS,
GtkVolumeButton,docs/buttons.md,full,PASS,
GtkWindow,docs/windows-dialogs.md,full,PASS,
IndADX,docs/stock-market-indicators-trend.md,fragment,PASS,
IndADXR,docs/stock-market-indicators-trend.md,fragment,PASS,
IndALMA,docs/stock-market-indicators-trend.md,fragment,PASS,
IndAPO,docs/stock-market-indicators-momentum.md,fragment,PASS,
IndATR,docs/stock-market-indicators-volatility.md,fragment,PASS,
IndAcceleratorOscillator,docs/stock-market-indicators-momentum.md,fragment,PASS,
IndAccumulationDistributionLine,docs/stock-market-indicators-volatility.md,fragment,PASS,
IndAccumulativeSwingIndex,docs/stock-market-indicators-trend.md,fragment,PASS,
IndAdaptiveCyberCycle,docs/stock-market-indicators-momentum.md,fragment,PASS,
IndAdaptiveRSI,docs/stock-market-indicators-momentum.md,fragment,PASS,
IndAlligatorJaw,docs/stock-market-indicators-trend.md,fragment,PASS,
IndAlligatorLips,docs/stock-market-indicators-trend.md,fragment,PASS,
IndAlligatorTeeth,docs/stock-market-indicators-trend.md,fragment,PASS,
IndAnchoredVWAP,docs/stock-market-indicators-volatility.md,fragment,PASS,
IndAroonDown,docs/stock-market-indicators-trend.md,fragment,PASS,
IndAroonOscillator,docs/stock-market-indicators-trend.md,fragment,PASS,
IndAroonUp,docs/stock-market-indicators-trend.md,fragment,PASS,
IndAutocorrelation,docs/stock-market-indicators-volatility.md,fragment,PASS,
IndAwesomeOscillator,docs/stock-market-indicators-momentum.md,fragment,PASS,
IndBalanceOfPower,docs/stock-market-indicators-momentum.md,fragment,PASS,
IndBearPower,docs/stock-market-indicators-momentum.md,fragment,PASS,
IndBollingerBands,docs/stock-market-indicators-volatility.md,fragment,PASS,
IndBollingerBandwidth,docs/stock-market-indicators-volatility.md,fragment,PASS,
IndBollingerPercentB,docs/stock-market-indicators-volatility.md,fragment,PASS,
IndBullPower,docs/stock-market-indicators-momentum.md,fragment,PASS,
IndCCI,docs/stock-market-indicators-momentum.md,fragment,PASS,
IndCamarillaPivotPoints,docs/stock-market-indicators-volatility.md,fragment,PASS,
IndCenterOfGravity,docs/stock-market-indicators-momentum.md,fragment,PASS,
IndChaikinMoneyFlow,docs/stock-market-indicators-volatility.md,fragment,PASS,
IndChaikinOscillator,docs/stock-market-indicators-volatility.md,fragment,PASS,
IndChaikinVolatility,docs/stock-market-indicators-volatility.md,fragment,PASS,
IndChandeForecastOscillator,docs/stock-market-indicators-momentum.md,fragment,PASS,
IndChandeKrollStop,docs/stock-market-indicators-trend.md,fragment,PASS,
IndChandeMomentumOscillator,docs/stock-market-indicators-momentum.md,fragment,PASS,
IndChandelierExit,docs/stock-market-indicators-volatility.md,fragment,PASS,
IndChandelierExitLong,docs/stock-market-indicators-trend.md,fragment,PASS,
IndChandelierExitShort,docs/stock-market-indicators-trend.md,fragment,PASS,
IndChikouSpan,docs/stock-market-indicators-trend.md,fragment,PASS,
IndChoppinessIndex,docs/stock-market-indicators-momentum.md,fragment,PASS,
IndCloseVolatility,docs/stock-market-indicators-volatility.md,fragment,PASS,
IndConnorsRSI,docs/stock-market-indicators-momentum.md,fragment,PASS,
IndCoppockCurve,docs/stock-market-indicators-momentum.md,fragment,PASS,
IndCorrelation,docs/stock-market-indicators-volatility.md,fragment,PASS,
IndCorrelationCoefficient,docs/stock-market-indicators-momentum.md,fragment,PASS,
IndCovariance,docs/stock-market-indicators-volatility.md,fragment,PASS,
IndCumulativeVolumeDelta,docs/stock-market-indicators-volatility.md,fragment,PASS,
IndCutlerRSI,docs/stock-market-indicators-momentum.md,fragment,PASS,
IndCyberCycle,docs/stock-market-indicators-momentum.md,fragment,PASS,
IndDEMA,docs/stock-market-indicators-trend.md,fragment,PASS,
IndDPO,docs/stock-market-indicators-trend.md,fragment,PASS,
IndDSS,docs/stock-market-indicators-momentum.md,fragment,PASS,
IndDX,docs/stock-market-indicators-trend.md,fragment,PASS,
IndDeMarker,docs/stock-market-indicators-momentum.md,fragment,PASS,
IndDecycler,docs/stock-market-indicators-momentum.md,fragment,PASS,
IndDemandIndex,docs/stock-market-indicators-volatility.md,fragment,PASS,
IndDetrendedPriceOscillator,docs/stock-market-indicators-momentum.md,fragment,PASS,
IndDisparityIndex,docs/stock-market-indicators-momentum.md,fragment,PASS,
IndDominantCycle,docs/stock-market-indicators-momentum.md,fragment,PASS,
IndDominantCyclePeriod,docs/stock-market-indicators-volatility.md,fragment,PASS,
IndDonchianChannels,docs/stock-market-indicators-volatility.md,fragment,PASS,
IndDonchianLower,docs/stock-market-indicators-trend.md,fragment,PASS,
IndDonchianMiddle,docs/stock-market-indicators-trend.md,fragment,PASS,
IndDonchianUpper,docs/stock-market-indicators-trend.md,fragment,PASS,
IndDoubleStochastic,docs/stock-market-indicators-momentum.md,fragment,PASS,
IndDynamicMomentumIndex,docs/stock-market-indicators-momentum.md,fragment,PASS,
IndEMA,docs/stock-market-indicators-trend.md,fragment,PASS,
IndEaseOfMovement,docs/stock-market-indicators-volatility.md,fragment,PASS,
IndEfficiencyRatio,docs/stock-market-indicators-volatility.md,fragment,PASS,
IndEhlersDecycler,docs/stock-market-indicators-trend.md,fragment,PASS,
IndEhlersSmoothedRSI,docs/stock-market-indicators-momentum.md,fragment,PASS,
IndEhlersSuperSmoother,docs/stock-market-indicators-trend.md,fragment,PASS,
IndEhlersTrendline,docs/stock-market-indicators-trend.md,fragment,PASS,
IndElderForceIndex,docs/stock-market-indicators-momentum.md,fragment,PASS,
IndElderImpulse,docs/stock-market-indicators-momentum.md,fragment,PASS,
IndElderRayBear,docs/stock-market-indicators-trend.md,fragment,PASS,
IndElderRayBull,docs/stock-market-indicators-trend.md,fragment,PASS,
IndElderSafeZone,docs/stock-market-indicators-trend.md,fragment,PASS,
IndErgodicOscillator,docs/stock-market-indicators-momentum.md,fragment,PASS,
IndEvenBetterSineWave,docs/stock-market-indicators-momentum.md,fragment,PASS,
IndFAMA,docs/stock-market-indicators-trend.md,fragment,PASS,
IndFRAMA,docs/stock-market-indicators-trend.md,fragment,PASS,
IndFibonacciPivotPoints,docs/stock-market-indicators-volatility.md,fragment,PASS,
IndFisherTransform,docs/stock-market-indicators-momentum.md,fragment,PASS,
IndFractalDimension,docs/stock-market-indicators-volatility.md,fragment,PASS,
IndFractalDimensionIndex,docs/stock-market-indicators-trend.md,fragment,PASS,
IndFractalDown,docs/stock-market-indicators-trend.md,fragment,PASS,
IndFractalUp,docs/stock-market-indicators-trend.md,fragment,PASS,
IndGannHiLoActivator,docs/stock-market-indicators-momentum.md,fragment,PASS,
IndGannSwingOscillator,docs/stock-market-indicators-momentum.md,fragment,PASS,
IndGarmanKlassVolatility,docs/stock-market-indicators-volatility.md,fragment,PASS,
IndGatorOscillator,docs/stock-market-indicators-trend.md,fragment,PASS,
IndGaussianMA,docs/stock-market-indicators-trend.md,fragment,PASS,
IndGopalakrishnanRangeIndex,docs/stock-market-indicators-volatility.md,fragment,PASS,
IndGuppyMMA,docs/stock-market-indicators-trend.md,fragment,PASS,
IndHMA,docs/stock-market-indicators-trend.md,fragment,PASS,
IndHalfTrend,docs/stock-market-indicators-trend.md,fragment,PASS,
IndHighLowRange,docs/stock-market-indicators-volatility.md,fragment,PASS,
IndHistoricalVolatility,docs/stock-market-indicators-volatility.md,fragment,PASS,
IndHurstExponent,docs/stock-market-indicators-volatility.md,fragment,PASS,
IndInertia,docs/stock-market-indicators-momentum.md,fragment,PASS,
IndIntradayIntensityIndex,docs/stock-market-indicators-volatility.md,fragment,PASS,
IndIntradayMomentumIndex,docs/stock-market-indicators-momentum.md,fragment,PASS,
IndInverseFisherTransform,docs/stock-market-indicators-momentum.md,fragment,PASS,
IndJurikMovingAverage,docs/stock-market-indicators-momentum.md,fragment,PASS,
IndJurikVelocity,docs/stock-market-indicators-momentum.md,fragment,PASS,
IndKAMA,docs/stock-market-indicators-trend.md,fragment,PASS,
IndKDJ,docs/stock-market-indicators-momentum.md,fragment,PASS,
IndKST,docs/stock-market-indicators-momentum.md,fragment,PASS,
IndKairi,docs/stock-market-indicators-momentum.md,fragment,PASS,
IndKeltnerBandwidth,docs/stock-market-indicators-volatility.md,fragment,PASS,
IndKeltnerChannels,docs/stock-market-indicators-volatility.md,fragment,PASS,
IndKijunSen,docs/stock-market-indicators-trend.md,fragment,PASS,
IndKlingerVolumeOscillator,docs/stock-market-indicators-volatility.md,fragment,PASS,
IndKurtosis,docs/stock-market-indicators-volatility.md,fragment,PASS,
IndLSMA,docs/stock-market-indicators-trend.md,fragment,PASS,
IndLaguerreFilter,docs/stock-market-indicators-momentum.md,fragment,PASS,
IndLaguerreRSI,docs/stock-market-indicators-momentum.md,fragment,PASS,
IndLinReg,docs/stock-market-indicators-trend.md,fragment,PASS,
IndLinRegAngle,docs/stock-market-indicators-trend.md,fragment,PASS,
IndLinRegIntercept,docs/stock-market-indicators-trend.md,fragment,PASS,
IndLinRegSlope,docs/stock-market-indicators-trend.md,fragment,PASS,
IndLinearRegressionForecast,docs/stock-market-indicators-volatility.md,fragment,PASS,
IndLinearRegressionIntercept,docs/stock-market-indicators-volatility.md,fragment,PASS,
IndLinearRegressionOscillator,docs/stock-market-indicators-momentum.md,fragment,PASS,
IndLinearRegressionSlope,docs/stock-market-indicators-volatility.md,fragment,PASS,
IndMACD,docs/stock-market-indicators-momentum.md,fragment,PASS,
IndMACDHistogram,docs/stock-market-indicators-momentum.md,fragment,PASS,
IndMACDofRSI,docs/stock-market-indicators-momentum.md,fragment,PASS,
IndMAEnvelopeLower,docs/stock-market-indicators-trend.md,fragment,PASS,
IndMAEnvelopeUpper,docs/stock-market-indicators-trend.md,fragment,PASS,
IndMAMA,docs/stock-market-indicators-trend.md,fragment,PASS,
IndMassIndex,docs/stock-market-indicators-volatility.md,fragment,PASS,
IndMcGinley,docs/stock-market-indicators-trend.md,fragment,PASS,
IndMedianMA,docs/stock-market-indicators-trend.md,fragment,PASS,
IndMedianPrice,docs/stock-market-indicators-volatility.md,fragment,PASS,
IndMinusDI,docs/stock-market-indicators-trend.md,fragment,PASS,
IndMomentum,docs/stock-market-indicators-momentum.md,fragment,PASS,
IndMoneyFlowIndex,docs/stock-market-indicators-volatility.md,fragment,PASS,
IndMoneyFlowVolume,docs/stock-market-indicators-volatility.md,fragment,PASS,
IndMovingAverageRibbon,docs/stock-market-indicators-trend.md,fragment,PASS,
IndNATR,docs/stock-market-indicators-volatility.md,fragment,PASS,
IndNegativeVolumeIndex,docs/stock-market-indicators-volatility.md,fragment,PASS,
IndNormalizedROC,docs/stock-market-indicators-momentum.md,fragment,PASS,
IndOBV,docs/stock-market-indicators-volatility.md,fragment,PASS,
IndPPO,docs/stock-market-indicators-momentum.md,fragment,PASS,
IndPSAR,docs/stock-market-indicators-trend.md,fragment,PASS,
IndParkinsonVolatility,docs/stock-market-indicators-volatility.md,fragment,PASS,
IndPercentRank,docs/stock-market-indicators-momentum.md,fragment,PASS,
IndPercentageVolumeOscillator,docs/stock-market-indicators-volatility.md,fragment,PASS,
IndPercentileRank,docs/stock-market-indicators-volatility.md,fragment,PASS,
IndPivotPoint,docs/stock-market-indicators-trend.md,fragment,PASS,
IndPlusDI,docs/stock-market-indicators-trend.md,fragment,PASS,
IndPositiveVolumeIndex,docs/stock-market-indicators-volatility.md,fragment,PASS,
IndPrettyGoodOscillator,docs/stock-market-indicators-momentum.md,fragment,PASS,
IndPriceMomentumOscillator,docs/stock-market-indicators-momentum.md,fragment,PASS,
IndQStick,docs/stock-market-indicators-trend.md,fragment,PASS,
IndRMA,docs/stock-market-indicators-trend.md,fragment,PASS,
IndROC,docs/stock-market-indicators-momentum.md,fragment,PASS,
IndROCR,docs/stock-market-indicators-momentum.md,fragment,PASS,
IndRSI,docs/stock-market-indicators-momentum.md,fragment,PASS,
IndRSX,docs/stock-market-indicators-momentum.md,fragment,PASS,
IndRSquared,docs/stock-market-indicators-volatility.md,fragment,PASS,
IndRWIHigh,docs/stock-market-indicators-trend.md,fragment,PASS,
IndRWILow,docs/stock-market-indicators-trend.md,fragment,PASS,
IndRainbowOscillator,docs/stock-market-indicators-momentum.md,fragment,PASS,
IndRangeExpansionIndex,docs/stock-market-indicators-momentum.md,fragment,PASS,
IndReflex,docs/stock-market-indicators-momentum.md,fragment,PASS,
IndRegressionChannel,docs/stock-market-indicators-trend.md,fragment,PASS,
IndRelativeMomentumIndex,docs/stock-market-indicators-momentum.md,fragment,PASS,
IndRelativeVigorIndex,docs/stock-market-indicators-momentum.md,fragment,PASS,
IndRelativeVolatilityIndex,docs/stock-market-indicators-volatility.md,fragment,PASS,
IndRelativeVolume,docs/stock-market-indicators-volatility.md,fragment,PASS,
IndRogersSatchellVolatility,docs/stock-market-indicators-volatility.md,fragment,PASS,
IndRoofingFilter,docs/stock-market-indicators-momentum.md,fragment,PASS,
IndSMA,docs/stock-market-indicators-trend.md,fragment,PASS,
IndSMI,docs/stock-market-indicators-momentum.md,fragment,PASS,
IndSMMA,docs/stock-market-indicators-trend.md,fragment,PASS,
IndSSLChannel,docs/stock-market-indicators-trend.md,fragment,PASS,
IndSchaffTrendCycle,docs/stock-market-indicators-momentum.md,fragment,PASS,
IndSenkouSpanA,docs/stock-market-indicators-trend.md,fragment,PASS,
IndSenkouSpanB,docs/stock-market-indicators-trend.md,fragment,PASS,
IndShannonEntropy,docs/stock-market-indicators-volatility.md,fragment,PASS,
IndSineWMA,docs/stock-market-indicators-trend.md,fragment,PASS,
IndSineWave,docs/stock-market-indicators-momentum.md,fragment,PASS,
IndSkewness,docs/stock-market-indicators-volatility.md,fragment,PASS,
IndSmoothedROC,docs/stock-market-indicators-momentum.md,fragment,PASS,
IndSpearmanRank,docs/stock-market-indicators-momentum.md,fragment,PASS,
IndSpecialK,docs/stock-market-indicators-momentum.md,fragment,PASS,
IndStandardError,docs/stock-market-indicators-volatility.md,fragment,PASS,
IndStandardPivotPoints,docs/stock-market-indicators-volatility.md,fragment,PASS,
IndStdDev,docs/stock-market-indicators-volatility.md,fragment,PASS,
IndStochRSI,docs/stock-market-indicators-momentum.md,fragment,PASS,
IndStochasticFast,docs/stock-market-indicators-momentum.md,fragment,PASS,
IndStochasticFull,docs/stock-market-indicators-momentum.md,fragment,PASS,
IndStochasticPop,docs/stock-market-indicators-momentum.md,fragment,PASS,
IndStochasticSlow,docs/stock-market-indicators-momentum.md,fragment,PASS,
IndSuperSmoother,docs/stock-market-indicators-momentum.md,fragment,PASS,
IndSupertrend,docs/stock-market-indicators-trend.md,fragment,PASS,
IndSwenlinTradingOscillator,docs/stock-market-indicators-momentum.md,fragment,PASS,
IndSwingIndex,docs/stock-market-indicators-trend.md,fragment,PASS,
IndT3,docs/stock-market-indicators-trend.md,fragment,PASS,
IndTDSequential,docs/stock-market-indicators-momentum.md,fragment,PASS,
IndTEMA,docs/stock-market-indicators-trend.md,fragment,PASS,
IndTRIMA,docs/stock-market-indicators-trend.md,fragment,PASS,
IndTRIX,docs/stock-market-indicators-trend.md,fragment,PASS,
IndTSF,docs/stock-market-indicators-trend.md,fragment,PASS,
IndTSI,docs/stock-market-indicators-momentum.md,fragment,PASS,
IndTSMA,docs/stock-market-indicators-trend.md,fragment,PASS,
IndTTMSqueeze,docs/stock-market-indicators-volatility.md,fragment,PASS,
IndTenkanSen,docs/stock-market-indicators-trend.md,fragment,PASS,
IndTrendFlex,docs/stock-market-indicators-momentum.md,fragment,PASS,
IndTrendIntensityIndex,docs/stock-market-indicators-trend.md,fragment,PASS,
IndTrueRange,docs/stock-market-indicators-volatility.md,fragment,PASS,
IndTwiggsMoneyFlow,docs/stock-market-indicators-volatility.md,fragment,PASS,
IndTypicalPrice,docs/stock-market-indicators-volatility.md,fragment,PASS,
IndUTBot,docs/stock-market-indicators-trend.md,fragment,PASS,
IndUlcerIndex,docs/stock-market-indicators-volatility.md,fragment,PASS,
IndUltimateOscillator,docs/stock-market-indicators-momentum.md,fragment,PASS,
IndUpDownRatio,docs/stock-market-indicators-volatility.md,fragment,PASS,
IndUpDownVolumeRatio,docs/stock-market-indicators-volatility.md,fragment,PASS,
IndVHF,docs/stock-market-indicators-trend.md,fragment,PASS,
IndVIDYA,docs/stock-market-indicators-trend.md,fragment,PASS,
IndVWAP,docs/stock-market-indicators-volatility.md,fragment,PASS,
IndVWAPBands,docs/stock-market-indicators-volatility.md,fragment,PASS,
IndVWEMA,docs/stock-market-indicators-trend.md,fragment,PASS,
IndVWMA,docs/stock-market-indicators-trend.md,fragment,PASS,
IndVariance,docs/stock-market-indicators-volatility.md,fragment,PASS,
IndVolatilityRatio,docs/stock-market-indicators-volatility.md,fragment,PASS,
IndVolatilityStop,docs/stock-market-indicators-volatility.md,fragment,PASS,
IndVolumeAverage,docs/stock-market-indicators-volatility.md,fragment,PASS,
IndVolumeDelta,docs/stock-market-indicators-volatility.md,fragment,PASS,
IndVolumeOscillator,docs/stock-market-indicators-volatility.md,fragment,PASS,
IndVolumePriceTrend,docs/stock-market-indicators-volatility.md,fragment,PASS,
IndVolumeRateOfChange,docs/stock-market-indicators-volatility.md,fragment,PASS,
IndVolumeWeightedMovingAverage,docs/stock-market-indicators-volatility.md,fragment,PASS,
IndVolumeZoneOscillator,docs/stock-market-indicators-volatility.md,fragment,PASS,
IndVortex,docs/stock-market-indicators-trend.md,fragment,PASS,
IndWMA,docs/stock-market-indicators-trend.md,fragment,PASS,
IndWaveTrend,docs/stock-market-indicators-momentum.md,fragment,PASS,
IndWeightedClose,docs/stock-market-indicators-volatility.md,fragment,PASS,
IndWilderVolatilitySystem,docs/stock-market-indicators-volatility.md,fragment,PASS,
IndWildersMA,docs/stock-market-indicators-trend.md,fragment,PASS,
IndWilliamsAccumulationDistribution,docs/stock-market-indicators-momentum.md,fragment,PASS,
IndWilliamsR,docs/stock-market-indicators-momentum.md,fragment,PASS,
IndWoodiePivotPoints,docs/stock-market-indicators-volatility.md,fragment,PASS,
IndYangZhangVolatility,docs/stock-market-indicators-volatility.md,fragment,PASS,
IndZLEMA,docs/stock-market-indicators-trend.md,fragment,PASS,
IndZScore,docs/stock-market-indicators-volatility.md,fragment,PASS,
IndZeroLagMACD,docs/stock-market-indicators-momentum.md,fragment,PASS,
IndZigZag,docs/stock-market-indicators-trend.md,fragment,PASS,
StockAccumulationDistribution,docs/stock-market-compare-volume.md,fragment,PASS,
StockAreaChart,docs/stock-market-ohlc.md,fragment,PASS,
StockArrow,docs/stock-market-drawing.md,fragment,PASS,
StockBaselineChart,docs/stock-market-ohlc.md,fragment,PASS,
StockBrush,docs/stock-market-drawing.md,fragment,PASS,
StockCandlestickChart,docs/stock-market-ohlc.md,fragment,PASS,
StockCorrelationView,docs/stock-market-compare-volume.md,fragment,PASS,
StockEllipse,docs/stock-market-drawing.md,fragment,PASS,
StockFibExtension,docs/stock-market-drawing.md,fragment,PASS,
StockFibRetracement,docs/stock-market-drawing.md,fragment,PASS,
StockHeikinAshi,docs/stock-market-ohlc.md,fragment,PASS,
StockHollowCandles,docs/stock-market-ohlc.md,fragment,PASS,
StockHorizontalLine,docs/stock-market-drawing.md,fragment,PASS,
StockIndexedComparison,docs/stock-market-compare-volume.md,fragment,PASS,
StockLineChart,docs/stock-market-ohlc.md,fragment,PASS,
StockMeasureTool,docs/stock-market-drawing.md,fragment,PASS,
StockMoneyFlowChart,docs/stock-market-compare-volume.md,fragment,PASS,
StockMultiSymbolChart,docs/stock-market-compare-volume.md,fragment,PASS,
StockOBVChart,docs/stock-market-compare-volume.md,fragment,PASS,
StockOHLCBarChart,docs/stock-market-ohlc.md,fragment,PASS,
StockOverlayChart,docs/stock-market-compare-volume.md,fragment,PASS,
StockParallelChannel,docs/stock-market-drawing.md,fragment,PASS,
StockPitchfork,docs/stock-market-drawing.md,fragment,PASS,
StockPriceLabel,docs/stock-market-drawing.md,fragment,PASS,
StockRatioChart,docs/stock-market-compare-volume.md,fragment,PASS,
StockRectangle,docs/stock-market-drawing.md,fragment,PASS,
StockRelativePerformance,docs/stock-market-compare-volume.md,fragment,PASS,
StockRenko,docs/stock-market-ohlc.md,fragment,PASS,
StockSectorComparison,docs/stock-market-compare-volume.md,fragment,PASS,
StockSpreadChart,docs/stock-market-compare-volume.md,fragment,PASS,
StockTextAnnotation,docs/stock-market-drawing.md,fragment,PASS,
StockTrendline,docs/stock-market-drawing.md,fragment,PASS,
StockVWAP,docs/stock-market-compare-volume.md,fragment,PASS,
StockVerticalLine,docs/stock-market-drawing.md,fragment,PASS,
StockVolumeBars,docs/stock-market-compare-volume.md,fragment,PASS,
StockVolumeCandles,docs/stock-market-compare-volume.md,fragment,PASS,
StockVolumeProfile,docs/stock-market-compare-volume.md,fragment,PASS,
TActionList,docs/menus-toolbars.md,full,PASS,
TApplicationProperties,docs/misc-x.md,full,PASS,
TArrow,docs/display.md,full,PASS,
TBevel,docs/display.md,full,PASS,
TBitBtn,docs/buttons.md,full,PASS,
TButton,docs/buttons.md,full,PASS,
TButtonPanel,docs/buttons.md,full,PASS,
TCalcEdit,docs/text-entry.md,full,PASS,
TCalculatorDialog,docs/windows-dialogs.md,full,PASS,
TCalendar,docs/display.md,full,PASS,
TCalendarDialog,docs/windows-dialogs.md,full,PASS,
TCheckBox,docs/buttons.md,full,PASS,
TCheckComboBox,docs/buttons.md,full,PASS,
TCheckGroup,docs/views-lists.md,full,PASS,
TCheckListBox,docs/views-lists.md,full,PASS,
TColorBox,docs/choosers.md,full,PASS,
TColorButton,docs/choosers.md,full,PASS,
TColorDialog,docs/windows-dialogs.md,full,PASS,
TColorListBox,docs/choosers.md,full,PASS,
TComboBox,docs/text-entry.md,full,PASS,
TComboBoxEx,docs/text-entry.md,full,PASS,
TControlBar,docs/containers-layout.md,full,PASS,
TCoolBar,docs/containers-layout.md,full,PASS,
TDateEdit,docs/text-entry.md,full,PASS,
TDateTimePicker,docs/display.md,full,PASS,
TDirectoryEdit,docs/text-entry.md,full,PASS,
TDrawGrid,docs/views-lists.md,full,PASS,
TEdit,docs/text-entry.md,full,PASS,
TEditButton,docs/text-entry.md,full,PASS,
TFileListBox,docs/choosers.md,full,PASS,
TFileNameEdit,docs/text-entry.md,full,PASS,
TFilterComboBox,docs/text-entry.md,full,PASS,
TFindDialog,docs/windows-dialogs.md,full,PASS,
TFloatSpinEdit,docs/text-entry.md,full,PASS,
TFlowPanel,docs/containers-layout.md,full,PASS,
TFontDialog,docs/windows-dialogs.md,full,PASS,
TForm,docs/windows-dialogs.md,full,PASS,
TFrame,docs/containers-layout.md,full,PASS,
TGroupBox,docs/containers-layout.md,full,PASS,
THeaderControl,docs/views-lists.md,full,PASS,
TImage,docs/display.md,full,PASS,
TImageList,docs/display.md,full,PASS,
TLabel,docs/display.md,full,PASS,
TLabeledEdit,docs/text-entry.md,full,PASS,
TListBox,docs/views-lists.md,full,PASS,
TListView,docs/views-lists.md,full,PASS,
TMainMenu,docs/menus-toolbars.md,full,PASS,
TMaskEdit,docs/text-entry.md,full,PASS,
TMemo,docs/text-entry.md,full,PASS,
TNotebook,docs/containers-layout.md,full,PASS,
TOpenDialog,docs/windows-dialogs.md,full,PASS,
TOpenPictureDialog,docs/windows-dialogs.md,full,PASS,
TPageControl,docs/containers-layout.md,full,PASS,
TPageSetupDialog,docs/windows-dialogs.md,full,PASS,
TPaintBox,docs/display.md,full,PASS,
TPairSplitter,docs/containers-layout.md,full,PASS,
TPanel,docs/containers-layout.md,full,PASS,
TPopupMenu,docs/menus-toolbars.md,full,PASS,
TPopupNotifier,docs/menus-toolbars.md,full,PASS,
TPrintDialog,docs/windows-dialogs.md,full,PASS,
TPrinterSetupDialog,docs/windows-dialogs.md,full,PASS,
TProgressBar,docs/display.md,full,PASS,
TRadioButton,docs/buttons.md,full,PASS,
TRadioGroup,docs/views-lists.md,full,PASS,
TReplaceDialog,docs/windows-dialogs.md,full,PASS,
TSaveDialog,docs/windows-dialogs.md,full,PASS,
TSavePictureDialog,docs/windows-dialogs.md,full,PASS,
TScrollBar,docs/containers-layout.md,full,PASS,
TScrollBox,docs/containers-layout.md,full,PASS,
TSelectDirectoryDialog,docs/windows-dialogs.md,full,PASS,
TShape,docs/display.md,full,PASS,
TShellListView,docs/views-lists.md,full,PASS,
TShellTreeView,docs/views-lists.md,full,PASS,
TSpeedButton,docs/buttons.md,full,PASS,
TSpinEdit,docs/text-entry.md,full,PASS,
TSplitter,docs/containers-layout.md,full,PASS,
TStaticText,docs/display.md,full,PASS,
TStatusBar,docs/display.md,full,PASS,
TStringGrid,docs/views-lists.md,full,PASS,
TTabControl,docs/containers-layout.md,full,PASS,
TTaskDialog,docs/windows-dialogs.md,full,PASS,
TTimeEdit,docs/display.md,full,PASS,
TTimer,docs/display.md,full,PASS,
TToggleBox,docs/buttons.md,full,PASS,
TToolBar,docs/menus-toolbars.md,full,PASS,
TTrackBar,docs/display.md,full,PASS,
TTrayIcon,docs/display.md,full,PASS,
TTreeView,docs/views-lists.md,full,PASS,
TUpDown,docs/buttons.md,full,PASS,
TValueListEditor,docs/text-entry.md,full,PASS,
XGraph,docs/misc-x.md,full,PASS,
XSpreadsheet,docs/misc-x.md,full,PASS,
1 name doc kind result note
2 GtkAboutDialog docs/windows-dialogs.md full PASS
3 GtkAccelLabel docs/display.md full PASS
4 GtkActionBar docs/menus-toolbars.md full PASS
5 GtkAppChooserButton docs/choosers.md full PASS
6 GtkAppChooserDialog docs/windows-dialogs.md full PASS
7 GtkAppChooserWidget docs/choosers.md full PASS
8 GtkApplicationWindow docs/windows-dialogs.md full PASS
9 GtkAspectFrame docs/containers-layout.md full PASS
10 GtkAssistant docs/windows-dialogs.md full PASS
11 GtkBox docs/containers-layout.md full PASS
12 GtkButton docs/buttons.md full PASS
13 GtkButtonBox docs/containers-layout.md full PASS
14 GtkCalendar docs/display.md full PASS
15 GtkCellView docs/display.md full PASS
16 GtkCenterBox docs/containers-layout.md full PASS
17 GtkCheckButton docs/buttons.md full PASS
18 GtkCheckMenuItem docs/menus-toolbars.md full PASS
19 GtkColorButton docs/buttons.md full PASS
20 GtkColorChooserDialog docs/windows-dialogs.md full PASS
21 GtkColorChooserWidget docs/choosers.md full PASS
22 GtkColorDialogButton docs/buttons.md full PASS
23 GtkColumnView docs/views-lists.md full PASS
24 GtkComboBox docs/text-entry.md full PASS
25 GtkComboBoxText docs/text-entry.md full PASS
26 GtkDialog docs/windows-dialogs.md full PASS
27 GtkDrawingArea docs/display.md full PASS
28 GtkDropDown docs/text-entry.md full PASS
29 GtkEditableLabel docs/text-entry.md full PASS
30 GtkEntry docs/text-entry.md full PASS
31 GtkEntryCompletion docs/text-entry.md full PASS
32 GtkEventBox docs/misc-x.md full PASS
33 GtkExpander docs/containers-layout.md full PASS
34 GtkFileChooserButton docs/buttons.md full PASS
35 GtkFileChooserDialog docs/windows-dialogs.md full PASS
36 GtkFileChooserWidget docs/choosers.md full PASS
37 GtkFixed docs/containers-layout.md full PASS
38 GtkFlowBox docs/containers-layout.md full PASS
39 GtkFontButton docs/buttons.md full PASS
40 GtkFontChooserDialog docs/windows-dialogs.md full PASS
41 GtkFontChooserWidget docs/choosers.md full PASS
42 GtkFrame docs/containers-layout.md full PASS
43 GtkGLArea docs/display.md full PASS
44 GtkGrid docs/containers-layout.md full PASS
45 GtkGridView docs/views-lists.md full PASS
46 GtkHeaderBar docs/menus-toolbars.md full PASS
47 GtkIconView docs/views-lists.md full PASS
48 GtkImage docs/display.md full PASS
49 GtkInfoBar docs/display.md full PASS
50 GtkInscription docs/display.md full PASS
51 GtkInvisible docs/display.md full PASS
52 GtkLabel docs/display.md full PASS
53 GtkLayout docs/containers-layout.md full PASS
54 GtkLevelBar docs/display.md full PASS
55 GtkLinkButton docs/buttons.md full PASS
56 GtkListBox docs/views-lists.md full PASS
57 GtkListView docs/views-lists.md full PASS
58 GtkLockButton docs/buttons.md full PASS
59 GtkMediaControls docs/display.md full PASS
60 GtkMenu docs/menus-toolbars.md full PASS
61 GtkMenuBar docs/menus-toolbars.md full PASS
62 GtkMenuButton docs/menus-toolbars.md full PASS
63 GtkMenuItem docs/menus-toolbars.md full PASS
64 GtkMessageDialog docs/windows-dialogs.md full PASS
65 GtkModelButton docs/buttons.md full PASS
66 GtkNotebook docs/containers-layout.md full PASS
67 GtkOverlay docs/containers-layout.md full PASS
68 GtkPaned docs/containers-layout.md full PASS
69 GtkPasswordEntry docs/text-entry.md full PASS
70 GtkPicture docs/display.md full PASS
71 GtkPlacesSidebar docs/choosers.md full PASS
72 GtkPopover docs/menus-toolbars.md full PASS
73 GtkPrintUnixDialog docs/windows-dialogs.md full PASS
74 GtkProgressBar docs/display.md full PASS
75 GtkRadioButton docs/buttons.md full PASS
76 GtkRadioMenuItem docs/menus-toolbars.md full PASS
77 GtkRevealer docs/containers-layout.md full PASS
78 GtkScale docs/text-entry.md full PASS
79 GtkScaleButton docs/text-entry.md full PASS
80 GtkScrollbar docs/containers-layout.md full PASS
81 GtkScrolledWindow docs/containers-layout.md full PASS
82 GtkSearchBar docs/text-entry.md full PASS
83 GtkSearchEntry docs/text-entry.md full PASS
84 GtkSeparator docs/containers-layout.md full PASS
85 GtkSeparatorMenuItem docs/menus-toolbars.md full PASS
86 GtkShortcutsWindow docs/windows-dialogs.md full PASS
87 GtkSpinButton docs/text-entry.md full PASS
88 GtkSpinner docs/display.md full PASS
89 GtkStack docs/containers-layout.md full PASS
90 GtkStackSidebar docs/containers-layout.md full PASS
91 GtkStackSwitcher docs/containers-layout.md full PASS
92 GtkStatusbar docs/display.md full PASS
93 GtkSwitch docs/buttons.md full PASS
94 GtkTextView docs/text-entry.md full PASS
95 GtkToggleButton docs/buttons.md full PASS
96 GtkToggleToolButton docs/buttons.md full PASS
97 GtkToolButton docs/buttons.md full PASS
98 GtkToolbar docs/menus-toolbars.md full PASS
99 GtkTreeView docs/views-lists.md full PASS
100 GtkVideo docs/display.md full PASS
101 GtkViewport docs/containers-layout.md full PASS
102 GtkVolumeButton docs/buttons.md full PASS
103 GtkWindow docs/windows-dialogs.md full PASS
104 IndADX docs/stock-market-indicators-trend.md fragment PASS
105 IndADXR docs/stock-market-indicators-trend.md fragment PASS
106 IndALMA docs/stock-market-indicators-trend.md fragment PASS
107 IndAPO docs/stock-market-indicators-momentum.md fragment PASS
108 IndATR docs/stock-market-indicators-volatility.md fragment PASS
109 IndAcceleratorOscillator docs/stock-market-indicators-momentum.md fragment PASS
110 IndAccumulationDistributionLine docs/stock-market-indicators-volatility.md fragment PASS
111 IndAccumulativeSwingIndex docs/stock-market-indicators-trend.md fragment PASS
112 IndAdaptiveCyberCycle docs/stock-market-indicators-momentum.md fragment PASS
113 IndAdaptiveRSI docs/stock-market-indicators-momentum.md fragment PASS
114 IndAlligatorJaw docs/stock-market-indicators-trend.md fragment PASS
115 IndAlligatorLips docs/stock-market-indicators-trend.md fragment PASS
116 IndAlligatorTeeth docs/stock-market-indicators-trend.md fragment PASS
117 IndAnchoredVWAP docs/stock-market-indicators-volatility.md fragment PASS
118 IndAroonDown docs/stock-market-indicators-trend.md fragment PASS
119 IndAroonOscillator docs/stock-market-indicators-trend.md fragment PASS
120 IndAroonUp docs/stock-market-indicators-trend.md fragment PASS
121 IndAutocorrelation docs/stock-market-indicators-volatility.md fragment PASS
122 IndAwesomeOscillator docs/stock-market-indicators-momentum.md fragment PASS
123 IndBalanceOfPower docs/stock-market-indicators-momentum.md fragment PASS
124 IndBearPower docs/stock-market-indicators-momentum.md fragment PASS
125 IndBollingerBands docs/stock-market-indicators-volatility.md fragment PASS
126 IndBollingerBandwidth docs/stock-market-indicators-volatility.md fragment PASS
127 IndBollingerPercentB docs/stock-market-indicators-volatility.md fragment PASS
128 IndBullPower docs/stock-market-indicators-momentum.md fragment PASS
129 IndCCI docs/stock-market-indicators-momentum.md fragment PASS
130 IndCamarillaPivotPoints docs/stock-market-indicators-volatility.md fragment PASS
131 IndCenterOfGravity docs/stock-market-indicators-momentum.md fragment PASS
132 IndChaikinMoneyFlow docs/stock-market-indicators-volatility.md fragment PASS
133 IndChaikinOscillator docs/stock-market-indicators-volatility.md fragment PASS
134 IndChaikinVolatility docs/stock-market-indicators-volatility.md fragment PASS
135 IndChandeForecastOscillator docs/stock-market-indicators-momentum.md fragment PASS
136 IndChandeKrollStop docs/stock-market-indicators-trend.md fragment PASS
137 IndChandeMomentumOscillator docs/stock-market-indicators-momentum.md fragment PASS
138 IndChandelierExit docs/stock-market-indicators-volatility.md fragment PASS
139 IndChandelierExitLong docs/stock-market-indicators-trend.md fragment PASS
140 IndChandelierExitShort docs/stock-market-indicators-trend.md fragment PASS
141 IndChikouSpan docs/stock-market-indicators-trend.md fragment PASS
142 IndChoppinessIndex docs/stock-market-indicators-momentum.md fragment PASS
143 IndCloseVolatility docs/stock-market-indicators-volatility.md fragment PASS
144 IndConnorsRSI docs/stock-market-indicators-momentum.md fragment PASS
145 IndCoppockCurve docs/stock-market-indicators-momentum.md fragment PASS
146 IndCorrelation docs/stock-market-indicators-volatility.md fragment PASS
147 IndCorrelationCoefficient docs/stock-market-indicators-momentum.md fragment PASS
148 IndCovariance docs/stock-market-indicators-volatility.md fragment PASS
149 IndCumulativeVolumeDelta docs/stock-market-indicators-volatility.md fragment PASS
150 IndCutlerRSI docs/stock-market-indicators-momentum.md fragment PASS
151 IndCyberCycle docs/stock-market-indicators-momentum.md fragment PASS
152 IndDEMA docs/stock-market-indicators-trend.md fragment PASS
153 IndDPO docs/stock-market-indicators-trend.md fragment PASS
154 IndDSS docs/stock-market-indicators-momentum.md fragment PASS
155 IndDX docs/stock-market-indicators-trend.md fragment PASS
156 IndDeMarker docs/stock-market-indicators-momentum.md fragment PASS
157 IndDecycler docs/stock-market-indicators-momentum.md fragment PASS
158 IndDemandIndex docs/stock-market-indicators-volatility.md fragment PASS
159 IndDetrendedPriceOscillator docs/stock-market-indicators-momentum.md fragment PASS
160 IndDisparityIndex docs/stock-market-indicators-momentum.md fragment PASS
161 IndDominantCycle docs/stock-market-indicators-momentum.md fragment PASS
162 IndDominantCyclePeriod docs/stock-market-indicators-volatility.md fragment PASS
163 IndDonchianChannels docs/stock-market-indicators-volatility.md fragment PASS
164 IndDonchianLower docs/stock-market-indicators-trend.md fragment PASS
165 IndDonchianMiddle docs/stock-market-indicators-trend.md fragment PASS
166 IndDonchianUpper docs/stock-market-indicators-trend.md fragment PASS
167 IndDoubleStochastic docs/stock-market-indicators-momentum.md fragment PASS
168 IndDynamicMomentumIndex docs/stock-market-indicators-momentum.md fragment PASS
169 IndEMA docs/stock-market-indicators-trend.md fragment PASS
170 IndEaseOfMovement docs/stock-market-indicators-volatility.md fragment PASS
171 IndEfficiencyRatio docs/stock-market-indicators-volatility.md fragment PASS
172 IndEhlersDecycler docs/stock-market-indicators-trend.md fragment PASS
173 IndEhlersSmoothedRSI docs/stock-market-indicators-momentum.md fragment PASS
174 IndEhlersSuperSmoother docs/stock-market-indicators-trend.md fragment PASS
175 IndEhlersTrendline docs/stock-market-indicators-trend.md fragment PASS
176 IndElderForceIndex docs/stock-market-indicators-momentum.md fragment PASS
177 IndElderImpulse docs/stock-market-indicators-momentum.md fragment PASS
178 IndElderRayBear docs/stock-market-indicators-trend.md fragment PASS
179 IndElderRayBull docs/stock-market-indicators-trend.md fragment PASS
180 IndElderSafeZone docs/stock-market-indicators-trend.md fragment PASS
181 IndErgodicOscillator docs/stock-market-indicators-momentum.md fragment PASS
182 IndEvenBetterSineWave docs/stock-market-indicators-momentum.md fragment PASS
183 IndFAMA docs/stock-market-indicators-trend.md fragment PASS
184 IndFRAMA docs/stock-market-indicators-trend.md fragment PASS
185 IndFibonacciPivotPoints docs/stock-market-indicators-volatility.md fragment PASS
186 IndFisherTransform docs/stock-market-indicators-momentum.md fragment PASS
187 IndFractalDimension docs/stock-market-indicators-volatility.md fragment PASS
188 IndFractalDimensionIndex docs/stock-market-indicators-trend.md fragment PASS
189 IndFractalDown docs/stock-market-indicators-trend.md fragment PASS
190 IndFractalUp docs/stock-market-indicators-trend.md fragment PASS
191 IndGannHiLoActivator docs/stock-market-indicators-momentum.md fragment PASS
192 IndGannSwingOscillator docs/stock-market-indicators-momentum.md fragment PASS
193 IndGarmanKlassVolatility docs/stock-market-indicators-volatility.md fragment PASS
194 IndGatorOscillator docs/stock-market-indicators-trend.md fragment PASS
195 IndGaussianMA docs/stock-market-indicators-trend.md fragment PASS
196 IndGopalakrishnanRangeIndex docs/stock-market-indicators-volatility.md fragment PASS
197 IndGuppyMMA docs/stock-market-indicators-trend.md fragment PASS
198 IndHMA docs/stock-market-indicators-trend.md fragment PASS
199 IndHalfTrend docs/stock-market-indicators-trend.md fragment PASS
200 IndHighLowRange docs/stock-market-indicators-volatility.md fragment PASS
201 IndHistoricalVolatility docs/stock-market-indicators-volatility.md fragment PASS
202 IndHurstExponent docs/stock-market-indicators-volatility.md fragment PASS
203 IndInertia docs/stock-market-indicators-momentum.md fragment PASS
204 IndIntradayIntensityIndex docs/stock-market-indicators-volatility.md fragment PASS
205 IndIntradayMomentumIndex docs/stock-market-indicators-momentum.md fragment PASS
206 IndInverseFisherTransform docs/stock-market-indicators-momentum.md fragment PASS
207 IndJurikMovingAverage docs/stock-market-indicators-momentum.md fragment PASS
208 IndJurikVelocity docs/stock-market-indicators-momentum.md fragment PASS
209 IndKAMA docs/stock-market-indicators-trend.md fragment PASS
210 IndKDJ docs/stock-market-indicators-momentum.md fragment PASS
211 IndKST docs/stock-market-indicators-momentum.md fragment PASS
212 IndKairi docs/stock-market-indicators-momentum.md fragment PASS
213 IndKeltnerBandwidth docs/stock-market-indicators-volatility.md fragment PASS
214 IndKeltnerChannels docs/stock-market-indicators-volatility.md fragment PASS
215 IndKijunSen docs/stock-market-indicators-trend.md fragment PASS
216 IndKlingerVolumeOscillator docs/stock-market-indicators-volatility.md fragment PASS
217 IndKurtosis docs/stock-market-indicators-volatility.md fragment PASS
218 IndLSMA docs/stock-market-indicators-trend.md fragment PASS
219 IndLaguerreFilter docs/stock-market-indicators-momentum.md fragment PASS
220 IndLaguerreRSI docs/stock-market-indicators-momentum.md fragment PASS
221 IndLinReg docs/stock-market-indicators-trend.md fragment PASS
222 IndLinRegAngle docs/stock-market-indicators-trend.md fragment PASS
223 IndLinRegIntercept docs/stock-market-indicators-trend.md fragment PASS
224 IndLinRegSlope docs/stock-market-indicators-trend.md fragment PASS
225 IndLinearRegressionForecast docs/stock-market-indicators-volatility.md fragment PASS
226 IndLinearRegressionIntercept docs/stock-market-indicators-volatility.md fragment PASS
227 IndLinearRegressionOscillator docs/stock-market-indicators-momentum.md fragment PASS
228 IndLinearRegressionSlope docs/stock-market-indicators-volatility.md fragment PASS
229 IndMACD docs/stock-market-indicators-momentum.md fragment PASS
230 IndMACDHistogram docs/stock-market-indicators-momentum.md fragment PASS
231 IndMACDofRSI docs/stock-market-indicators-momentum.md fragment PASS
232 IndMAEnvelopeLower docs/stock-market-indicators-trend.md fragment PASS
233 IndMAEnvelopeUpper docs/stock-market-indicators-trend.md fragment PASS
234 IndMAMA docs/stock-market-indicators-trend.md fragment PASS
235 IndMassIndex docs/stock-market-indicators-volatility.md fragment PASS
236 IndMcGinley docs/stock-market-indicators-trend.md fragment PASS
237 IndMedianMA docs/stock-market-indicators-trend.md fragment PASS
238 IndMedianPrice docs/stock-market-indicators-volatility.md fragment PASS
239 IndMinusDI docs/stock-market-indicators-trend.md fragment PASS
240 IndMomentum docs/stock-market-indicators-momentum.md fragment PASS
241 IndMoneyFlowIndex docs/stock-market-indicators-volatility.md fragment PASS
242 IndMoneyFlowVolume docs/stock-market-indicators-volatility.md fragment PASS
243 IndMovingAverageRibbon docs/stock-market-indicators-trend.md fragment PASS
244 IndNATR docs/stock-market-indicators-volatility.md fragment PASS
245 IndNegativeVolumeIndex docs/stock-market-indicators-volatility.md fragment PASS
246 IndNormalizedROC docs/stock-market-indicators-momentum.md fragment PASS
247 IndOBV docs/stock-market-indicators-volatility.md fragment PASS
248 IndPPO docs/stock-market-indicators-momentum.md fragment PASS
249 IndPSAR docs/stock-market-indicators-trend.md fragment PASS
250 IndParkinsonVolatility docs/stock-market-indicators-volatility.md fragment PASS
251 IndPercentRank docs/stock-market-indicators-momentum.md fragment PASS
252 IndPercentageVolumeOscillator docs/stock-market-indicators-volatility.md fragment PASS
253 IndPercentileRank docs/stock-market-indicators-volatility.md fragment PASS
254 IndPivotPoint docs/stock-market-indicators-trend.md fragment PASS
255 IndPlusDI docs/stock-market-indicators-trend.md fragment PASS
256 IndPositiveVolumeIndex docs/stock-market-indicators-volatility.md fragment PASS
257 IndPrettyGoodOscillator docs/stock-market-indicators-momentum.md fragment PASS
258 IndPriceMomentumOscillator docs/stock-market-indicators-momentum.md fragment PASS
259 IndQStick docs/stock-market-indicators-trend.md fragment PASS
260 IndRMA docs/stock-market-indicators-trend.md fragment PASS
261 IndROC docs/stock-market-indicators-momentum.md fragment PASS
262 IndROCR docs/stock-market-indicators-momentum.md fragment PASS
263 IndRSI docs/stock-market-indicators-momentum.md fragment PASS
264 IndRSX docs/stock-market-indicators-momentum.md fragment PASS
265 IndRSquared docs/stock-market-indicators-volatility.md fragment PASS
266 IndRWIHigh docs/stock-market-indicators-trend.md fragment PASS
267 IndRWILow docs/stock-market-indicators-trend.md fragment PASS
268 IndRainbowOscillator docs/stock-market-indicators-momentum.md fragment PASS
269 IndRangeExpansionIndex docs/stock-market-indicators-momentum.md fragment PASS
270 IndReflex docs/stock-market-indicators-momentum.md fragment PASS
271 IndRegressionChannel docs/stock-market-indicators-trend.md fragment PASS
272 IndRelativeMomentumIndex docs/stock-market-indicators-momentum.md fragment PASS
273 IndRelativeVigorIndex docs/stock-market-indicators-momentum.md fragment PASS
274 IndRelativeVolatilityIndex docs/stock-market-indicators-volatility.md fragment PASS
275 IndRelativeVolume docs/stock-market-indicators-volatility.md fragment PASS
276 IndRogersSatchellVolatility docs/stock-market-indicators-volatility.md fragment PASS
277 IndRoofingFilter docs/stock-market-indicators-momentum.md fragment PASS
278 IndSMA docs/stock-market-indicators-trend.md fragment PASS
279 IndSMI docs/stock-market-indicators-momentum.md fragment PASS
280 IndSMMA docs/stock-market-indicators-trend.md fragment PASS
281 IndSSLChannel docs/stock-market-indicators-trend.md fragment PASS
282 IndSchaffTrendCycle docs/stock-market-indicators-momentum.md fragment PASS
283 IndSenkouSpanA docs/stock-market-indicators-trend.md fragment PASS
284 IndSenkouSpanB docs/stock-market-indicators-trend.md fragment PASS
285 IndShannonEntropy docs/stock-market-indicators-volatility.md fragment PASS
286 IndSineWMA docs/stock-market-indicators-trend.md fragment PASS
287 IndSineWave docs/stock-market-indicators-momentum.md fragment PASS
288 IndSkewness docs/stock-market-indicators-volatility.md fragment PASS
289 IndSmoothedROC docs/stock-market-indicators-momentum.md fragment PASS
290 IndSpearmanRank docs/stock-market-indicators-momentum.md fragment PASS
291 IndSpecialK docs/stock-market-indicators-momentum.md fragment PASS
292 IndStandardError docs/stock-market-indicators-volatility.md fragment PASS
293 IndStandardPivotPoints docs/stock-market-indicators-volatility.md fragment PASS
294 IndStdDev docs/stock-market-indicators-volatility.md fragment PASS
295 IndStochRSI docs/stock-market-indicators-momentum.md fragment PASS
296 IndStochasticFast docs/stock-market-indicators-momentum.md fragment PASS
297 IndStochasticFull docs/stock-market-indicators-momentum.md fragment PASS
298 IndStochasticPop docs/stock-market-indicators-momentum.md fragment PASS
299 IndStochasticSlow docs/stock-market-indicators-momentum.md fragment PASS
300 IndSuperSmoother docs/stock-market-indicators-momentum.md fragment PASS
301 IndSupertrend docs/stock-market-indicators-trend.md fragment PASS
302 IndSwenlinTradingOscillator docs/stock-market-indicators-momentum.md fragment PASS
303 IndSwingIndex docs/stock-market-indicators-trend.md fragment PASS
304 IndT3 docs/stock-market-indicators-trend.md fragment PASS
305 IndTDSequential docs/stock-market-indicators-momentum.md fragment PASS
306 IndTEMA docs/stock-market-indicators-trend.md fragment PASS
307 IndTRIMA docs/stock-market-indicators-trend.md fragment PASS
308 IndTRIX docs/stock-market-indicators-trend.md fragment PASS
309 IndTSF docs/stock-market-indicators-trend.md fragment PASS
310 IndTSI docs/stock-market-indicators-momentum.md fragment PASS
311 IndTSMA docs/stock-market-indicators-trend.md fragment PASS
312 IndTTMSqueeze docs/stock-market-indicators-volatility.md fragment PASS
313 IndTenkanSen docs/stock-market-indicators-trend.md fragment PASS
314 IndTrendFlex docs/stock-market-indicators-momentum.md fragment PASS
315 IndTrendIntensityIndex docs/stock-market-indicators-trend.md fragment PASS
316 IndTrueRange docs/stock-market-indicators-volatility.md fragment PASS
317 IndTwiggsMoneyFlow docs/stock-market-indicators-volatility.md fragment PASS
318 IndTypicalPrice docs/stock-market-indicators-volatility.md fragment PASS
319 IndUTBot docs/stock-market-indicators-trend.md fragment PASS
320 IndUlcerIndex docs/stock-market-indicators-volatility.md fragment PASS
321 IndUltimateOscillator docs/stock-market-indicators-momentum.md fragment PASS
322 IndUpDownRatio docs/stock-market-indicators-volatility.md fragment PASS
323 IndUpDownVolumeRatio docs/stock-market-indicators-volatility.md fragment PASS
324 IndVHF docs/stock-market-indicators-trend.md fragment PASS
325 IndVIDYA docs/stock-market-indicators-trend.md fragment PASS
326 IndVWAP docs/stock-market-indicators-volatility.md fragment PASS
327 IndVWAPBands docs/stock-market-indicators-volatility.md fragment PASS
328 IndVWEMA docs/stock-market-indicators-trend.md fragment PASS
329 IndVWMA docs/stock-market-indicators-trend.md fragment PASS
330 IndVariance docs/stock-market-indicators-volatility.md fragment PASS
331 IndVolatilityRatio docs/stock-market-indicators-volatility.md fragment PASS
332 IndVolatilityStop docs/stock-market-indicators-volatility.md fragment PASS
333 IndVolumeAverage docs/stock-market-indicators-volatility.md fragment PASS
334 IndVolumeDelta docs/stock-market-indicators-volatility.md fragment PASS
335 IndVolumeOscillator docs/stock-market-indicators-volatility.md fragment PASS
336 IndVolumePriceTrend docs/stock-market-indicators-volatility.md fragment PASS
337 IndVolumeRateOfChange docs/stock-market-indicators-volatility.md fragment PASS
338 IndVolumeWeightedMovingAverage docs/stock-market-indicators-volatility.md fragment PASS
339 IndVolumeZoneOscillator docs/stock-market-indicators-volatility.md fragment PASS
340 IndVortex docs/stock-market-indicators-trend.md fragment PASS
341 IndWMA docs/stock-market-indicators-trend.md fragment PASS
342 IndWaveTrend docs/stock-market-indicators-momentum.md fragment PASS
343 IndWeightedClose docs/stock-market-indicators-volatility.md fragment PASS
344 IndWilderVolatilitySystem docs/stock-market-indicators-volatility.md fragment PASS
345 IndWildersMA docs/stock-market-indicators-trend.md fragment PASS
346 IndWilliamsAccumulationDistribution docs/stock-market-indicators-momentum.md fragment PASS
347 IndWilliamsR docs/stock-market-indicators-momentum.md fragment PASS
348 IndWoodiePivotPoints docs/stock-market-indicators-volatility.md fragment PASS
349 IndYangZhangVolatility docs/stock-market-indicators-volatility.md fragment PASS
350 IndZLEMA docs/stock-market-indicators-trend.md fragment PASS
351 IndZScore docs/stock-market-indicators-volatility.md fragment PASS
352 IndZeroLagMACD docs/stock-market-indicators-momentum.md fragment PASS
353 IndZigZag docs/stock-market-indicators-trend.md fragment PASS
354 StockAccumulationDistribution docs/stock-market-compare-volume.md fragment PASS
355 StockAreaChart docs/stock-market-ohlc.md fragment PASS
356 StockArrow docs/stock-market-drawing.md fragment PASS
357 StockBaselineChart docs/stock-market-ohlc.md fragment PASS
358 StockBrush docs/stock-market-drawing.md fragment PASS
359 StockCandlestickChart docs/stock-market-ohlc.md fragment PASS
360 StockCorrelationView docs/stock-market-compare-volume.md fragment PASS
361 StockEllipse docs/stock-market-drawing.md fragment PASS
362 StockFibExtension docs/stock-market-drawing.md fragment PASS
363 StockFibRetracement docs/stock-market-drawing.md fragment PASS
364 StockHeikinAshi docs/stock-market-ohlc.md fragment PASS
365 StockHollowCandles docs/stock-market-ohlc.md fragment PASS
366 StockHorizontalLine docs/stock-market-drawing.md fragment PASS
367 StockIndexedComparison docs/stock-market-compare-volume.md fragment PASS
368 StockLineChart docs/stock-market-ohlc.md fragment PASS
369 StockMeasureTool docs/stock-market-drawing.md fragment PASS
370 StockMoneyFlowChart docs/stock-market-compare-volume.md fragment PASS
371 StockMultiSymbolChart docs/stock-market-compare-volume.md fragment PASS
372 StockOBVChart docs/stock-market-compare-volume.md fragment PASS
373 StockOHLCBarChart docs/stock-market-ohlc.md fragment PASS
374 StockOverlayChart docs/stock-market-compare-volume.md fragment PASS
375 StockParallelChannel docs/stock-market-drawing.md fragment PASS
376 StockPitchfork docs/stock-market-drawing.md fragment PASS
377 StockPriceLabel docs/stock-market-drawing.md fragment PASS
378 StockRatioChart docs/stock-market-compare-volume.md fragment PASS
379 StockRectangle docs/stock-market-drawing.md fragment PASS
380 StockRelativePerformance docs/stock-market-compare-volume.md fragment PASS
381 StockRenko docs/stock-market-ohlc.md fragment PASS
382 StockSectorComparison docs/stock-market-compare-volume.md fragment PASS
383 StockSpreadChart docs/stock-market-compare-volume.md fragment PASS
384 StockTextAnnotation docs/stock-market-drawing.md fragment PASS
385 StockTrendline docs/stock-market-drawing.md fragment PASS
386 StockVWAP docs/stock-market-compare-volume.md fragment PASS
387 StockVerticalLine docs/stock-market-drawing.md fragment PASS
388 StockVolumeBars docs/stock-market-compare-volume.md fragment PASS
389 StockVolumeCandles docs/stock-market-compare-volume.md fragment PASS
390 StockVolumeProfile docs/stock-market-compare-volume.md fragment PASS
391 TActionList docs/menus-toolbars.md full PASS
392 TApplicationProperties docs/misc-x.md full PASS
393 TArrow docs/display.md full PASS
394 TBevel docs/display.md full PASS
395 TBitBtn docs/buttons.md full PASS
396 TButton docs/buttons.md full PASS
397 TButtonPanel docs/buttons.md full PASS
398 TCalcEdit docs/text-entry.md full PASS
399 TCalculatorDialog docs/windows-dialogs.md full PASS
400 TCalendar docs/display.md full PASS
401 TCalendarDialog docs/windows-dialogs.md full PASS
402 TCheckBox docs/buttons.md full PASS
403 TCheckComboBox docs/buttons.md full PASS
404 TCheckGroup docs/views-lists.md full PASS
405 TCheckListBox docs/views-lists.md full PASS
406 TColorBox docs/choosers.md full PASS
407 TColorButton docs/choosers.md full PASS
408 TColorDialog docs/windows-dialogs.md full PASS
409 TColorListBox docs/choosers.md full PASS
410 TComboBox docs/text-entry.md full PASS
411 TComboBoxEx docs/text-entry.md full PASS
412 TControlBar docs/containers-layout.md full PASS
413 TCoolBar docs/containers-layout.md full PASS
414 TDateEdit docs/text-entry.md full PASS
415 TDateTimePicker docs/display.md full PASS
416 TDirectoryEdit docs/text-entry.md full PASS
417 TDrawGrid docs/views-lists.md full PASS
418 TEdit docs/text-entry.md full PASS
419 TEditButton docs/text-entry.md full PASS
420 TFileListBox docs/choosers.md full PASS
421 TFileNameEdit docs/text-entry.md full PASS
422 TFilterComboBox docs/text-entry.md full PASS
423 TFindDialog docs/windows-dialogs.md full PASS
424 TFloatSpinEdit docs/text-entry.md full PASS
425 TFlowPanel docs/containers-layout.md full PASS
426 TFontDialog docs/windows-dialogs.md full PASS
427 TForm docs/windows-dialogs.md full PASS
428 TFrame docs/containers-layout.md full PASS
429 TGroupBox docs/containers-layout.md full PASS
430 THeaderControl docs/views-lists.md full PASS
431 TImage docs/display.md full PASS
432 TImageList docs/display.md full PASS
433 TLabel docs/display.md full PASS
434 TLabeledEdit docs/text-entry.md full PASS
435 TListBox docs/views-lists.md full PASS
436 TListView docs/views-lists.md full PASS
437 TMainMenu docs/menus-toolbars.md full PASS
438 TMaskEdit docs/text-entry.md full PASS
439 TMemo docs/text-entry.md full PASS
440 TNotebook docs/containers-layout.md full PASS
441 TOpenDialog docs/windows-dialogs.md full PASS
442 TOpenPictureDialog docs/windows-dialogs.md full PASS
443 TPageControl docs/containers-layout.md full PASS
444 TPageSetupDialog docs/windows-dialogs.md full PASS
445 TPaintBox docs/display.md full PASS
446 TPairSplitter docs/containers-layout.md full PASS
447 TPanel docs/containers-layout.md full PASS
448 TPopupMenu docs/menus-toolbars.md full PASS
449 TPopupNotifier docs/menus-toolbars.md full PASS
450 TPrintDialog docs/windows-dialogs.md full PASS
451 TPrinterSetupDialog docs/windows-dialogs.md full PASS
452 TProgressBar docs/display.md full PASS
453 TRadioButton docs/buttons.md full PASS
454 TRadioGroup docs/views-lists.md full PASS
455 TReplaceDialog docs/windows-dialogs.md full PASS
456 TSaveDialog docs/windows-dialogs.md full PASS
457 TSavePictureDialog docs/windows-dialogs.md full PASS
458 TScrollBar docs/containers-layout.md full PASS
459 TScrollBox docs/containers-layout.md full PASS
460 TSelectDirectoryDialog docs/windows-dialogs.md full PASS
461 TShape docs/display.md full PASS
462 TShellListView docs/views-lists.md full PASS
463 TShellTreeView docs/views-lists.md full PASS
464 TSpeedButton docs/buttons.md full PASS
465 TSpinEdit docs/text-entry.md full PASS
466 TSplitter docs/containers-layout.md full PASS
467 TStaticText docs/display.md full PASS
468 TStatusBar docs/display.md full PASS
469 TStringGrid docs/views-lists.md full PASS
470 TTabControl docs/containers-layout.md full PASS
471 TTaskDialog docs/windows-dialogs.md full PASS
472 TTimeEdit docs/display.md full PASS
473 TTimer docs/display.md full PASS
474 TToggleBox docs/buttons.md full PASS
475 TToolBar docs/menus-toolbars.md full PASS
476 TTrackBar docs/display.md full PASS
477 TTrayIcon docs/display.md full PASS
478 TTreeView docs/views-lists.md full PASS
479 TUpDown docs/buttons.md full PASS
480 TValueListEditor docs/text-entry.md full PASS
481 XGraph docs/misc-x.md full PASS
482 XSpreadsheet docs/misc-x.md full PASS
+74
View File
@@ -0,0 +1,74 @@
#!/usr/bin/env python3
"""Fix the doc code examples the verifier found broken (111 widgets).
Fix classes (inside ```cpp blocks only):
1. Volatility indicators: the widget class lives in namespace xframe, but
the Example block used the bare name -> qualify `IndX widget(` as
`xframe::IndX widget(`.
2. Drawing tools: snippets called `w.set_series(make_seeded_series(...))`
with a temporary, then used an undeclared `series` variable -> bind
the series first: `auto series = ...; w.set_series(series);`
3. Fib tools: `w.set_high_low(hi, lo)` with hi/lo undeclared -> compute
them from the series range first (same lines as the demo mains).
Applies to the fragment docs and docs/stock-market.md (which mirrors them).
Idempotent. Run verify_doc_examples.py afterwards for the affected names.
"""
import os, re, sys
REPO = os.path.dirname(os.path.dirname(os.path.dirname(os.path.abspath(__file__))))
FENCE = chr(96) * 3
FILES = ["docs/stock-market-drawing.md",
"docs/stock-market-indicators-volatility.md",
"docs/stock-market.md"]
RE_SERIES = re.compile(
r"^(\s*)w\.set_series\(xframe::make_seeded_series\(60, 42\)\);$")
def fix_lines(lines):
out = []
in_block = False
n_qual = n_series = n_hilo = 0
for ln in lines:
s = ln.strip()
if s == FENCE + "cpp":
in_block = True
out.append(ln)
continue
if s == FENCE and in_block:
in_block = False
out.append(ln)
continue
if in_block:
m = re.match(r"^(\s*)(Ind\w+) widget\(display", ln)
if m and not m.group(2).startswith("xframe"):
ln = "%sxframe::%s widget(display%s" % (
m.group(1), m.group(2), ln[m.end():])
n_qual += 1
m = RE_SERIES.match(ln)
if m:
pad = m.group(1)
out.append("%sauto series = xframe::make_seeded_series(60, 42);" % pad)
out.append("%sw.set_series(series);" % pad)
n_series += 1
continue
m = re.match(r"^(\s*)w\.set_high_low\(hi, lo\);", ln)
if m:
pad = m.group(1)
out.append("%sdouble hi = series[0].high, lo = series[0].low; for (auto& b : series) { hi = std::max(hi, b.high); lo = std::min(lo, b.low); }" % pad)
n_hilo += 1
out.append(ln)
return out, n_qual, n_series, n_hilo
def main():
for path in FILES:
p = os.path.join(REPO, path)
lines = open(p).read().splitlines()
new, nq, ns, nh = fix_lines(lines)
open(p, "w").write("\n".join(new) + "\n")
print("%s: qualified=%d series-bound=%d hi/lo-added=%d"
% (path, nq, ns, nh))
if __name__ == "__main__":
main()
+185
View File
@@ -0,0 +1,185 @@
#!/usr/bin/env python3
"""Add per-widget code examples for the 17 stock widgets whose doc entries
only had a shared/prose example: the 8 OHLC widgets and the 9
compare-volume widgets with prose-only examples.
Writes into:
- docs/stock-market-compare-volume.md (replace prose Example with a block)
- docs/stock-market-ohlc.md (append a 'Per-widget examples' section)
- docs/stock-market.md (same change, per widget section)
Idempotent: a widget section that already contains a cpp block is skipped.
Every snippet below was checked against its widget header; run
verify_doc_examples.py --only <names> afterwards to confirm compilation.
"""
import os, re, sys
REPO = os.path.dirname(os.path.dirname(os.path.dirname(os.path.abspath(__file__))))
CTOR = "%s w(display, screen, window, gc, &styles, 20, 20, 720, 480"
SERIES60 = 'xframe::make_seeded_series(60, 42)'
SERIES60B = 'xframe::make_seeded_series(60, 7)'
def ohlc(name):
return ["%s, xframe::make_seeded_series(250));" % (CTOR % name),
"w.draw();"]
def multi(name, extra=None):
lines = ["%s);" % (CTOR % name),
'w.add_series("SYM-A", %s);' % SERIES60,
'w.add_series("SYM-B", %s);' % SERIES60B]
if extra:
lines.append(extra)
lines.append("w.draw();")
return lines
def single(name, extra=None):
lines = ["%s);" % (CTOR % name),
"w.set_series(%s);" % SERIES60]
if extra:
lines.append(extra)
lines.append("w.draw();")
return lines
SNIPPETS = {}
for _n in ["StockCandlestickChart", "StockOHLCBarChart", "StockLineChart",
"StockAreaChart", "StockHeikinAshi", "StockRenko",
"StockHollowCandles", "StockBaselineChart"]:
SNIPPETS[_n] = ohlc(_n)
SNIPPETS["StockMultiSymbolChart"] = multi("StockMultiSymbolChart")
SNIPPETS["StockSpreadChart"] = multi("StockSpreadChart",
"double s = w.spread_at(10);")
SNIPPETS["StockRatioChart"] = multi("StockRatioChart",
"double r = w.ratio_at(10);")
SNIPPETS["StockIndexedComparison"] = multi("StockIndexedComparison",
"w.set_base_value(1000.0);")
SNIPPETS["StockVWAP"] = single("StockVWAP", "double v = w.vwap_at(59);")
SNIPPETS["StockOBVChart"] = single("StockOBVChart", "double o = w.obv_at(59);")
SNIPPETS["StockVolumeCandles"] = single("StockVolumeCandles",
"double f = w.body_width_at(3);")
SNIPPETS["StockAccumulationDistribution"] = single(
"StockAccumulationDistribution", "double a = w.ad_at(59);")
SNIPPETS["StockMoneyFlowChart"] = single(
"StockMoneyFlowChart", "double m = w.total_money_flow();")
FENCE = chr(96) * 3
def block(lines, indent):
pad = " " * indent
out = [pad + FENCE + "cpp"]
out += [pad + ln for ln in lines]
out.append(pad + FENCE)
return out
def section_bounds(lines, name):
"""(start, end) line indexes of the widget's section in a doc, or None."""
pat = re.compile(r"^#{2,3}\s+.*\b%s\b" % re.escape(name))
start = None
for i, ln in enumerate(lines):
if pat.match(ln):
start = i
break
if start is None:
return None
end = len(lines)
for j in range(start + 1, len(lines)):
if re.match(r"^#{1,3}\s+", lines[j]):
end = j
break
return start, end
def section_has_code(lines, start, end):
return any(lines[i].strip() == FENCE + "cpp"
for i in range(start, end))
def replace_prose_example(lines, start, end, name, indent):
"""Replace a prose '- **Example:** ...' (no fence) with a code block.
Returns new lines, or None if no prose example found."""
for i in range(start, end):
if lines[i].strip().startswith("- **Example:**"):
# if a fence already follows, nothing to do
j = i + 1
while j < end and not lines[j].strip():
j += 1
if j < end and lines[j].strip() == FENCE + "cpp":
return None
# prose may wrap over 2 lines; drop lines until the next
# '- **' bullet, heading, or blank line followed by a bullet
k = i + 1
while k < end:
s = lines[k]
if s.strip().startswith("- **") or s.startswith("#"):
break
if not s.strip():
# blank line ends the prose example
break
k += 1
new = lines[:i] + ["- **Example:**"] + block(SNIPPETS[name], indent) + lines[k:]
return new
return None
def append_example(lines, start, end, name, indent):
"""Append an Example block at the end of the section (OHLC style)."""
new = lines[:end] + ["", "- **Example:**"] + block(SNIPPETS[name], indent) + lines[end:]
return new
def process(path, names, indent, mode):
p = os.path.join(REPO, path)
lines = open(p).read().splitlines()
changed = []
for name in names:
b = section_bounds(lines, name)
if b is None:
print(" SKIP %s: no section in %s" % (name, path))
continue
start, end = b
if section_has_code(lines, start, end):
continue
if mode == "replace":
new = replace_prose_example(lines, start, end, name, indent)
if new is None:
new = append_example(lines, start, end, name, indent)
else:
new = append_example(lines, start, end, name, indent)
lines = new
changed.append(name)
open(p, "w").write("\n".join(lines) + "\n")
print("%s: added examples for %d: %s" % (path, len(changed), ", ".join(changed)))
def append_ohlc_fragment():
"""Append per-widget ### sections to the OHLC fragment doc."""
p = os.path.join(REPO, "docs/stock-market-ohlc.md")
txt = open(p).read()
names = [n for n in SNIPPETS if n.startswith("Stock") and
n not in ("StockMultiSymbolChart", "StockSpreadChart",
"StockRatioChart", "StockIndexedComparison",
"StockVWAP", "StockOBVChart", "StockVolumeCandles",
"StockAccumulationDistribution", "StockMoneyFlowChart")]
if "## Per-widget examples" in txt:
print("docs/stock-market-ohlc.md: Per-widget examples already present")
return
parts = [txt.rstrip("\n"), "", "## Per-widget examples", "",
"One working example per widget (same shape as the shared example",
"above, with the widget's own class name).", ""]
for name in names:
parts.append("### %s" % name)
parts.append("")
parts.append("- **Example:**")
parts += block(SNIPPETS[name], 0)
parts.append("")
open(p, "w").write("\n".join(parts))
print("docs/stock-market-ohlc.md: added Per-widget examples for %d" % len(names))
def main():
cv = ["StockMultiSymbolChart", "StockSpreadChart", "StockRatioChart",
"StockIndexedComparison", "StockVWAP", "StockOBVChart",
"StockVolumeCandles", "StockAccumulationDistribution",
"StockMoneyFlowChart"]
ohlc_names = ["StockCandlestickChart", "StockOHLCBarChart",
"StockLineChart", "StockAreaChart", "StockHeikinAshi",
"StockRenko", "StockHollowCandles", "StockBaselineChart"]
process("docs/stock-market-compare-volume.md", cv, 2, "replace")
append_ohlc_fragment()
process("docs/stock-market.md", cv + ohlc_names, 2, "replace")
if __name__ == "__main__":
main()
+81
View File
@@ -0,0 +1,81 @@
#!/usr/bin/env python3
"""Link each widget's example picture into its doc entry.
Inserts `![<Name>](../screenshots/widgets/<Name>.png)` directly under the
widget's heading in:
- the 9 original section docs (docs/*.md, `## <Name>` headings), and
- docs/stock-market.md (287 stock widgets; headings vary: `## IndX`,
`## <bare> (`IndX`)`, `## StockX`, `### StockX`).
Idempotent: skips a heading that already has the link. Verifies afterwards
that every widget heading carries the link and prints a per-doc count.
Usage: python3 widgets/tools/link_widget_pics.py [--check]
"""
import os, re, sys
REPO = os.path.dirname(os.path.dirname(os.path.dirname(os.path.abspath(__file__))))
WIDGETS = os.path.join(REPO, "widgets")
sys.path.insert(0, os.path.join(WIDGETS, "tools"))
from widget_count import registry_names
SECTION_DOCS = [
"docs/windows-dialogs.md", "docs/containers-layout.md",
"docs/buttons.md", "docs/display.md", "docs/text-entry.md",
"docs/choosers.md", "docs/views-lists.md", "docs/menus-toolbars.md",
"docs/misc-x.md",
]
STOCK_DOC = "docs/stock-market.md"
NAME_RE = re.compile(r"(Ind[A-Za-z0-9]+|Stock[A-Za-z0-9]+|Gtk[A-Za-z0-9]+|T[A-Z][A-Za-z0-9]*)")
def link_for(name):
return "![%s](../screenshots/widgets/%s.png)" % (name, name)
def process(path, check_only=False):
names = set(registry_names())
lines = open(os.path.join(REPO, path)).read().splitlines()
out = []
linked = 0
missing = []
i = 0
while i < len(lines):
ln = lines[i]
out.append(ln)
m = re.match(r"#{2,3}\s+(.*)$", ln)
if m:
cands = [c for c in NAME_RE.findall(m.group(1)) if c in names]
if cands:
name = cands[0]
nxt = lines[i + 1] if i + 1 < len(lines) else ""
if nxt.strip() == link_for(name):
linked += 1
elif check_only:
missing.append(name)
else:
out.append("")
out.append(link_for(name))
linked += 1
i += 1
if not check_only:
open(os.path.join(REPO, path), "w").write("\n".join(out) + "\n")
return linked, missing
def main():
check_only = "--check" in sys.argv
total = 0
all_missing = []
for doc in SECTION_DOCS + [STOCK_DOC]:
linked, missing = process(doc, check_only)
print("%s: %d picture links" % (doc, linked))
total += linked
all_missing += missing
print("total links: %d" % total)
if all_missing:
print("headings WITHOUT a picture link: %d" % len(all_missing))
for n in sorted(set(all_missing)):
print(" MISSING", n)
return 1
return 0
if __name__ == "__main__":
sys.exit(main())
+161
View File
@@ -0,0 +1,161 @@
#!/usr/bin/env python3
"""Render one example picture per widget (all 481) on the VPS — v2.
Method (why not run_tests.py's import -window): the 250 indicator demos
have no event loop — they draw once, print OK and exit, so their window
lives ~100 ms, and ImageMagick `import -window <id>` hangs on the dying
window. Instead every demo is run with LD_PRELOAD=/tmp/keepalive.so, a
harness-only shim that sleeps 10 s inside XCloseDisplay, keeping the drawn
window mapped. We then capture the whole root with `xwd -root` (always
exists, never a dead-window race) and crop the demo window, which every
main creates at 100,100 800x600. The shot must be non-blank (>20 non-bg
pixels). Existing non-blank shots in widgets/screenshots/ are kept (audit
first, render only the gap); every shot is also copied to
screenshots/widgets/<Name>.png (the per-widget picture location linked
from the docs).
Writes widgets/test-results/widget_pics.csv (name, source, result, note)
and prints a summary. Exit code 0 only if every widget has a non-blank
picture in both locations.
Usage: DISPLAY=:91 python3 widgets/tools/render_widget_pics.py [--only A,B]
[--force] # re-render even existing shots
"""
import csv, os, shutil, subprocess, sys, time
from PIL import Image
ROOT = os.path.dirname(os.path.dirname(os.path.abspath(__file__)))
REPO = os.path.dirname(ROOT)
WIDGETS = os.path.join(REPO, "widgets")
BUILD = os.path.join(WIDGETS, "build-pics", "components")
SHOTS = os.path.join(WIDGETS, "screenshots")
DEST = os.path.join(REPO, "screenshots", "widgets")
TMP = "/tmp/cw-pics"
OUT = os.path.join(WIDGETS, "test-results", "widget_pics.csv")
KEEPALIVE = "/tmp/keepalive.so"
# Every main creates its window at 100,100 800x600 (verified across all 481).
WX, WY, WW, WH = 100, 100, 800, 600
ENV = dict(os.environ, DISPLAY=os.environ.get("DISPLAY", ":91"))
if os.path.exists(KEEPALIVE):
ENV["LD_PRELOAD"] = KEEPALIVE
os.makedirs(SHOTS, exist_ok=True)
os.makedirs(DEST, exist_ok=True)
os.makedirs(TMP, exist_ok=True)
os.makedirs(os.path.dirname(OUT), exist_ok=True)
sys.path.insert(0, os.path.join(WIDGETS, "tools"))
from widget_count import registry_names
def run(*a, timeout=20):
return subprocess.run(*a, capture_output=True, text=True, timeout=timeout,
env=ENV)
def nonbg_count(im):
h = im.convert("L").histogram()
modal = max(range(256), key=lambda v: h[v])
return sum(c for v, c in enumerate(h) if abs(v - modal) > 10)
def is_good(path):
try:
return os.path.getsize(path) > 0 and nonbg_count(Image.open(path)) > 20
except Exception:
return False
def render(name):
"""Launch the demo (shim-held), xwd the root, crop the window."""
binp = os.path.join(BUILD, name, name)
if not (os.path.exists(binp) and os.access(binp, os.X_OK)):
return False, "binary missing (not built)"
logf = open(os.path.join(TMP, name + ".stderr"), "wb")
try:
p = subprocess.Popen([binp], env=ENV, stdout=subprocess.DEVNULL,
stderr=logf)
except Exception as e:
logf.close()
return False, "launch failed: %s" % e
try:
# Draws are synchronous in main; 1.5 s is ample even under load,
# and the shim holds the window 10 s past XCloseDisplay.
time.sleep(1.5)
if p.poll() is not None and name.startswith(("Ind",)):
# Exit-immediately demo already gone and shim did not hold it?
# (Should not happen; the shim sleeps in XCloseDisplay.)
pass
xwd = os.path.join(TMP, name + ".xwd")
png = os.path.join(TMP, name + "_root.png")
try:
run(["xwd", "-root", "-out", xwd], timeout=20)
run(["convert", xwd, png], timeout=20)
except subprocess.TimeoutExpired:
return False, "root capture timed out"
if not (os.path.exists(png) and os.path.getsize(png) > 0):
return False, "root capture failed"
try:
im = Image.open(png).convert("RGB")
crop = im.crop((WX, WY, WX + WW, WY + WH))
except Exception as e:
return False, "crop failed: %s" % e
nb = nonbg_count(crop)
if nb <= 20:
return False, "blank draw (%d non-bg px)" % nb
dest = os.path.join(SHOTS, name + ".png")
crop.save(dest)
return True, "rendered (%d non-bg px)" % nb
finally:
try:
p.kill()
except Exception:
pass
try:
p.wait(timeout=3)
except Exception:
pass
logf.close()
def main():
only = None
force = "--force" in sys.argv
for a in sys.argv[1:]:
if a.startswith("--only"):
only = set(a.split("=", 1)[1].split(","))
names = registry_names()
print("registry widgets: %d" % len(names), flush=True)
rows = []
t0 = time.time()
for idx, name in enumerate(names, 1):
if only and name not in only:
continue
shot = os.path.join(SHOTS, name + ".png")
dest = os.path.join(DEST, name + ".png")
if not force and is_good(shot):
source, ok, note = "existing", True, "kept existing shot"
else:
source = "rendered"
try:
ok, note = render(name)
except Exception as e:
ok, note = False, "render crashed: %s" % e
if ok:
try:
shutil.copyfile(shot, dest)
except Exception as e:
ok, note = False, "copy to screenshots/widgets failed: %s" % e
rows.append((name, source, "PASS" if ok else "FAIL", note))
if idx % 50 == 0:
print(" %d/%d %.0fs" % (idx, len(names), time.time() - t0),
flush=True)
with open(OUT, "w", newline="") as f:
w = csv.writer(f)
w.writerow(["name", "source", "result", "note"])
w.writerows(rows)
npass = sum(1 for r in rows if r[2] == "PASS")
nfail = [r for r in rows if r[2] == "FAIL"]
print("pictures: %d checked PASS: %d FAIL: %d (%.0fs)"
% (len(rows), npass, len(nfail), time.time() - t0))
for r in nfail:
print("FAIL %s [%s] %s" % (r[0], r[1], r[3]))
print("wrote", OUT)
return 0 if not nfail else 1
if __name__ == "__main__":
sys.exit(main())
+191
View File
@@ -0,0 +1,191 @@
#!/usr/bin/env python3
"""Verify every doc code example compiles against its widget header.
Extracts every ```cpp block from the 9 original section docs + 6 stock
fragment docs, maps each block to its widget (by the enclosing ##/### heading),
and compiles it:
- full programs (contain 'int main') compile as-is;
- fragments are wrapped in a harness that opens a display/window/styles
and provides display/screen/window/gc/styles, then compiles.
Writes widgets/test-results/doc_examples.csv (name, doc, kind, result, note)
and prints a summary. Exit code 0 only if every mapped widget passes.
Usage: python3 widgets/tools/verify_doc_examples.py [--only NAME,...]
"""
import csv, os, re, subprocess, sys
ROOT = os.path.dirname(os.path.dirname(os.path.abspath(__file__)))
REPO = os.path.dirname(ROOT)
WIDGETS = os.path.join(REPO, "widgets")
TMP = "/tmp/doc-examples"
OUT = os.environ.get("DOC_EXAMPLES_OUT",
os.path.join(WIDGETS, "test-results", "doc_examples.csv"))
os.makedirs(TMP, exist_ok=True)
os.makedirs(os.path.dirname(OUT), exist_ok=True)
sys.path.insert(0, os.path.join(WIDGETS, "tools"))
from widget_count import registry_names
DOCS = [
("docs/windows-dialogs.md", "orig"),
("docs/containers-layout.md", "orig"),
("docs/buttons.md", "orig"),
("docs/display.md", "orig"),
("docs/text-entry.md", "orig"),
("docs/choosers.md", "orig"),
("docs/views-lists.md", "orig"),
("docs/menus-toolbars.md", "orig"),
("docs/misc-x.md", "orig"),
("docs/stock-market-ohlc.md", "stock"),
("docs/stock-market-compare-volume.md", "stock"),
("docs/stock-market-drawing.md", "stock"),
("docs/stock-market-indicators-trend.md", "stock"),
("docs/stock-market-indicators-momentum.md", "stock"),
("docs/stock-market-indicators-volatility.md", "stock"),
]
FENCE = chr(96) * 3
HARNESS_PRE = """#include "%s.h"
#include <cstdio>
int main() {
Display* display = XOpenDisplay(nullptr);
if (!display) { return 1; }
int screen = DefaultScreen(display);
Window window = XCreateSimpleWindow(display, RootWindow(display, screen), 100, 100, 800, 600, 1, BlackPixel(display, screen), WhitePixel(display, screen));
GC gc = DefaultGC(display, screen);
SStyle_Manager styles(display, window, screen, gc);
styles.add_style_ex("default", Srgb{225, 225, 225}, Srgb{120, 120, 120}, Srgb{60, 60, 60}, Srgb{20, 20, 20}, 6, 1, "-misc-fixed-medium-r-normal--13-*");
styles.set_active_style_byName("default");
"""
HARNESS_POST = """
return 0;
}
"""
def heading_to_widget(heading, group):
"""Map a doc heading to a registry widget name."""
names = registry_names()
if heading in names:
return heading
if heading.startswith("Ind") and heading in names:
return heading
# bare indicator name, e.g. ## ADX -> IndADX
cand = "Ind" + heading
if cand in names:
return cand
# bare stock name, e.g. ## VWAP -> StockVWAP
cand = "Stock" + heading
if cand in names:
return cand
return None
def extract_blocks(docpath):
"""Yield (heading, block) in order; heading is the nearest ##/### above."""
txt = open(os.path.join(REPO, docpath)).read()
lines = txt.splitlines()
# find headings with their line numbers
events = []
for i, ln in enumerate(lines):
m = re.match(r"#{2,3}\s+(\S+)", ln)
if m:
events.append((i, m.group(1)))
if ln.strip() == FENCE + "cpp":
events.append((i, "FENCE_START"))
if ln.strip() == FENCE and events and events[-1][1] == "FENCE_START":
events.append((i, "FENCE_END"))
out = []
heading = None
start = None
for i, kind in events:
if kind == "FENCE_START":
start = i
elif kind == "FENCE_END" and start is not None:
block = "\n".join(lines[start + 1:i])
out.append((heading, block))
start = None
elif kind not in ("FENCE_START", "FENCE_END"):
heading = kind
return out
def compile_src(name, src, kind):
srcf = os.path.join(TMP, name + ".cpp")
binf = os.path.join(TMP, name)
open(srcf, "w").write(src)
cmd = ["g++", "-std=c++17", "-Wall", "-Wextra",
"-I", WIDGETS, "-I", os.path.join(WIDGETS, "components", name),
srcf, "-o", binf, "-lX11"]
r = subprocess.run(cmd, capture_output=True, text=True, timeout=120)
if r.returncode == 0:
return True, ""
err = (r.stderr or "").strip().splitlines()
return False, " | ".join(err[:4])
def main():
only = None
if len(sys.argv) > 1 and sys.argv[1].startswith("--only"):
only = set(sys.argv[1].split("=", 1)[1].split(","))
names = registry_names()
# map widget -> list of (doc, block)
found = {}
unmapped_blocks = []
for doc, group in DOCS:
for heading, block in extract_blocks(doc):
if not block.strip():
continue
w = heading_to_widget(heading, group) if heading else None
if w is None:
unmapped_blocks.append((doc, heading, block[:60]))
continue
found.setdefault(w, []).append((doc, block))
rows = []
for name in names:
if only and name not in only:
continue
blocks = found.get(name, [])
if not blocks:
rows.append((name, "", "missing", "FAIL",
"no code example in any doc"))
continue
# compile every block for this widget; all must pass
ok_all = True
notes = []
kinds = []
for doc, block in blocks:
if "int main" in block:
kind = "full"
src = block
else:
kind = "fragment"
# strip leading #include of the widget header if present to
# avoid a duplicate include (harness adds it)
body = re.sub(r'^#include\s+"%s\.h"\s*$' % re.escape(name),
"", block, flags=re.M)
src = (HARNESS_PRE % name) + body + HARNESS_POST
kinds.append(kind)
ok, note = compile_src(name, src, kind)
if not ok:
ok_all = False
notes.append("%s:%s: %s" % (doc, kind, note))
rows.append((name, ";".join(d for d, _ in blocks),
"+".join(sorted(set(kinds))),
"PASS" if ok_all else "FAIL", "; ".join(notes)))
with open(OUT, "w", newline="") as f:
w = csv.writer(f)
w.writerow(["name", "doc", "kind", "result", "note"])
w.writerows(rows)
npass = sum(1 for r in rows if r[3] == "PASS")
nfail = [r for r in rows if r[3] == "FAIL"]
print("widgets checked: %d PASS: %d FAIL: %d" % (len(rows), npass, len(nfail)))
for r in nfail:
print("FAIL %s [%s] %s" % (r[0], r[2], r[4][:300]))
if unmapped_blocks:
print("unmapped code blocks (no widget heading): %d" % len(unmapped_blocks))
for doc, h, s in unmapped_blocks[:10]:
print(" %s heading=%s :: %s" % (doc, h, s.replace("\n", " ")))
print("wrote", OUT)
return 0 if not nfail else 1
if __name__ == "__main__":
sys.exit(main())