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

Getting Current Indicator Values

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

    Getting Current Indicator Values

    I'm experimenting with a multi-time frame strategy that loads both the 1 tick and 1 minute charts. I wanted to get the current MACD value on the 1 minute chart at different stages of the 1 minute time frame, so in between candle open and closes. Is this possible? From testing it, I'm getting the same MACD value through the whole minute at various intervals, so I guess it's giving me the latest closed candle's value over and over.

    How can I get the unfinished recent candle's current value for MACD or other indicators?

    It is probably an easy solution but I'm sure I'll save a lot of time asking one of you! Thank you

    #2
    Hello gredenko,

    Thanks for your post.

    Are you looking at this with live data, market replay data and/or historical data?

    What Calculate mode are you using?

    Paul H.NinjaTrader Customer Service

    Comment


      #3
      Hey Paul, I'm using Calculate.OnEachTick and historical data.

      Comment


        #4
        Hello gredenko,

        Thanks for your reply.

        Please enable "Tick Replay" to see the indicator update per tick historically.

        Paul H.NinjaTrader Customer Service

        Comment

        Latest Posts

        Collapse

        Topics Statistics Last Post
        Started by nightstalker, Today, 01:32 PM
        0 responses
        1 view
        0 likes
        Last Post nightstalker  
        Started by NTCalmPersistence15, Today, 10:03 AM
        1 response
        10 views
        0 likes
        Last Post NinjaTrader_ChristopherJ  
        Started by DawnTreader, 05-08-2024, 05:58 PM
        13 responses
        45 views
        0 likes
        Last Post NinjaTrader_Gaby  
        Started by jpeep, 08-16-2020, 08:31 AM
        15 responses
        497 views
        0 likes
        Last Post notenufftime  
        Started by ldanenberg, Yesterday, 03:19 PM
        2 responses
        13 views
        0 likes
        Last Post ldanenberg  
        Working...
        X