• 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

Add color as allowable input parameter for indicators

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

    Add color as allowable input parameter for indicators

    It would be nice if, instead of setting input parameters as int, double, bool, or string, we could also set a color value.

    Yes, the wizard asks for plot and their colors, but that isn't the point. There are times when color is needed as an input parameter, and not part of a plot series:
    • I may want ONE plot series with multiple colors, not a handful of plot series each with their own color.
    • I may not have a plot series at all, but rather my indicator draws trendlines of various colors.
    • I may want to specify separate colors for other entities, such as text labels.
    I can't do these things because there isn't any input parameter type for color. I know I can simply have integers inputs as colors, but this isn't practical when applying the indicator to a chart.


    -Alex

    #2
    Thanks for the suggestion.

    Please see this tip for creating color based inputs.

    http://www.ninjatrader-support.com/v...ead.php?t=4977
    RayNinjaTrader Customer Service

    Comment


      #3
      Thanks! That looks simple enough. I hope this can be integrated into a future release.
      -Alex

      Comment


        #4
        Originally posted by anachronist View Post
        It would be nice if, instead of setting input parameters as int, double, bool, or string, we could also set a color value.

        Yes, the wizard asks for plot and their colors, but that isn't the point. There are times when color is needed as an input parameter, and not part of a plot series:
        • I may want ONE plot series with multiple colors, not a handful of plot series each with their own color.
        • I may not have a plot series at all, but rather my indicator draws trendlines of various colors.
        • I may want to specify separate colors for other entities, such as text labels.

        I can't do these things because there isn't any input parameter type for color. I know I can simply have integers inputs as colors, but this isn't practical when applying the indicator to a chart.


        -Alex
        I second this
        ~J

        Comment


          #5
          Hello JerryWar,

          Thank you for your suggestion on how we can improve our product. This has been sent to our development team for further consideration.

          Here is an example of user-definable color inputs in NinjaTrader 7 using NinjaScript: http://www.ninjatrader.com/support/f...ead.php?t=4977

          Please let us know if we may be of further assistance.
          Michael M.NinjaTrader Quality Assurance

          Comment


            #6
            Ninja MichaelM

            After going thru some gyrations with Ninja 8 because of some erroneous documentation I have learned how to do this in Ninja 8 which is slightly different than NT7 which you posted. I believe the original comment was regarding NT8. I still think it should be added as part of the NT8 Wizard.

            Regards
            ~J

            Comment


              #7
              Hello JerryWar,

              We are currently in the process of updating the documentation for NinjaTrader 8. I believe the original post in this thread was created before NinjaTrader 7 was released, however I have confirmed this feature has been submitted for consideration into NinjaTrader 8 as well.

              Please let us know if we may be of further assistance.
              Michael M.NinjaTrader Quality Assurance

              Comment


                #8
                Brushes will be added to the Wizard's Input Parameter options in NT8 Beta 3 per #8417
                MatthewNinjaTrader Product Management

                Comment

                Latest Posts

                Collapse

                Topics Statistics Last Post
                Started by shodson, 02-11-2020, 07:26 PM
                3 responses
                19 views
                0 likes
                Last Post shodson
                by shodson
                 
                Started by ksarin, Today, 04:31 PM
                0 responses
                4 views
                0 likes
                Last Post ksarin
                by ksarin
                 
                Started by ralett, Today, 03:39 PM
                0 responses
                8 views
                0 likes
                Last Post ralett
                by ralett
                 
                Started by koganam, Today, 03:17 PM
                1 response
                11 views
                0 likes
                Last Post NinjaTrader_Kate  
                Started by DTSSTS, Today, 02:46 PM
                4 responses
                15 views
                0 likes
                Last Post DTSSTS
                by DTSSTS
                 
                Working...
                X