anandanand84 / technicalindicators

A javascript technical indicators written in typescript with pattern recognition right in the browser
MIT License
2.14k stars 557 forks source link

HeikinAshi needs an option like "precision" #199

Open LooOOooM opened 4 years ago

LooOOooM commented 4 years ago

HeikinAshi needs this options as some brokers round all there pricelevels to lets say 0.5. Meaning that a given HA price of 134.05 would be correct, while a price of 13.02 would be simply not existing. Please fix

ProgrammingLife commented 4 years ago

@LooOOooM maybe this can be fixed easily with the: technicalIndicators.setConfig("precision", 10); option?

LooOOooM commented 4 years ago

This does not work.