Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

50% of the previous day

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

    50% of the previous day

    As part of my strategy, I like to look at the previous daily high, low and 50% of that range. The free ninja indicator 'PriorDayOHLC' gives me the prev daily high and low, but not 50% of that range. I do not know how to code in thinkscript and was wondering if theres an easy custom script to add to the PriorDayOHLC code so that it plots 50% of the high and low.

    Thanks!!

    #2
    Hello jtf2021,

    Thanks for your post.

    NinjaTrader uses Ninjascript which is based on the C# programming language.

    I am not aware of an existing indicator that provides the 50% level.

    As you are not familiar with Ninjascript it would be difficult to create this. If you are interested in learning Ninjascript we can provide links to help get you started.

    A non programming alternative you could use would be to add the existing indicator to your chart and then draw a Fibonacci retracement from the low to the high and then edit the drawing and turn off all the levels except the 50% line and have the line extend to the right. To make it easier you can create a Fibonacci retracement template so when you draw you can use the template which would only show the 50% line.
    Reference: https://ninjatrader.com/support/help...bjectTemplates

    If you would like something created for you, we can provide a link to 3rd party programmers in the Ninjatrader ecosystem that can provide that service.

    Comment

    Latest Posts

    Collapse

    Topics Statistics Last Post
    Started by Mindset, 04-21-2026, 06:46 AM
    0 responses
    93 views
    0 likes
    Last Post Mindset
    by Mindset
     
    Started by M4ndoo, 04-20-2026, 05:21 PM
    0 responses
    138 views
    0 likes
    Last Post M4ndoo
    by M4ndoo
     
    Started by M4ndoo, 04-19-2026, 05:54 PM
    0 responses
    68 views
    0 likes
    Last Post M4ndoo
    by M4ndoo
     
    Started by cmoran13, 04-16-2026, 01:02 PM
    0 responses
    123 views
    0 likes
    Last Post cmoran13  
    Started by PaulMohn, 04-10-2026, 11:11 AM
    0 responses
    73 views
    0 likes
    Last Post PaulMohn  
    Working...
    X