Skip to main content

Moving average not in the right position after changing time scale.

Hi I seem to have uncovered a bug. When I change the time scale and/or move the chart around, the SMA lines that were previously set to ‘display’ would be located in incorrect levels. Turning the SMA off and then on again resets this. Please look into this

Status: Completed3 comments

Log in to comment and vote

Comments3

  • Denys

    Team•

    Jun 4

    Should be solved, Greg. Please try to reproduce.

  • stephenakells@gmail.com

    •

    May 27

    I’m not sure if you noticed this already. I had the same issue and found that the SMA’s are based on the what the ticks show in the graph and not the time. So SMA50 in a days scale is based on 50 days, while in a 15 minute scale it is recalculated based on 50 x ‘15 minute ticks’.

    • Denys

      Team•

      Jun 4

      Stephen, hello.

      Denys here.

      It is a bit unrelated. SMA updates to new timeframe intentionally, because it is candle-based.

      Aka 50 days - SMA50D, 15 minutes - SMA will move to 15 minutes.

      Please check theory behind SMA.