Announcement

Collapse

Looking for a User App or Add-On built by the NinjaTrader community?

Visit NinjaTrader EcoSystem and our free User App Share!

Have a question for the NinjaScript developer community? Open a new thread in our NinjaScript File Sharing Discussion Forum!
See more
See less

Partner 728x90

Collapse

Min/Max Pivot Indicator

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

    Min/Max Pivot Indicator

    Hi,

    Is there an existing indicator that shows:
    1) Maximum High of the last X bars, but only shows ascending slope (hide or chop off descending slope), and
    2) Minimum Low of the last X bars, but only shows descending slope (hide or chop off ascending slope).

    See the attached screenshot to view what I'm getting at. I would like the indicator to look as shown in the screenshot (this is from another platform).

    Thanks,
    gbrad
    Attached Files

    #2
    Hello gbrad,

    I am not aware of an indicator that does exactly this, however, the Swing indicator may be similiar.

    To further clarify, what I am seeing in the screenshot is that as the price increases, the indicator will plot the current highest high on the blue plot in up to 10 bars back. As the price pulls back, if there are 10 bars in a row that do not make a new high, on 10th bar the blue plot will stop plotting. The opposite is true for the red.
    I was not able to see the rule that causes the plot to start plotting, however.

    This thread will remain open for any community members that know of an existing indicator that does this, or would like to code this for you.

    You can also contact one of our professional NinjaScript Consultants who would be eager to create or modify this script at your request or assist you with your script. Please let me know if you would like our business development follow up with you with a list of professional NinjaScript Consultants who would be happy to create this script or any others at your request.
    Chelsea B.NinjaTrader Customer Service

    Comment


      #3
      Min/Max Pivot Indicator

      Hi Chelsea,

      You're description below looks correct. See additional attached screenshot that gives more detail.

      Basic description of indicator is:

      Max(High, X bars back):
      Show step line only if it is ascending
      Hide step line if it is descending

      Min(Low, X bars back):
      Show step line only if it is descending
      Hide step line if it is ascending

      It's really a very simple indicator that:
      - shows the run up to a pivot high
      - shows the run down to a pivot low
      - highlights the major pivot highs/lows within the price structure

      If no one has this, I'll try to program it. I'm not a C# programmer, but I'll see if I can learn enough to figure it out.

      Thanks,
      gbrad

      Comment


        #4
        Min/Max Pivot Indicator

        Forgot the screenshot. See attached.

        -gbrad
        Attached Files

        Comment

        Latest Posts

        Collapse

        Topics Statistics Last Post
        Started by CortexZenUSA, Today, 12:53 AM
        0 responses
        1 view
        0 likes
        Last Post CortexZenUSA  
        Started by CortexZenUSA, Today, 12:46 AM
        0 responses
        1 view
        0 likes
        Last Post CortexZenUSA  
        Started by usazencortex, Today, 12:43 AM
        0 responses
        5 views
        0 likes
        Last Post usazencortex  
        Started by sidlercom80, 10-28-2023, 08:49 AM
        168 responses
        2,266 views
        0 likes
        Last Post sidlercom80  
        Started by Barry Milan, Yesterday, 10:35 PM
        3 responses
        13 views
        0 likes
        Last Post NinjaTrader_Manfred  
        Working...
        X