Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

Color for down bars set to transparent

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

    Color for down bars set to transparent

    Hi

    I am developing a Market Profile and have been trying to get rid of bars on the screen so that they don't mixed up with the profiles and get only frustration.

    If I put the Color for down bars and Color for up bars to Transparent on the Data Series window My Chart shows no more y-axis prices. The scale is between 0 and 0.25 for ES.


    I definitively need help

    Thanks

    #2
    Hello,

    Thank you for your note.

    This should work so long as you have some data ploting in the main window. Do you have an indicator plotting off the transparent data series. For example your custom indicator or if you add an SMA indicator?

    You may need to change Auto Scale to true for your custom indicator.

    Let me know if I can be of further assistance.

    Comment


      #3
      Brett


      Try this :

      File New Chart
      ES 12-10 New

      Put the Chart Style Color for down bars and Color for up bars to Transparent

      The Chart would show no y-axis scale. Form 0 to 0.25

      Comment


        #4
        Hello,

        Yes I did do that, it is expected. You must have something plotting for the chart to work.

        For example:

        File New Chart
        ES 12-10 New

        Put the Chart Style Color for down bars and Color for up bars to Transparent

        Then add an SMA indicator makeing sure its auto scale is set to true and the chart will show the SMA now.

        The same needs to be true for your custom indicator.

        Comment


          #5
          Brett


          It does work for the SMA but it does not for my custom indicator.
          Auto Scale is set to true in the initialize method

          Comment


            #6
            Brett


            Here is what I Have in my initialize method :


            CalculateOnBarClose = false;
            AutoScale = true;
            Overlay = true;
            PriceTypeSupported = false;

            ZOrder = -1;
            startTime = DateTime.Now;

            Comment


              #7
              Bret


              The only way it works is if I set the y-axis manually to a fixed range : 1120.00-1084.00

              Comment


                #8
                blar58,

                The way to do this would be to overwrite the Plot() method with your script. Please see the indicator CustomPlotSample preinstalled with your NinjaTrader. You will find an example of how to just paint over everything and effectively hiding the bars.
                Josh P.NinjaTrader Customer Service

                Comment

                Latest Posts

                Collapse

                Topics Statistics Last Post
                Started by Richozzy38, Yesterday, 01:06 PM
                4 responses
                21 views
                0 likes
                Last Post NinjaTrader_ChelseaB  
                Started by KonAdams, 05-07-2024, 10:53 PM
                2 responses
                15 views
                0 likes
                Last Post KonAdams  
                Started by Patlpp, 08-16-2021, 03:10 PM
                11 responses
                505 views
                0 likes
                Last Post NinjaTrader_LuisH  
                Started by DawnTreader, Yesterday, 05:58 PM
                1 response
                10 views
                0 likes
                Last Post NinjaTrader_Gaby  
                Started by ntram, Yesterday, 05:39 PM
                1 response
                10 views
                0 likes
                Last Post NinjaTrader_Gaby  
                Working...
                X