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

MTF problem

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

    MTF problem

    Hello,

    I am trying to develop an indicator that must operate solely on the unit over 30 minutes (see attached file).

    Unfortunately I noticed that the values ​​of Bollinger on the time frame of the chart instead on the 30 minutes.


    I certainly made ​​a mistake but I can not find it. Will you help me, please?

    Bye,

    Michel
    Attached Files

    #2
    Thanks for the post Michel, i've given your script a quick run but don't see what you mean here. The values I get in return are stable for either primary chart, so it doesnt change the outcome for example if your study is charted from 1 min or 5 min timeframe as base. You will only see the plot set with a value for each 30 min interval (your added series).
    BertrandNinjaTrader Customer Service

    Comment


      #3
      Hello Bertrand,

      You're right something is plotted every half hours but the value is wrong.

      The purpose of this indicator is to define the number of ticks between Bollinger upper and Bollinger lower in 30 min time frame.

      Unfortunately the number of ticks is calculated in primary chart instead of 30 min.

      Bye,

      Michel

      Comment


        #4
        I'm not sure I follow you - how do you debug that? If you chart your BB up / dn values from the 30 min > those values fit exactly what the standalone 30 min chart would show. You then divide that by ticksize to arrive at your final indicator display.
        BertrandNinjaTrader Customer Service

        Comment

        Latest Posts

        Collapse

        Topics Statistics Last Post
        Started by TradeForge, 04-19-2024, 02:09 AM
        2 responses
        28 views
        0 likes
        Last Post TradeForge  
        Started by aprilfool, 12-03-2022, 03:01 PM
        3 responses
        327 views
        0 likes
        Last Post NinjaTrader_Adrian  
        Started by giulyko00, Today, 12:03 PM
        1 response
        5 views
        0 likes
        Last Post NinjaTrader_BrandonH  
        Started by f.saeidi, Today, 12:14 PM
        1 response
        4 views
        0 likes
        Last Post NinjaTrader_Gaby  
        Started by AnnBarnes, Today, 12:17 PM
        1 response
        2 views
        0 likes
        Last Post NinjaTrader_Zachary  
        Working...
        X