Jump to content



Photo

Little help with arithmetic needed


  • Please log in to reply
4 replies to this topic

#1 selecto

selecto

    Member

  • Traders-Talk User
  • 6,871 posts

Posted 15 July 2007 - 10:14 PM

I'm trying to display a 20 day sma on a 5 minute Stockchart. I figure there are 78 x 5 minute periods in a trading day, so 78 x 20 (1560) seems like it should give me the result, but it doesn't as the 20 sma value I get on the daily, is different from the 1560 value I get on the 5. I'm missing something very obvious no doubt. PS: Is there a board somewhere that discusses Stockcharts tips and tricks?

Edited by selecto, 15 July 2007 - 10:22 PM.


#2 arbman

arbman

    Quant

  • Traders-Talk User
  • 19,504 posts

Posted 15 July 2007 - 10:31 PM

You have 78 times more data and the averages will obviously not match due to the intraday volatility, the daily is calculated only by the closing values. The difference should not be too big, perhaps a couple of points. I also doubt that stockcharts will allow you to see a 1560 data bar moving average...

#3 Rogerdodger

Rogerdodger

    Member

  • TT Member*
  • 26,873 posts

Posted 15 July 2007 - 10:39 PM

It looks to me like a 600sma is as high as Stockcharts will go on a 5 minute. So you are seeing the 600sma. Look at the Legends.

Edited by Rogerdodger, 15 July 2007 - 10:40 PM.


#4 xe2dy

xe2dy

    Member

  • Traders-Talk User
  • 404 posts

Posted 15 July 2007 - 10:59 PM

"PS: Is there a board somewhere that discusses Stockcharts tips and tricks?"



Yes there is http://investorshub....p?board_id=1277

Edited by xe2dy, 15 July 2007 - 11:00 PM.


#5 selecto

selecto

    Member

  • Traders-Talk User
  • 6,871 posts

Posted 15 July 2007 - 11:18 PM

Thanks, all. Looks like the most one cn get off the 5 is 500.