Subscribe
Tag

Indicators

1 post

Implementing SuperTrend, ATR and RSI indicators in Go

I didn't want a big dependency just for three indicators, so I wrote ATR, RSI and SuperTrend in plain golang. Here is the code, the small tests I use to sanity check it, and how I round prices to the NSE tick for limit orders.

7 min read