Volatility strategies generate signals based on a volatility indicator.
The accelerationBandsStrategy uses the upperBand, and lowerBand values that are generated by the Acceleration Bands indicator function to provide a BUY action when closing is greather than or equals to upperBand, a SELL action otherwise.
import {accelerationBandsStrategy} from 'indicatorts';
const actions = accelerationBandsStrategy(asset);
The bollingerBandsStrategy uses the upperBand, and lowerBand values that are generated by the Bollinger Bands indicator function to provide a SELL action when the asset's closing is above the upperBand, and a BUY action when the asset's closing is below the lowerBand values, a HOLD action otherwise.
import {bollingerBandsStrategy} from 'indicatorts';
const actions = bollingerBandsStrategy(asset);
The projectionOscillatorStrategy uses po and spo values that are generated by the Projection Oscillator (PO) indicator function to provide a BUY action when po is above spo, and SELL action when po is below spo.
import {projectionOscillatorStrategy} from 'indicatorts';
const actions = projectionOscillatorStrategy(asset);
The information provided on this project is strictly for informational purposes and is not to be construed as advice or solicitation to buy or sell any security.
Copyright (c) 2022 Onur Cinar. All Rights Reserved.
The source code is provided under MIT License.