Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

Empty space between moving averages

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

    Empty space between moving averages

    Hi,

    during consolidation phases there are many crossovers between moving averages, and even more problematic for me, the space is very compressed between moving averages (in blue).

    When we're out of consolidation, the moving averages start to "breath" a little bit (green) and this is better for my strategy.

    Is there a way to detect / analyze the compressed (blue) areas in ninjascript? I have been trying to compare percentages of prices between the MA, but this is not really great and highly subjective with the price of the instrument.

    Let me know if you have any idea! Thanks and have a great day.


    Click image for larger version

Name:	ma.jpg
Views:	105
Size:	119.3 KB
ID:	1202681

    #2
    Hello RT001,

    To find the area of the space between the averages you would have to subtract the smaller average from the larger to get a overall difference in price. That would let you know how much space is between the averages to use as a condition. That would be the only way to know if the bands are close or note besides using a percentage however that would still require finding a difference so it may be more simple to just use a price difference for the given instrument.






    Comment


      #3
      Got it, thank you!

      Comment

      Latest Posts

      Collapse

      Topics Statistics Last Post
      Started by NullPointStrategies, Yesterday, 05:17 AM
      0 responses
      56 views
      0 likes
      Last Post NullPointStrategies  
      Started by argusthome, 03-08-2026, 10:06 AM
      0 responses
      133 views
      0 likes
      Last Post argusthome  
      Started by NabilKhattabi, 03-06-2026, 11:18 AM
      0 responses
      73 views
      0 likes
      Last Post NabilKhattabi  
      Started by Deep42, 03-06-2026, 12:28 AM
      0 responses
      45 views
      0 likes
      Last Post Deep42
      by Deep42
       
      Started by TheRealMorford, 03-05-2026, 06:15 PM
      0 responses
      49 views
      0 likes
      Last Post TheRealMorford  
      Working...
      X