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 |

MACD and STOCHASTICS CROSSOVERS Rate this Topic:
Previous Topic · Next Topic Watch this topic · Print this topic ·
Rasean827
Posted : Tuesday, February 2, 2010 12:49:05 PM
Registered User
Joined: 1/7/2010
Posts: 11
IS THERE A SCAN THAT YOU CAN FIND WHERE STOCHASTICS AND MACD BOTH CROSS UP BUT THE STOCHASTICS IS BELOW 40 AND THE MACD IS CLOSE OR IN OVERSOLD TERRITORY....OF COURSE YOU KNOW THE STOCHASTICS WILL ALWAYS CROSS UP BEFORE MACD....ANY HELP THANKS
Bruce_L
Posted : Wednesday, February 3, 2010 11:58:03 AM


Worden Trainer

Joined: 10/7/2004
Posts: 65,138
I'm not quite sure what "MACD IS CLOSE OR IN OVERSOLD TERRITORY", so I just checked for it being at or above zero. Dragging and Dropping the MACD, Stochastic and their Moving Averages into the Code tab of the RealCode Editor should create something similar to first four lines of the following RealCode Rule (had to change the variable names assigned to the Dragged and Dropped Moving Averages so they both weren't MovA):

'# Stoc = indicator.Stochastics
'# MovAofStoc = indicator.MovAvg.3
'# MACD = indicator.MACD
'# MovAofMACD = indicator.MovAvg.2
If Stoc.Value > MovAofStoc.Value AndAlso _
    Stoc.Value < 40 AndAlso _
    MACD.Value > MovAofMACD.Value AndAlso _
    MACD.Value >= 0 AndAlso _
    (MACD.Value(1) <= MovAofMACD.Value(1) OrElse _
    Stoc.Value(1) <= MovAofStoc.Value(1)) Then Pass

-Bruce
Personal Criteria Formulas
TC2000 Support Articles
Rasean827
Posted : Friday, February 5, 2010 12:01:40 PM
Registered User
Joined: 1/7/2010
Posts: 11
thanks ur the man
Bruce_L
Posted : Friday, February 5, 2010 12:04:34 PM


Worden Trainer

Joined: 10/7/2004
Posts: 65,138
You're welcome.

-Bruce
Personal Criteria Formulas
TC2000 Support Articles
Rasean827
Posted : Friday, February 5, 2010 12:36:11 PM
Registered User
Joined: 1/7/2010
Posts: 11
i meant the macd line crossing above the move avg line on the macd sorry
Bruce_L
Posted : Friday, February 5, 2010 12:41:26 PM


Worden Trainer

Joined: 10/7/2004
Posts: 65,138
It already checks for exactly that (along with your other conditions). The entirety of the conditions required are the MACD is above zero, the Stochastic is below 40, the MACD and Stochastic are both above their Moving Averages and either the MACD or the Stochastic was at or below their Moving Average during the previous Bar.

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