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 CarlTrading, 03-31-2026, 09:41 PM
    1 response
    42 views
    0 likes
    Last Post NinjaTrader_ChelseaB  
    Started by CarlTrading, 04-01-2026, 02:41 AM
    0 responses
    20 views
    0 likes
    Last Post CarlTrading  
    Started by CaptainJack, 03-31-2026, 11:44 PM
    0 responses
    29 views
    1 like
    Last Post CaptainJack  
    Started by CarlTrading, 03-30-2026, 11:51 AM
    0 responses
    46 views
    0 likes
    Last Post CarlTrading  
    Started by CarlTrading, 03-30-2026, 11:48 AM
    0 responses
    38 views
    0 likes
    Last Post CarlTrading  
    Working...
    X