• If this is your first visit, you will have to register before you can post. To view messages, please scroll below and select the forum that you would like to visits. Questions? Be sure to check out the Forum FAQ.

Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

Problem Plots disappear - MTF

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

    Problem Plots disappear - MTF

    Hi, I been trying to make a multi time-frame supertrend, so far i've got it to work on a daily timeframe no problem, but when i try to apply it to a smaller time-frame everything goes south, Nothing Plots, so i removed most of the extras and started to check what could be the cause of this, im checking there is enough bars at the beginning and also checking im working on the right timeseries..

    if ( CurrentBars[0] <= sPLenght || CurrentBars[1] <= sPLenght ) return;
    {

    if (BarsInProgress == 1 )


    here is the indi, if someone could take a look ill be thankful
    KBTxDailySuperTrendV2.zip

    #2
    Best set all plots when BarsInProgress == 0. This makes sure that you will get a plot value for each bar of the primary bar series.

    Comment


      #3
      Hello,

      I added a print to line 171 and this print did not reach the output window.

      I recommend you print all variables in your condition statements to find which variable is causing that condition to evaluate as false.

      Below is a link to the help guide on Print().
      http://www.ninjatrader.com/support/h.../nt7/print.htm

      Please post your output from the prints. Prints will go to the output window (Tools -> Output Window...)
      Chelsea B.NinjaTrader Customer Service

      Comment


        #4
        Harry, i changed it like you suggested, nothing changes still no plots

        Comment


          #5
          Done guys! not sure what was it but i fixed it thanks!!

          Comment

          Latest Posts

          Collapse

          Topics Statistics Last Post
          Started by FREEN, Today, 10:33 AM
          0 responses
          3 views
          0 likes
          Last Post FREEN
          by FREEN
           
          Started by NoamBarel, Today, 10:11 AM
          1 response
          4 views
          0 likes
          Last Post NinjaTrader_Jim  
          Started by 7robert, Today, 09:41 AM
          2 responses
          7 views
          0 likes
          Last Post NinjaTrader_ChelseaB  
          Started by Mykro, Today, 08:42 AM
          1 response
          11 views
          0 likes
          Last Post NinjaTrader_Kate  
          Started by franki, Yesterday, 12:52 PM
          5 responses
          31 views
          0 likes
          Last Post NinjaTrader_Jim  
          Working...
          X