Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

Indicator / Panel.

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

    Indicator / Panel.

    In my strategy, I am unable to see whether my conditions are being calculated correctly.
    Is there any possible way that once the strategy begins, a new chart forms with the corresponding inidicators?

    Also is it possible for an indicator to calculate on Panel 1 (with price) in a strategy?


    Many Thanks

    #2
    jthom, you can 'Add' your indicators to be displayed by the strategy, this makes it simpler to check if the trading logic works as you would expect - http://www.ninjatrader-support2.com/...ead.php?t=3228

    You can also assign which planel to plot to...this is also contained in the link above.

    Comment


      #3
      Ended up trying that. Still did not work.

      protectedoverridevoid Initialize()
      {
      Sample(
      0.63, 1.3, true).Panel = 1;
      Add(Sample(0.63, 1.3, true));
      CalculateOnBarClose = true;
      }


      Nothing shows at all.

      Comment


        #4
        Does the 'Sample' indicator work successfully when loaded as a standalone study? You can't add specific plots of indicators, just the full indicator as custom programmed. You can take a look at the SampleMACrossOver to see how the calls are done for the two SMA's for example.

        Comment

        Latest Posts

        Collapse

        Topics Statistics Last Post
        Started by charlesugo_1, 05-26-2026, 05:03 PM
        0 responses
        56 views
        0 likes
        Last Post charlesugo_1  
        Started by DannyP96, 05-18-2026, 02:38 PM
        1 response
        143 views
        0 likes
        Last Post NinjaTrader_ChelseaB  
        Started by CarlTrading, 05-11-2026, 05:56 AM
        0 responses
        160 views
        0 likes
        Last Post CarlTrading  
        Started by CarlTrading, 05-10-2026, 08:12 PM
        0 responses
        96 views
        0 likes
        Last Post CarlTrading  
        Started by Hwop38, 05-04-2026, 07:02 PM
        0 responses
        276 views
        0 likes
        Last Post Hwop38
        by Hwop38
         
        Working...
        X