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 helpwanted, Today, 03:06 AM
                  0 responses
                  3 views
                  0 likes
                  Last Post helpwanted  
                  Started by Brevo, Today, 01:45 AM
                  0 responses
                  6 views
                  0 likes
                  Last Post Brevo
                  by Brevo
                   
                  Started by aussugardefender, Today, 01:07 AM
                  0 responses
                  5 views
                  0 likes
                  Last Post aussugardefender  
                  Started by pvincent, 06-23-2022, 12:53 PM
                  14 responses
                  242 views
                  0 likes
                  Last Post Nyman
                  by Nyman
                   
                  Started by TraderG23, 12-08-2023, 07:56 AM
                  9 responses
                  384 views
                  1 like
                  Last Post Gavini
                  by Gavini
                   
                  Working...
                  X