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

Draw Line between Swing Lows and Highs

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

    Draw Line between Swing Lows and Highs

    Hi,

    I am using a price action swing indicator.

    I would like to know if some could help me to add a feature to it..

    1. I would the indicator mark with a line between two lows which possible where the second low is equal (DB) or a LL.
    2. Then the indicator should add a line between the two lows/highs on a standard MACD indicator.

    Second step is to add a filter... Only draw lines between swing lows/highs when
    3. One of these three version of divergence is full filled.
    Attached Files

    #2
    prisonbreaker82, if no one from the community takes this up as a project you could always contact a NinjaScript consultant to add those desired changes for you - http://www.ninjatrader.com/partners#...pt-Consultants

    Good luck,
    BertrandNinjaTrader Customer Service

    Comment


      #3
      Maybe you can help me with this..?

      This is NinjaTrader 6.5 code... I want the code to print a red dot of the high of the bar in my MACD histogram... But when run it it draw the dot on the zero line and not on the high...
      DrawDot("IHdot" + CurrentBar.ToString(), true, HighBar, Indicator[HighBar], Color.Red);
      What is the correct code for NinjaTrader 7.0?

      Comment


        #4
        Hello,

        This should do the trick.

        Indicator[HighBar]

        I suspect no issues here, you can send me the code to support at ninjatrader dot com and we can take a quick look at code if this is still giving you issue.

        Comment


          #5
          Hi Brett,

          Thank you for your fast reply.

          This is exact what I stated and it did not work... It paint the dot on the zero line and not on the high.

          DrawDot("IHdot" + CurrentBar.ToString(), true, HighBar, Indicator[HighBar], Color.Red);

          Comment


            #6
            Hello,

            Understood, I also wrote:I suspect no issues here on this line but possibly an issue somewhere else, you can send me the code to support at ninjatrader dot com and we can take a quick look at code if this is still giving you issue.

            Comment


              #7
              Sorry! I did not understood you correct. I have sent an email to you. Thank you in advance!

              Kind Regards
              Isak

              Comment


                #8
                Originally posted by prisonbreaker82 View Post
                Hi,

                I am using a price action swing indicator.

                I would like to know if some could help me to add a feature to it..

                1. I would the indicator mark with a line between two lows which possible where the second low is equal (DB) or a LL.
                2. Then the indicator should add a line between the two lows/highs on a standard MACD indicator.

                Second step is to add a filter... Only draw lines between swing lows/highs when
                3. One of these three version of divergence is full filled.
                I tried to take a look at your Indicator by downloading PriceActionSwing.zip but wasn't able to extract it due it being a corrupt file. Can you send me a non-corrupt file so I can take a look at how to solve your problem? Thanks.

                Comment

                Latest Posts

                Collapse

                Topics Statistics Last Post
                Started by PaulMohn, Today, 03:49 AM
                0 responses
                6 views
                0 likes
                Last Post PaulMohn  
                Started by inanazsocial, Today, 01:15 AM
                1 response
                9 views
                0 likes
                Last Post NinjaTrader_Jason  
                Started by rocketman7, Today, 02:12 AM
                0 responses
                10 views
                0 likes
                Last Post rocketman7  
                Started by dustydbayer, Today, 01:59 AM
                0 responses
                4 views
                0 likes
                Last Post dustydbayer  
                Started by trilliantrader, 04-18-2024, 08:16 AM
                5 responses
                23 views
                0 likes
                Last Post trilliantrader  
                Working...
                X