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

Need help Modifying a volume count display to show Tick

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

    Need help Modifying a volume count display to show Tick

    Good Day,

    I have an indicator that displays the volume countdown and want to make so it counts down tick instead. I am aware there are indicators out there that do similar to this, but this one is unique due to it's location. I am unable to contact the original developer for assistance but want this for my own use. I know squat about script

    First time at this, but i feel obligated to not give away the indicator, so can i provide pieces to help in modifying the code?

    Thanks in advance for any assistance.

    Regards,

    To add, i have been able to do a compile up to the following issue:

    if (Bars.Period.Id == PeriodType.Tick) //check period ID = tick

    {
    tick = Tick[0]

    i tried replacing "volume" with "tick" in the immediate line above but the errors are:

    NinjaTrader.Data.Tick is a 'type' but is used like a 'variable'. and
    NinjaTrader.Data.Tick is inaccessible due to its protection level.

    Thanks for any help.
    Last edited by 1043mcc; 10-21-2015, 10:59 AM.

    #2
    Hello 1043mcc,

    Thanks for your post and welcome to the forums!

    You might want look at and compare the differences in code between the standard Ninjatrader TickCounter and VolumeCounter indicators.

    In addition for other options you may want to have a look at a member uploaded tickcounter here: http://ninjatrader.com/support/forum...d=4&linkid=513 which features:
    1. Select text color.
    2. Select an additional 'alert' text color.
    3. Select number of ticks from bar close to trigger alert color change.
    4. Select text font.
    5. Option to omit the descriptive text "Ticks remaining=".
    6. Choice for location of text- Top/Bottom-Right/Left or Float along Y-axis at current price.
    Paul H.NinjaTrader Customer Service

    Comment

    Latest Posts

    Collapse

    Topics Statistics Last Post
    Started by PaulMohn, Today, 12:36 PM
    1 response
    12 views
    0 likes
    Last Post NinjaTrader_Gaby  
    Started by yertle, Yesterday, 08:38 AM
    8 responses
    36 views
    0 likes
    Last Post ryjoga
    by ryjoga
     
    Started by rdtdale, Today, 01:02 PM
    1 response
    5 views
    0 likes
    Last Post NinjaTrader_LuisH  
    Started by alifarahani, Today, 09:40 AM
    3 responses
    16 views
    0 likes
    Last Post NinjaTrader_Jesse  
    Started by RookieTrader, Today, 09:37 AM
    4 responses
    19 views
    0 likes
    Last Post RookieTrader  
    Working...
    X