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

Few indicator questions

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

    Few indicator questions

    Hi,

    I developed a simple volume bars indicators that draws the volume plus its EMA and some more lines.
    I use CalculateOnBarClose=False since I want to see the volume as it's built, but I don't want for every tick to calculate the EMA and the other lines, only when the bar is closed i want to calculate those, can I do that? I tried to do the calculations only if it is the FirstTickOfBar but it doesn't work (thought it will update the previous bar).

    Second question: In this volume indicator I want to see the value of the volume only in the price marker and no the values of the other lines, can I do that?

    thx,
    Yuval.

    #2
    Hi Yuval, I think the best option is to go with two indicators for this. Thus you can easily split the 'PaintPriceMarkers' and 'CalculateOnBarClose' settings as needed.
    BertrandNinjaTrader Customer Service

    Comment


      #3
      Originally posted by NinjaTrader_Bertrand View Post
      Hi Yuval, I think the best option is to go with two indicators for this. Thus you can easily split the 'PaintPriceMarkers' and 'CalculateOnBarClose' settings as needed.
      Two indicators that displays volume seems redundant to me, I am trying to reduce the amount of panels I need to look at...

      Comment


        #4
        That's what I understood, too - if I understood you correctly just add your custom indicator overlaid on the standard volume...
        BertrandNinjaTrader Customer Service

        Comment


          #5
          Ah, how do I put several indicators on the same panel?

          Comment


            #6
            You select the same panel when adding those to your chart (under General in the indicator properties). Of course they need to share the same relative scale in NinjaTrader 6.5
            BertrandNinjaTrader Customer Service

            Comment


              #7
              Thx! I'll try that...

              Originally posted by NinjaTrader_Bertrand View Post
              You select the same panel when adding those to your chart (under General in the indicator properties). Of course they need to share the same relative scale in NinjaTrader 6.5

              Comment


                #8
                When having 2 indicators on the same panel, can I decide who will be on top? (like z-index in html).

                Comment


                  #9
                  Unfortunately not directly yuvalw, try loading the indicator that should plot on top as the last one.
                  BertrandNinjaTrader Customer Service

                  Comment

                  Latest Posts

                  Collapse

                  Topics Statistics Last Post
                  Started by helpwanted, Today, 03:06 AM
                  1 response
                  7 views
                  0 likes
                  Last Post sarafuenonly123  
                  Started by Brevo, Today, 01:45 AM
                  0 responses
                  7 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
                  385 views
                  1 like
                  Last Post Gavini
                  by Gavini
                   
                  Working...
                  X