SawtoothTrade
  • Home
  • Examples
  • Tips
  • Free Stuff
  • Links
  • Blog
  • Services
  • Contact
Picture
 SawtoothTrade

Picture

Simple Alert for slope of 2 MAs

This formula will alert when both moving averages are sloped in the same direction, but only on the first occurrence.

=OR(AND(ID1.SG1>ID1.SG1[-1],ID2.SG1>ID2.SG1[-1],
OR(ID1.SG1[-2]>ID1.SG1[-1],ID2.SG1[-2]>ID2.SG1[-1])),
AND(ID1.SG1<ID1.SG1[-1],ID2.SG1<ID2.SG1[-1],
OR(ID1.SG1[-2]<ID1.SG1[-1],ID2.SG1[-2]<ID2.SG1[-1])))


This assumes that one MA is ID1 and the other is ID2.

Put the formula in any study’s Alerts tab Simple Alert Condition field, or in Chart Settings >> Alerts tab Simple Alert Condition field.

  • Home
  • Examples
  • Tips
  • Free Stuff
  • Links
  • Blog
  • Services
  • Contact