Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

OHLC Indicator Help - Cash Market

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

    OHLC Indicator Help - Cash Market

    I am trying to get NJ to plot the previous day's cash market close @ 4pm, as well as the cash market open at 9:30 am. I must admit that I don't know how to work with ninjascript (just learning) so am wondering if anyone has an indicator for this. I did a search, found one, but I couldn't set it up myself.

    Also, if you have pivot calculations off of the same levels, I would appreciate it as well.

    It seems all the indicators assume you don't plot after hours data... which isn't the case for me.

    #2
    You can use this: http://www.ninjatrader-support.com/H...orDayOHLC.html

    Like what you have noticed though, you will need to set your chart settings to start at 9:30AM and end at 4:00PM.

    If you do need the after hours plotted then you are going to have to program your own calculations. Basically take a time filter through the data and weed out any data that is not between 9:30 and 4. Store the open, store the close, calculate the high/low and store them too.

    Here is a sample of how to implement a time filter. You will need to tweak it to your own specific case though. http://www.ninjatrader-support.com/v...ead.php?t=3226
    Josh P.NinjaTrader Customer 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