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

Simple Paintbar Question

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

    Simple Paintbar Question

    I'm new to ninja.

    I want to create a paint bar in ninja which colors the bars above a 23 sma blue and bars below the 23 sma red? If this is simple, can someone share with me how to do this?

    Thanks,
    Todd

    #2


    There are a couple of candle routines in that thread. You need to edit and test for the 23 EMA and color candles appropriately.
    eDanny
    NinjaTrader Ecosystem Vendor - Integrity Traders

    Comment


      #3
      Are you sure that is the right thread? I don't see any candlestick scripts in that thread.

      Todd

      Comment


        #4
        toddaclark,

        What you want to do requires custom programming. It is a matter of making an indicator that paints your bars.

        Josh P.NinjaTrader Customer Service

        Comment


          #5
          Originally posted by NinjaTrader_Josh View Post
          toddaclark,

          What you want to do requires custom programming. It is a matter of making an indicator that paints your bars.

          http://www.ninjatrader-support.com/H.../BarColor.html

          Is there a ninja support page or a place on the forums that I can learn how to create such an indicator?

          Todd

          Comment


            #6
            Please review the article posted in my prior post to get some tips on how to paint the bar. As far as creating your own indicators, please review the tutorial here as well as others in the Help Guide: http://www.ninjatrader-support.com/H...tml?Overview23
            Josh P.NinjaTrader Customer Service

            Comment


              #7
              Originally posted by toddaclark View Post
              Are you sure that is the right thread? I don't see any candlestick scripts in that thread.

              Todd
              Post #14, Post #18
              eDanny
              NinjaTrader Ecosystem Vendor - Integrity Traders

              Comment


                #8
                i have a paint bar question.how could i colour paint the price bar.let us say when bar closes above the 9 EMA a certain colour and have change to another colour when price closes below the 9 EMA.your help is much appreciated

                Comment


                  #9
                  You can work with BarColor for this in your code - http://www.ninjatrader-support.com/H.../BarColor.html
                  BertrandNinjaTrader Customer Service

                  Comment

                  Latest Posts

                  Collapse

                  Topics Statistics Last Post
                  Started by ETFVoyageur, 04-30-2024, 02:04 PM
                  11 responses
                  94 views
                  0 likes
                  Last Post ETFVoyageur  
                  Started by bubblegum, 03-18-2024, 10:41 AM
                  3 responses
                  43 views
                  0 likes
                  Last Post vjsworld  
                  Started by JamesK1, Today, 02:48 PM
                  1 response
                  10 views
                  0 likes
                  Last Post JamesK1
                  by JamesK1
                   
                  Started by llanqui, Today, 03:51 PM
                  0 responses
                  9 views
                  0 likes
                  Last Post llanqui
                  by llanqui
                   
                  Started by Quanto, 04-17-2024, 10:43 AM
                  2 responses
                  24 views
                  0 likes
                  Last Post Quanto
                  by Quanto
                   
                  Working...
                  X