kieran-mackle / AutoTrader

A Python-based development platform for automated trading systems - from backtesting to optimisation to livetrading.
https://kieran-mackle.github.io/AutoTrader/
GNU General Public License v3.0
937 stars 216 forks source link

fix bugs in indicators #87

Closed raptoravis closed 11 months ago

raptoravis commented 11 months ago
  1. unroll_signal_list starts 1 stead of 0
  2. find_swings, include the current index, make it earlier to find the signal
  3. classify_swings, CSLS starts with 1 instead of 0, make it earlier to find the signal
  4. detect_divergence, include the current index, make it earlier to find the signal 5
kieran-mackle commented 11 months ago

Thanks for the contributions!