Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

Multi Time Frame plotting question

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

    Multi Time Frame plotting question

    I have an indicator/strategy that I was using to determine when the High or Low exceeded the Bollinger Band on a 1 Minute HA chart and then plot this on a HA Volume chart.

    Worked fine in B9 but when I just tried it again, the scaling is off.

    I pared the strategy down to just the basics and it still has the same issue.

    Tried this on TF and 6B, same results. Got it to work correctly on 6E.

    Am I missing something?

    Code:
    protected override void Initialize()
            {
    
                CalculateOnBarClose = true;
    	    AddHeikenAshi("TF 06-10", PeriodType.Minute, 1, MarketDataType.Last);
            }
    
            /// <summary>
            /// Called on each bar update event (incoming tick)
            /// </summary>
            protected override void OnBarUpdate()
            {
                if (BarsInProgress == 1)
    		{
    		if (High[0] >= Bollinger(2, 14).Upper[0])
    		{
    			DrawDiamond("tagshort23" + CurrentBar, true,0, High[0] + 2 * TickSize, Color.Purple);
    		}
    		else if (Low[0] <= Bollinger(2, 14).Lower[0])
    		{
    			DrawDiamond("taglong23" + CurrentBar, true,0, Low[0] - 2 * TickSize, Color.Purple);
    		}
    	}
            }
    Attached Files

    #2
    Hello,

    Since you are asking about NT7, I will have someone reply to you on Monday. Thank you for your patience.
    DenNinjaTrader Customer Service

    Comment


      #3
      gyoung,

      This is what it looks like on the current sources from an indicator with your exact code. It seems to be working which leads me to believe it has been fixed. Can you please try again on the next version and let us know if you still see an issue? Thank you.
      Attached Files
      Josh P.NinjaTrader Customer Service

      Comment


        #4
        Josh,
        Just tried this with B11 and still have the same issue.
        I have recently reinstalled .Net as well to eliminate that as a culprit.

        Note: It now works properly on the TF but still not on the 6E.

        Comment


          #5
          You can't just attach the same indicator onto 6E. Your indicator says to draw dots at the price levels of TF. 6E is down at 1.3620 as the price level while the TF is up in 679. Please amend your code to reflect the instrument you are using and you should find it works well.
          Josh P.NinjaTrader Customer Service

          Comment


            #6
            Josh,
            I do understand that.
            I have been modifying the code when I swap between the 6E and TF.
            I just reinstalled .Net and it works now.
            There is something weird going on that my .Net keeps getting corrupted.
            Might try rebuilding the machine from scratch to see if this resolves the issue.

            Comment

            Latest Posts

            Collapse

            Topics Statistics Last Post
            Started by Geovanny Suaza, 02-11-2026, 06:32 PM
            0 responses
            597 views
            0 likes
            Last Post Geovanny Suaza  
            Started by Geovanny Suaza, 02-11-2026, 05:51 PM
            0 responses
            343 views
            1 like
            Last Post Geovanny Suaza  
            Started by Mindset, 02-09-2026, 11:44 AM
            0 responses
            103 views
            0 likes
            Last Post Mindset
            by Mindset
             
            Started by Geovanny Suaza, 02-02-2026, 12:30 PM
            0 responses
            556 views
            1 like
            Last Post Geovanny Suaza  
            Started by RFrosty, 01-28-2026, 06:49 PM
            0 responses
            555 views
            1 like
            Last Post RFrosty
            by RFrosty
             
            Working...
            X