New Members: Be sure to confirm your email address by clicking on the link that was sent to your email inbox. You will not be able to post messages until you click that link.

Using X as a crossover signal for stochastics

In writing a custom scan for lets say an indicator crossing over a certain point ( assume stochastic crossing over 20). Does the cross over X command designate if the indicator is crossing from above down through 20 or from down up through the 20 ?


  • markdmarkd mod
    edited May 2017
    @JJJJ With the "x" operator, the term on the left, the first term, always crosses above the term on the right.

    So, this says, %K crosses above 20:

    and [Fast Stoch %K(5,1) x 20]

    So, this would find situations where yesterday (or one bar ago) %K was below 20 and today (the current bar) %K is above 20.

    This says, 20 crosses above %K, meaning, in effect, %K crosses below 20:

    and [20 x Fast Stoch %K(5,1)]

    So, this would find situations where yesterday %K was above 20 and today %K is below 20.
  • Got it. Thanks !
Sign In or Register to comment.