@Demo public class ChaikinMoneyFlowDemo extends Object
--live for Yahoo history and
--charts for a desktop indicator chart. The report goes to the console.
Using this example. Uses an OHLCV indicator to choose a target position and submits the difference from the filled position. Quantity is in signed product units, not dollars. DemoSupport controls the default synthetic inputs and optional live data and charts.
Model and publication. No single original research publication is claimed for this library/example policy.
Implementation in this tutorial. Chaikin money flow compares accumulated money-flow volume with total volume over a rolling window. The demo combines indicator and price-change signs to choose unit targets. See the implemented rule above rather than assuming a textbook divergence interpretation.
| Modifier and Type | Class and Description |
|---|---|
static class |
ChaikinMoneyFlowDemo.SimpleCMFStrategy |
Copyright © 2026. All rights reserved.