Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

Looking for inside bar indicator

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

    #31
    Hello sonia0101,

    Thanks for your post.

    You can use the Draw.text() method to draw any text you wish, where you wish.
    https://ninjatrader.com/support/help...?draw_text.htm

    We will leave this thread open for any forum member that would like to assist you with the modifications you seek.

    Alternately, if you would like it created for you, we can provide references to 3rd party programmers avaialble in the NinjaTrader ecossytem that can provide the programming service.
    Paul H.NinjaTrader Customer Service

    Comment


      #32
      Originally posted by NinjaTrader_PaulH View Post
      Hello sonia0101,

      Thanks for your post.

      You can use the Draw.text() method to draw any text you wish, where you wish.
      https://ninjatrader.com/support/help...?draw_text.htm

      We will leave this thread open for any forum member that would like to assist you with the modifications you seek.

      Alternately, if you would like it created for you, we can provide references to 3rd party programmers avaialble in the NinjaTrader ecossytem that can provide the programming service.
      Hi thanks for response as I have read yall are not here to write scripts but any chance you/or any helping member could point me in right direction to where in the code what I would change to accomplish what I seek?
      Thanks in advance

      trying to do it in strategy wizard but I can only get it to plot on the most current bar.. Plus even if successful don't know how to make indicator out of a strategy. Is there a wizard for indicators somewhat like the strategy wizard?
      Again thanks for any help.
      Last edited by sonia0101; 09-15-2020, 03:51 PM.

      Comment


        #33
        Hello sonia0101,

        Thanks for your reply.

        Correct, thanks for your understanding. We will leave this thread open for any forum member that would like to assist in making modifications to the indicator.

        In the Strategy Builder, when you create the draw text it will only show the latest occurrence of the text. To have all prior text remain you have to create a unique "Tag name" for the text object. Here is a short video that shows how to create unique tag names to allow all previous objects to remain on the chart: https://paul-ninjatrader.tinytake.co...NV8xMDk5MDc5Nw

        There is a Ninjascript indicator wizard but it would not function the same as the Strategy Builder, the indicator wizard would create the base structure needed for the inputs, plots and other data series. It does not provide a condition builder such as is in the Strategy Builder.
        Paul H.NinjaTrader Customer Service

        Comment


          #34
          Originally posted by NinjaTrader_PaulH View Post
          Hello sonia0101,

          Thanks for your reply.

          Correct, thanks for your understanding. We will leave this thread open for any forum member that would like to assist in making modifications to the indicator.

          In the Strategy Builder, when you create the draw text it will only show the latest occurrence of the text. To have all prior text remain you have to create a unique "Tag name" for the text object. Here is a short video that shows how to create unique tag names to allow all previous objects to remain on the chart: https://paul-ninjatrader.tinytake.co...NV8xMDk5MDc5Nw

          There is a Ninjascript indicator wizard but it would not function the same as the Strategy Builder, the indicator wizard would create the base structure needed for the inputs, plots and other data series. It does not provide a condition builder such as is in the Strategy Builder.
          Hi ok tks any chance you could point me in the direction of how once one has created the conditions they like/need in strategy builder and it works as such(strategy) what are the steps to make said strategy a indicator? Please understanding the only reason am messing with strategy builder is because I can't code and at least I got 1 bar to print the 1-LOL if I am lucky enough to get it to work properly how i want, then how to make a indicator
          Thanks in advance

          edit: As well anyone I am sure from all the talent here this is a no brainer for somebody? Much appreciated if one could please code a indicator that will print a number "1" on a chart under "inside bars" and share here would be great. I have tried altering the indi that I thanked AlanP for creating but I was not good, I don't know which part of the code to change to get result I am looking for?
          Thanks again for any help
          Last edited by sonia0101; 09-16-2020, 04:48 PM.

          Comment


            #35
            Hello sonia0101,

            Thanks for your reply.

            It would be difficult for someone that does not know coding to convert a strategy to an indicator.

            In the inside bar indicator is this code:

            if(High[0]<High[1] && Low[0]>Low[1])
            {
            BarBrush = BorderBrush;

            }


            You can add the draw.text() below BarBrush, like this:

            if(High[0]<High[1] && Low[0]>Low[1])
            {
            BarBrush = BorderBrush;
            Draw.Text(this, "test"+CurrentBar, "1", 0, Low[0] - 4 * TickSize); // Draw 1 4 ticks below the low of the bar
            }
            Paul H.NinjaTrader Customer Service

            Comment


              #36
              Originally posted by NinjaTrader_PaulH View Post
              Hello sonia0101,

              Thanks for your reply.

              It would be difficult for someone that does not know coding to convert a strategy to an indicator.

              In the inside bar indicator is this code:

              if(High[0]<High[1] && Low[0]>Low[1])
              {
              BarBrush = BorderBrush;

              }


              You can add the draw.text() below BarBrush, like this:

              if(High[0]<High[1] && Low[0]>Low[1])
              {
              BarBrush = BorderBrush;
              Draw.Text(this, "test"+CurrentBar, "1", 0, Low[0] - 4 * TickSize); // Draw 1 4 ticks below the low of the bar
              }
              Hi PaulH-
              THANK YOU! exactly what was trying to do. Of course now I see I need a few tweaks(for things I did not think about)- THANKS for a solid beginning. Much appreciated.

              Thanks for the NT support above and beyond!
              Last edited by sonia0101; 09-18-2020, 03:21 PM.

              Comment

              Latest Posts

              Collapse

              Topics Statistics Last Post
              Started by jjygwbejjhf, Today, 07:46 AM
              0 responses
              1 view
              0 likes
              Last Post jjygwbejjhf  
              Started by localappleseed, Yesterday, 08:16 PM
              1 response
              11 views
              0 likes
              Last Post NinjaTrader_Jesse  
              Started by aslane, Today, 06:57 AM
              1 response
              10 views
              0 likes
              Last Post NinjaTrader_Kate  
              Started by MisterGee, Yesterday, 09:27 PM
              2 responses
              18 views
              0 likes
              Last Post MisterGee  
              Started by soyjesus, Today, 05:27 AM
              0 responses
              5 views
              0 likes
              Last Post soyjesus  
              Working...
              X