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.

Alert: Price crosses a SMA

I'm having trouble setting up an advance alert for when a stock price crosses below a 5 day SMA. Any help would be appreciated.

Comments

  • There is only an operator for crossing, which is "x" and it means "cross above". So you have to say you want the sma to cross above price. Counterintuitive, since price moves faster than its average, but that's how it works.


    [symbol is 'xxx']

    and [sma(5,close) x close]
Sign In or Register to comment.