Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

Maximum no of ticks moved by MA crossover signall

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

    Maximum no of ticks moved by MA crossover signall

    Hi,

    Need help finding or developing an indicator (or something) that can be used to determine the maximum number of ticks a moving average crossover signal achieved in the direction of the trend before turning to give the counter signal.
    I have attached a picture to assist with what I would like defined by the indicator.
    Looking forward to your feedback and advice.

    Best regards,

    Jeddy
    Attached Files

    #2
    Hi jeddy0510,

    It looks like you're trying to capture close price at the time of crossover and compare this value to the highest high and lowest low until the next crossover. For part of this, you may find functions MAX() and MIN() useful.



    If you're looking to see this idea fully realized, consider a NinjaScript consultant who can be hired to write code to your specifications:
    Ryan M.NinjaTrader Customer Service

    Comment


      #3
      Ryan,
      Thanks for your response and recommendation.
      Can you please provide pointers on how to make the Swing indicator work off the swing points of the Zig Zag indicator? I tried this in NT7 by making the input series the Zig Zag indicator, but had the challenge of what to do with the Swing strength. I left it as the default 5. The result appears to be that the Swing indicator was still working off the price bars rather than the absolute swing points of the Zig zag indicator. Is there a way around this?

      Comment


        #4
        Unfortunately changing the input series in the selection won't make it then calculate on ZigZag values. It may be possible with custom programming but will be challenging, especially considering both Zig Zag and Swing are repainting. For some ideas here, see this thread where another community member was creating a swing of RSI.
        Ryan M.NinjaTrader Customer Service

        Comment

        Latest Posts

        Collapse

        Topics Statistics Last Post
        Started by Geovanny Suaza, 02-11-2026, 06:32 PM
        0 responses
        595 views
        0 likes
        Last Post Geovanny Suaza  
        Started by Geovanny Suaza, 02-11-2026, 05:51 PM
        0 responses
        343 views
        1 like
        Last Post Geovanny Suaza  
        Started by Mindset, 02-09-2026, 11:44 AM
        0 responses
        103 views
        0 likes
        Last Post Mindset
        by Mindset
         
        Started by Geovanny Suaza, 02-02-2026, 12:30 PM
        0 responses
        556 views
        1 like
        Last Post Geovanny Suaza  
        Started by RFrosty, 01-28-2026, 06:49 PM
        0 responses
        554 views
        1 like
        Last Post RFrosty
        by RFrosty
         
        Working...
        X