v1.0.0
Bollinger Bands as simple as it gets
Repository
Current version released
2 years ago
Bollinger Bands
Bollinger Bands as simple as it gets.
This module helps to stabilize the buy price and increase the sell price for Freedom Cash.
Usage Example
import { BollingerBandsService, IBollingerBands } from "https://deno.land/x/bollinger_bands/mod.ts"
const testSequenceMayBePricesOrPNLs = [4, 10, 13, 13]
const bollingerBands: IBollingerBands = BollingerBandsService.getBollingerBands(testSequenceMayBePricesOrPNLs)
console.log(bollingerBands.sma)
console.log(bollingerBands.lower)
console.log(bollingerBands.upper)
Execute Usage Example
deno run https://deno.land/x/bollinger_bands/usage-example.tsUsage Example Freedom Cash
See also this module.
deno run --allow-read --allow-write https://deno.land/x/freedom_cash/usage-example.tsExecute Unit Tests
deno test https://deno.land/x/bollinger_bands/src/bollinger-bands-service.spec.tsFor further examples you can check the unit tests.
Donations
We are already free. If you want to donate, you might consider donating to the otherparty.co.uk to ensure people do not need to donate to victims but rather donate successfully to problem solvers.