Download software Tutorial videos
Subscription & data-feed pricing Class schedule


New account application Trading resources
Margin rates Stock & option commissions

Attention: Discussion forums are read-only for extended maintenance until further notice.
Welcome Guest, please sign in to participate in a discussion. Search | Active Topics |

Sigma Spike - based upon return Rate this Topic:
Previous Topic · Next Topic Watch this topic · Print this topic ·
NattowGate
Posted : Wednesday, November 8, 2017 10:20:11 PM
Gold Customer Gold Customer

Joined: 12/16/2013
Posts: 7

Hi

I need some help, if doable, in TC2000, tryin gto calculate the ratio of today's retun/yesterday's 20 day std deviation of return?

 

  • Calculate daily returns as: return = today's close / yesterday's close - 1
  • Calculate standard deviation of daily returns over a 20 day window. In quasi-Excel langauge:: stdev = stdev(returns, 20)
  • Calculate today's sigma spike: SigmaSpike = today's return / yesterday's stdev
Bruce_L
Posted : Thursday, November 9, 2017 8:44:15 AM


Worden Trainer

Joined: 10/7/2004
Posts: 65,138

Please try the following indicator formula.

(C / C1 - 1) / SQR(ABS(SUM((C1 / C2 - 1) ^ 2, 20)- 20 * AVG(C1 / C2 - 1, 20) ^ 2) / 20)



-Bruce
Personal Criteria Formulas
TC2000 Support Articles
Users browsing this topic
Guest-1

Forum Jump
You cannot post new topics in this forum.
You cannot reply to topics in this forum.
You cannot delete your posts in this forum.
You cannot edit your posts in this forum.
You cannot create polls in this forum.
You cannot vote in polls in this forum.