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 SalmaTrader, 07-07-2026, 10:26 PM
        0 responses
        47 views
        0 likes
        Last Post SalmaTrader  
        Started by CarlTrading, 07-05-2026, 01:16 PM
        0 responses
        22 views
        0 likes
        Last Post CarlTrading  
        Started by CaptainJack, 06-17-2026, 10:32 AM
        0 responses
        15 views
        0 likes
        Last Post CaptainJack  
        Started by kinfxhk, 06-17-2026, 04:15 AM
        0 responses
        21 views
        0 likes
        Last Post kinfxhk
        by kinfxhk
         
        Started by kinfxhk, 06-17-2026, 04:06 AM
        0 responses
        23 views
        0 likes
        Last Post kinfxhk
        by kinfxhk
         
        Working...
        X