• If this is your first visit, you will have to register before you can post. To view messages, please scroll below and select the forum that you would like to visits. Questions? Be sure to check out the Forum FAQ.

Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

Show Plot PriceMarker but not Plot line

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

    Show Plot PriceMarker but not Plot line

    Hi

    Is there a way to show a Plot's PriceMarker but not show the Plot line.

    thanks

    #2
    Hello,

    You can set the Plot color to the same color as the background of the chart. This will hide the plot from the chart, but there should be the numeric value and outline of the price marker on the right panel.
    MatthewNinjaTrader Product Management

    Comment


      #3
      thx Mathew

      yes that does as you say, thx for that.

      however is it poss to get some color onto that marker ? perhaps by the FormatPriceMarker override ?

      Comment


        #4
        here is the answer for me.

        use PlotStyle.Hash when adding the Plot

        use the following two statements in the OnBarUpdate override.

        Values[0].Set(yournumber);
        Values[0].Set(1,0);

        the second statement overwrites the prior bar plot value with a zero value, so you should see a horizontal line at the zero level.

        you will get a single plot marker on the current bar at your level and you will still get a colored price marker (using the Hash style means that the markers are not connected to each other, so you get the single plot at your number while all the other plots become zero - if you use the Line style then you would get a vertical line from zero to your number on the current bar, as Ninja connects the zero to your number)

        hope this helps someone
        Last edited by I_Quant; 04-10-2012, 02:22 AM.

        Comment


          #5
          A related question... Is it possible output the plot line, but not the price on the right-axis? (opposite of the initial question.

          Thanks!
          Daniel

          Comment


            #6
            Hi Daniel,

            You can disable this by: right clicking on your chart--> select "Indicators" and set the "Price market(s)" options to false.

            Please let me know if you need further assistance.
            MatthewNinjaTrader Product Management

            Comment


              #7
              Originally posted by neoikon View Post
              A related question... Is it possible output the plot line, but not the price on the right-axis? (opposite of the initial question.

              Thanks!
              Daniel
              The free manual? Very nice if we read it.

              ref: http://www.ninjatrader.com/support/h...icemarkers.htm

              Comment


                #8
                Thanks for the reply, but that doesn't help me.

                I need to individually turn the plots on or off. Not simply turn them all off. Yes, I am very familiar with the manual, koganam.

                Comment


                  #9
                  I would like to show a Price Marker on the actual chart not only on the Y-Axis.

                  It will be useful with Heiken Shi charts as they show more of a trend.

                  Can you clarify the below?

                  I could start with a new plot with Close[0] ?

                  Irvin

                  Comment


                    #10
                    Hello ij001,

                    Thank you for your post.

                    You would disable the price marker via PaintPriceMarkers: http://www.ninjatrader.com/support/h...icemarkers.htm

                    Then use DrawText() at whatever level from the Close[0] or value of the indicator: http://www.ninjatrader.com/support/h...7/drawtext.htm
                    Patrick H.NinjaTrader Customer Service

                    Comment

                    Latest Posts

                    Collapse

                    Topics Statistics Last Post
                    Started by pennywise, Yesterday, 04:14 PM
                    1 response
                    13 views
                    0 likes
                    Last Post NinjaTrader_ChelseaB  
                    Started by MarthaClines, Today, 06:20 PM
                    0 responses
                    7 views
                    0 likes
                    Last Post MarthaClines  
                    Started by Irukandji, 05-09-2019, 04:28 AM
                    38 responses
                    299 views
                    0 likes
                    Last Post nkhoi
                    by nkhoi
                     
                    Started by manugarc, Today, 01:15 PM
                    0 responses
                    11 views
                    0 likes
                    Last Post manugarc  
                    Started by JMont1, Today, 11:42 AM
                    0 responses
                    10 views
                    0 likes
                    Last Post JMont1
                    by JMont1
                     
                    Working...
                    X