Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

indicator using a fixed time frame

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

    indicator using a fixed time frame

    i developed an indicator whichgives the information from sixty minute chart, no matter in which time frame it is used. When i use the indicator in an empty chart , it works fine. but, when i use the indicator in the strategy, it doesnt work ... can anyone please help??
    Attached Files

    #2
    Hello sai.bhaskar,

    Thank you for your post and welcome to the NinjaTrader Support Forum!

    Both screenshots appear to show the indicator working correctly. Can you provide the indicator and strategy .cs files in your response?

    You will find them in the (My) Documents\NinjaTrader 7\bin\Custom\Strategy and Indicator folders.

    Comment


      #3
      the indicator shown i the first photo has to change its value for every one hour but it doesn't . it changes in the second

      Comment


        #4
        Hello sai.bhaskar,

        Thank you for your response.

        Is the Strategy set to CalculateOnBarClose = False? And when you use the Indicator without the strategy, is the Indicator set to CalculateOnBarClose = True?

        Comment


          #5
          the strategy is set to CalculateOnBarClose = True.
          the Indicator is also set to CalculateOnBarClose = True

          Comment


            #6
            Hello sai.bhaskar,

            Thank you for your response.

            Can you provide the indicator and strategy .cs files in your response?

            You will find them in the (My) Documents\NinjaTrader 7\bin\Custom\Strategy and Indicator folders.

            Comment

            Latest Posts

            Collapse

            Topics Statistics Last Post
            Started by pechtri, 06-22-2023, 02:31 AM
            10 responses
            124 views
            0 likes
            Last Post Leeroy_Jenkins  
            Started by judysamnt7, 03-13-2023, 09:11 AM
            4 responses
            59 views
            0 likes
            Last Post DynamicTest  
            Started by ScottWalsh, Yesterday, 06:52 PM
            4 responses
            36 views
            0 likes
            Last Post ScottWalsh  
            Started by olisav57, Yesterday, 07:39 PM
            0 responses
            7 views
            0 likes
            Last Post olisav57  
            Started by trilliantrader, Yesterday, 03:01 PM
            2 responses
            22 views
            0 likes
            Last Post helpwanted  
            Working...
            X