Announcement

Collapse
No announcement yet.

WithIn the Past X Bars ???

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • WithIn the Past X Bars ???

    Is there an EFS that will let me check to see if one MA crossed either above or below another MA "WITHIN the Last xNumber of Bars" ????

    Thanks
    OpaBert

  • #2
    You can find what you looking for in this thread.


    Fibbgann
    Excellent book on JavaScript for beginners

    Comment


    • #3
      1 Part of the solution to a crossover ???

      Thanks for the referral.

      The crossover seems to occur by the end of the current bar, or at a specified bar.

      How should it be modified to look back xNumber of bars to determine if a crossover occured "at any time" WITHIN the last xNumber of bars????

      The condition would be true if MAx crossed above MAy "at any time" WITHIN the last xNumber of bars.

      How is this part written?
      OpaBert

      Comment

      Working...
      X