The Elder Ray Index is a trend-following indicator that measures the strength of bulls and bears in the market.
- Bull Power = High − EMA
- Bear Power = Low − EMA
period(default: 13): Period for EMA
import { ElderRay } from '../src/elder-ray';
const elderRay = new ElderRay();
const result = elderRay.nextValue(high, low, close);
// result: { bull, bear }An object with the following properties:
bull: Bull Power valuebear: Bear Power value