anandanand84 / technicalindicators

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

Moving Average functions but float period #259

Open barisxco opened 1 year ago

barisxco commented 1 year ago

I was working on ma functions. When i am giving float period like 2.5 it giving wrong results. Pinescript floor it to 2 as default so technicalindicators can.