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 SalmaTrader, 07-07-2026, 10:26 PM
    0 responses
    54 views
    0 likes
    Last Post SalmaTrader  
    Started by CarlTrading, 07-05-2026, 01:16 PM
    0 responses
    25 views
    0 likes
    Last Post CarlTrading  
    Started by CaptainJack, 06-17-2026, 10:32 AM
    0 responses
    17 views
    0 likes
    Last Post CaptainJack  
    Started by kinfxhk, 06-17-2026, 04:15 AM
    0 responses
    23 views
    0 likes
    Last Post kinfxhk
    by kinfxhk
     
    Started by kinfxhk, 06-17-2026, 04:06 AM
    0 responses
    24 views
    0 likes
    Last Post kinfxhk
    by kinfxhk
     
    Working...
    X