Skip to content

Latest commit

 

History

History
47 lines (28 loc) · 2.07 KB

index.md

File metadata and controls

47 lines (28 loc) · 2.07 KB

Volatility Strategies

Volatility strategies generate signals based on a volatility indicator.

Acceleration Bands Strategy

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);

Bollinger Bands Strategy

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);

Projection Oscillator Strategy

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);

Disclaimer

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.

License

Copyright (c) 2022 Onur Cinar. All Rights Reserved.

The source code is provided under MIT License.