Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

Indicator does not plot

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

    Indicator does not plot

    Hi,
    I am testing a multi instrument strategy.
    In the strategy code, I use Add() to plot indicators

    When the strategy runs live, the indicator plot correctly.
    But it does not plot in the chart window of the strategy analyser. The analysis report seems ok, and I do not have any message in the log tab.

    Would you have any suggestion as to what could be wrong ?
    Thank you for your help

    #2
    Which indicator do you add like this? A single or MultiPlot one?
    BertrandNinjaTrader Customer Service

    Comment


      #3
      Thank you for your answer;

      the indicators are single plot.

      Comment


        #4
        Hmm, any error you see in the log as this happens? Which version of NinjaTrader are you running currently?
        BertrandNinjaTrader Customer Service

        Comment


          #5
          No error in the log file,
          NT 6.5.1000.14

          I was thinking at some kind of missing refresh (?), as it work ok with real time feed and as the indicators are used to enter positions and this works fine.

          Comment


            #6
            Thanks - do you see the same with our default SampleMACrossOver strategy and the 2 SMA's it ADD's?
            BertrandNinjaTrader Customer Service

            Comment


              #7
              SampleMA crossover works fine, i.e. I can see the MA on the chart tab in the strategy analyser,
              as well as another strategy I developped myself

              Comment


                #8
                fle__,

                Can you please attach the problematic strategy? Thank you.
                Josh P.NinjaTrader Customer Service

                Comment


                  #9
                  sure, can I PM it to you, so that it stays private ?

                  Comment


                    #10
                    Either PM it or send directly to support at ninjatrader dot com Attn Bertrand - thanks
                    BertrandNinjaTrader Customer Service

                    Comment


                      #11
                      The strat code has been sent via email.

                      Comment


                        #12
                        Thanks, unfortunately expected since you're using the Strategy plot sample techniques - http://www.ninjatrader-support2.com/...ead.php?t=6651
                        BertrandNinjaTrader Customer Service

                        Comment


                          #13
                          Ah.. too bad !
                          I totally missed this limitation of StrategyPlot()

                          so, I should recode the strategy so that it does not use StrategyPlot any more ?

                          Thank you for your help, it has been very helpfull.

                          Comment


                            #14
                            You're welcome, that depends on how important this functionality is for you - though of course handy if you need to correlate indicators to the strategy signals in the SA charts.
                            BertrandNinjaTrader Customer Service

                            Comment


                              #15
                              as you saw from the code, this is used to plot the PnL of a trade on a basket of currencies.
                              This information is not critical in SA,
                              so I might either make it conditional,
                              or write it in a file or pass it to a custom indicator.
                              Thanks again

                              Comment

                              Latest Posts

                              Collapse

                              Topics Statistics Last Post
                              Started by benmarkal, Yesterday, 12:52 PM
                              3 responses
                              22 views
                              0 likes
                              Last Post NinjaTrader_Gaby  
                              Started by helpwanted, Today, 03:06 AM
                              1 response
                              18 views
                              0 likes
                              Last Post sarafuenonly123  
                              Started by Brevo, Today, 01:45 AM
                              0 responses
                              11 views
                              0 likes
                              Last Post Brevo
                              by Brevo
                               
                              Started by aussugardefender, Today, 01:07 AM
                              0 responses
                              6 views
                              0 likes
                              Last Post aussugardefender  
                              Started by pvincent, 06-23-2022, 12:53 PM
                              14 responses
                              244 views
                              0 likes
                              Last Post Nyman
                              by Nyman
                               
                              Working...
                              X