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:	110
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 CarlTrading, 03-31-2026, 09:41 PM
      1 response
      47 views
      0 likes
      Last Post NinjaTrader_ChelseaB  
      Started by CarlTrading, 04-01-2026, 02:41 AM
      0 responses
      23 views
      0 likes
      Last Post CarlTrading  
      Started by CaptainJack, 03-31-2026, 11:44 PM
      0 responses
      33 views
      1 like
      Last Post CaptainJack  
      Started by CarlTrading, 03-30-2026, 11:51 AM
      0 responses
      51 views
      0 likes
      Last Post CarlTrading  
      Started by CarlTrading, 03-30-2026, 11:48 AM
      0 responses
      42 views
      0 likes
      Last Post CarlTrading  
      Working...
      X