Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

Issues with getting DoubStochOptimized in Multiple Time Frames

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

    Issues with getting DoubStochOptimized in Multiple Time Frames

    Hi, I am really struggling with Mutliple time frames, and getting seemly simple things working in MTF.

    There seems to be some magic with it. I did manage to get the CCI to work in MTF, using the standard method that will allow an overload to pass in the barsindex of the other time frame - such as:

    CCI(IDataSeries input, int period)[int barsAgo]

    There is no such overload for DoubStochOptimized, and hence I must be missing something.

    What I want to do is what I managed to do with CCI.
    On a Chart - say a 15 min chart of SPXL
    1) Plot the CCI
    2) Plot the CCI from a 30 min chart
    3) Plot the DoubStochOptimized
    4) Plot the DoubStochOptimized from a 30 min chart

    CCI (items 1 and 2 above) works using the attached indicator in this thread.

    ISSUE: What doesn't work is the DoubStochOptimized I followed the same code, but I CANNOT get this to work. I need some guidance on how MTF works and why we can't get our own code to work in MTF.

    I THINK it is due to the Jurik Moving Average that may not be setup right...

    What am I missing please?
    Attached Files

    #2
    Hello DaFish,

    Thank you for your post.

    I would ask the developer of the DoubStochOptimized. However, you could do what is detailed in the video at the following link: https://www.youtube.com/watch?v=x_6BN5SIiig

    Comment


      #3
      Hi Patrick, thanks for the quick response.

      I don't have an issue with the DoubStochOptimized code itself. It works on the same data series.

      Where I am asking for guidance from NT is how this is supposed to be implemented in MTF.

      As per my original post:
      CCI(IDataSeries input, int period)[int barsAgo]
      CCI specifies a data series in which to calculate on. How do I implement this for the DoubStochOptimized indicator? I want it to ONLY act on the TimeFrame 1 data series.

      NOTE: This also calls the Jurik Moving Average which is also custom, that needs to work on the TF1 data series too.

      Originally posted by NinjaTrader_PatrickH View Post
      you could do what is detailed in the video at the following link: https://www.youtube.com/watch?v=x_6BN5SIiig
      I watched that, and although it is great for a visual chart, what I am trying to do is to get the data into a strategy so I can actually trade on it. While it is great to see the indicator, I need to use it and I don't see anyway of grabbing that calculated indicator value other than what I am doing trying to figure out how to calculate this indicator in MTF

      Comment


        #4
        Hello DaFish,

        Thank you for your response.

        Is the IntelliPrompt overload list showing one for the IDataSeries for the DoubStochOptimized indicator?

        Can you provide a link to the indicator?

        Comment


          #5
          Originally posted by NinjaTrader_PatrickH View Post
          Hello DaFish,

          Thank you for your response.

          Is the IntelliPrompt overload list showing one for the IDataSeries for the DoubStochOptimized indicator?

          Can you provide a link to the indicator?
          HI Sorry Patrick, I don't know what that is.... I did attach the DoubStochOptimized code to this thrread though.

          Comment


            #6
            Hello DaFish,

            I will test the MFDStochasticMTF and follow up with you.

            Comment


              #7
              Hello DaFish,

              Thank you for your patience.

              My colleague and I were able to produce results after setting the DaysToLoad (Right Click > Data Series > DaysToLoad) to 60 days.

              Comment

              Latest Posts

              Collapse

              Topics Statistics Last Post
              Started by Geovanny Suaza, 02-11-2026, 06:32 PM
              0 responses
              571 views
              0 likes
              Last Post Geovanny Suaza  
              Started by Geovanny Suaza, 02-11-2026, 05:51 PM
              0 responses
              330 views
              1 like
              Last Post Geovanny Suaza  
              Started by Mindset, 02-09-2026, 11:44 AM
              0 responses
              101 views
              0 likes
              Last Post Mindset
              by Mindset
               
              Started by Geovanny Suaza, 02-02-2026, 12:30 PM
              0 responses
              548 views
              1 like
              Last Post Geovanny Suaza  
              Started by RFrosty, 01-28-2026, 06:49 PM
              0 responses
              548 views
              1 like
              Last Post RFrosty
              by RFrosty
               
              Working...
              X