indicatorts
Version:
Stock technical indicators and strategies in TypeScript for browser and server programs.
16 lines (15 loc) • 632 B
TypeScript
import { CMFConfig } from '../../indicator/volume/chaikinMoneyFlow';
import { Action } from '../action';
import { Asset } from '../asset';
/**
* The chaikin money flow strategy uses the cmf values that are generated
* by the Chaikin Money Flow (CMF) indicator function to provide a BUY
* action when cmf is less than zero, a SELL action when cmf is
* greather than zero, a HOLD action otherwise.
*
* @param asset asset object.
* @param config configuration.
* @returns strategy actions.
*/
export declare function cmfStrategy(asset: Asset, config?: CMFConfig): Action[];
export { cmfStrategy as chaikinMoneyFlowStrategy };