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 |

converting a daily to a weekly stochastic formula Rate this Topic:
Previous Topic · Next Topic Watch this topic · Print this topic ·
retire5912
Posted : Monday, November 21, 2016 3:35:45 PM
Platinum Customer Platinum Customer

Joined: 7/3/2007
Posts: 27

 

Hi.  How would I convert these daily stochastic formulas into a weekly stochastic formulas?

Histogram - STOC50.22 - AVG(STOC50.22,10)

Crosses - SGN(STOC50.22 - AVG(STOC50.22,10)) <> SGN(STOC50.22.1 - AVG(STOC50.22.1,10))

Bullish cross - STOC50.22 > AVG(STOC50.22,10) AND STOC50.22.1 <= AVG(STOC50.22.1,10)

Bearish cross - STOC50.22 < AVG(STOC50.22,10) AND STOC50.22.1 >= AVG(STOC50.22.1,10)

SK value - STOC50.22 

SD value - AVG(STOC50.22,10)

 

Thanks

Bruce_L
Posted : Monday, November 21, 2016 3:51:04 PM


Worden Trainer

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

QUOTE (retire5912)
Histogram - STOC50.22 - AVG(STOC50.22,10)

(9 * (STOC250 - STOC250.1.110) + 8 * (STOC250.1.5 - STOC250.1.115) + 7 * (STOC250.1.10 - STOC250.1.120) + 6 * (STOC250.1.15 - STOC250.1.125) + 5 * (STOC250.1.20 - STOC250.1.130) + 4 * (STOC250.1.25 - STOC250.1.135) + 3 * (STOC250.1.30 - STOC250.1.140) + 2 * (STOC250.1.35 - STOC250.1.145) + STOC250.1.40 - STOC250.1.150) / 10

QUOTE (retire5912)
Crosses - SGN(STOC50.22 - AVG(STOC50.22,10)) <> SGN(STOC50.22.1 - AVG(STOC50.22.1,10))

SGN(9 * (STOC250 - STOC250.1.110) + 8 * (STOC250.1.5 - STOC250.1.115) + 7 * (STOC250.1.10 - STOC250.1.120) + 6 * (STOC250.1.15 - STOC250.1.125) + 5 * (STOC250.1.20 - STOC250.1.130) + 4 * (STOC250.1.25 - STOC250.1.135) + 3 * (STOC250.1.30 - STOC250.1.140) + 2 * (STOC250.1.35 - STOC250.1.145) + STOC250.1.40 - STOC250.1.150) <> SGN(9 * (STOC250.1.5 - STOC250.1.115) + 8 * (STOC250.1.10 - STOC250.1.120) + 7 * (STOC250.1.15 - STOC250.1.125) + 6 * (STOC250.1.20 - STOC250.1.130) + 5 * (STOC250.1.25 - STOC250.1.135) + 4 * (STOC250.1.30 - STOC250.1.140) + 3 * (STOC250.1.35 - STOC250.1.145) + 2 * (STOC250.1.40 - STOC250.1.150) + STOC250.1.45 - STOC250.1.155)

QUOTE (retire5912)
Bullish cross - STOC50.22 > AVG(STOC50.22,10) AND STOC50.22.1 <= AVG(STOC50.22.1,10)

9 * (STOC250 - STOC250.1.110) + 8 * (STOC250.1.5 - STOC250.1.115) + 7 * (STOC250.1.10 - STOC250.1.120) + 6 * (STOC250.1.15 - STOC250.1.125) + 5 * (STOC250.1.20 - STOC250.1.130) + 4 * (STOC250.1.25 - STOC250.1.135) + 3 * (STOC250.1.30 - STOC250.1.140) + 2 * (STOC250.1.35 - STOC250.1.145) + STOC250.1.40 > STOC250.1.150 AND 9 * (STOC250.1.5 - STOC250.1.115) + 8 * (STOC250.1.10 - STOC250.1.120) + 7 * (STOC250.1.15 - STOC250.1.125) + 6 * (STOC250.1.20 - STOC250.1.130) + 5 * (STOC250.1.25 - STOC250.1.135) + 4 * (STOC250.1.30 - STOC250.1.140) + 3 * (STOC250.1.35 - STOC250.1.145) + 2 * (STOC250.1.40 - STOC250.1.150) + STOC250.1.45 <= STOC250.1.155

QUOTE (retire5912)
Bearish cross - STOC50.22 < AVG(STOC50.22,10) AND STOC50.22.1 >= AVG(STOC50.22.1,10)

9 * (STOC250 - STOC250.1.110) + 8 * (STOC250.1.5 - STOC250.1.115) + 7 * (STOC250.1.10 - STOC250.1.120) + 6 * (STOC250.1.15 - STOC250.1.125) + 5 * (STOC250.1.20 - STOC250.1.130) + 4 * (STOC250.1.25 - STOC250.1.135) + 3 * (STOC250.1.30 - STOC250.1.140) + 2 * (STOC250.1.35 - STOC250.1.145) + STOC250.1.40 < STOC250.1.150 AND 9 * (STOC250.1.5 - STOC250.1.115) + 8 * (STOC250.1.10 - STOC250.1.120) + 7 * (STOC250.1.15 - STOC250.1.125) + 6 * (STOC250.1.20 - STOC250.1.130) + 5 * (STOC250.1.25 - STOC250.1.135) + 4 * (STOC250.1.30 - STOC250.1.140) + 3 * (STOC250.1.35 - STOC250.1.145) + 2 * (STOC250.1.40 - STOC250.1.150) + STOC250.1.45 >= STOC250.1.155

QUOTE (retire5912)
SK value - STOC50.22

(STOC250 + STOC250.1.5 + STOC250.1.10 + STOC250.1.15 + STOC250.1.20 + STOC250.1.25 + STOC250.1.30 + STOC250.1.35 + STOC250.1.40 + STOC250.1.45 + STOC250.1.50 + STOC250.1.55 + STOC250.1.60 + STOC250.1.65 + STOC250.1.70 + STOC250.1.75 + STOC250.1.80 + STOC250.1.85 + STOC250.1.90 + STOC250.1.95 + STOC250.1.100 + STOC250.1.105) / 22

QUOTE (retire5912)
SD value - AVG(STOC50.22,10)

(STOC250 + 2 * (STOC250.1.5 + STOC250.1.145) + 3 * (STOC250.1.10 + STOC250.1.140) + 4 * (STOC250.1.15 + STOC250.1.135) + 5 * (STOC250.1.20 + STOC250.1.130) + 6 * (STOC250.1.25 + STOC250.1.125) + 7 * (STOC250.1.30 + STOC250.1.120) + 8 * (STOC250.1.35 + STOC250.1.115) + 9 * (STOC250.1.40 + STOC250.1.110) + 10 * (STOC250.1.45 + STOC250.1.50 + STOC250.1.55 + STOC250.1.60 + STOC250.1.65 + STOC250.1.70 + STOC250.1.75 + STOC250.1.80 + STOC250.1.85 + STOC250.1.90 + STOC250.1.95 + STOC250.1.100 + STOC250.1.105) + STOC250.1.150) / 220



-Bruce
Personal Criteria Formulas
TC2000 Support Articles
retire5912
Posted : Monday, November 21, 2016 3:56:06 PM
Platinum Customer Platinum Customer

Joined: 7/3/2007
Posts: 27

Thank you so much!!!!!

Bruce_L
Posted : Monday, November 21, 2016 4:08:38 PM


Worden Trainer

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

You're welcome.



-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.