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 |

10 month SMA and 12 month SMA Rate this Topic:
Previous Topic · Next Topic Watch this topic · Print this topic ·
couto7
Posted : Thursday, February 14, 2019 11:55:26 AM
Gold Customer Gold Customer

Joined: 10/14/2004
Posts: 202

Please write a PCF where the 10 Month SMA crosses above the 12 Month SMA 1 day ago and the results to be shown on a daily chart. Also, the MACD 12,29,9 has bullish crossover on a monthly timeframe.

Please write PCF where weekly MACD (12,26,9) first moves above the zero line  and results is shown on a weekly chart with RSI < 30 and Stochastics below 20.

couto7
Posted : Thursday, February 14, 2019 11:58:39 AM
Gold Customer Gold Customer

Joined: 10/14/2004
Posts: 202

Follow up to earlier post: All MACD, RSI and Stochastics (14,3,1) are weekly. 

Bruce_L
Posted : Thursday, February 14, 2019 12:24:38 PM


Worden Trainer

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

The 10 month SMA crossing up through the 12 month SMA for the current trading day would be the following.

C + C21 + C42 + C63 + C84 + C105 + C126 + C147 + C168 + C189 > 5 * (C210 + C231) AND C21 + C42 + C63 + C84 + C105 + C126 + C147 + C168 + C189 + C210 <= 5 * (C231 + C252)

And for the previous trading day would be the following.

C1 + C22 + C43 + C64 + C85 + C106 + C127 + C148 + C169 + C190 > 5 * (C211 + C232) AND C22 + C43 + C64 + C85 + C106 + C127 + C148 + C169 + C190 + C211 <= 5 * (C232 + C253)

Note that you are not going to be able to see the previous crossover if it happened on the previous day when looking at the current monthly chart.

Is the MACD simple or Exponential?

You are specifying three numbers for your MACD. Does that mean you are interested in the MACD Histogram?

If you are not interested in the histogram and just care about the regular MACD, is the "bullish crossover" the MACD crossing up through zero or up through its moving average signal/trigger line?

What is the period of the RSI? Is Use Wilder's Smoothing checked?



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