• 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 7robert, Today, 08:11 AM
          3 responses
          47 views
          0 likes
          Last Post NinjaTrader_Kate  
          Started by madmen, Yesterday, 09:18 PM
          1 response
          12 views
          0 likes
          Last Post NinjaTrader_ChrisL  
          Started by stoner, Today, 09:01 AM
          1 response
          8 views
          0 likes
          Last Post NinjaTrader_Jesse  
          Started by Conall, Yesterday, 04:00 PM
          1 response
          9 views
          0 likes
          Last Post NinjaTrader_ChelseaB  
          Started by neoikon, Today, 08:43 AM
          2 responses
          13 views
          0 likes
          Last Post neoikon
          by neoikon
           
          Working...
          X