Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

stochastics from diferent time frames

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

    stochastics from diferent time frames

    how do i get 5min stochastics on say a 1 minute or a 5 tick chart ?

    #2
    Originally posted by price777999 View Post
    how do i get 5min stochastics on say a 1 minute or a 5 tick chart ?
    Hello,

    Thank you for your post.

    Unfortunately that is not supported, but is on the list of possible future considerations.

    I suggest checking the indicator file sharing section as there is at least one custom multi-time frame indicator in there. Not sure it will work with other indicators like stochastics.
    Ray S.NinjaTrader Customer Service

    Comment


      #3
      Go to reference samples and look for:
      Strategy: Plotting from within a NinjaScript Strategy

      It is a PITA (Pain In The A$$) method but it works. Drawbacks of doing it this way is that you can not run Chart Trader and a Strategy on the same chart. Also there is no AutoScale(True/False) control over the plots ( or I should say that I have not figured it out). If you are doing a Multi TimeFrame SMA and the SMA Val on a 60 Min chart is 40 points above the most recent close on a 1 Min Chart it makes the bars look really really small. There is a work around but it requires a lot of coding and then the plots look dysfunctional. Also pay attention to the CalculateOnClose (True/False) setting in the protected override void Initialize() of the base indicator, in your case the Stochastics. It will determine if the value plotted is for the most recent closed bar or the most recent tick on the faster chart. Try both.

      Hopefully NT 7.0 will take care of this problem.

      Comment

      Latest Posts

      Collapse

      Topics Statistics Last Post
      Started by CarlTrading, 03-31-2026, 09:41 PM
      1 response
      72 views
      0 likes
      Last Post NinjaTrader_ChelseaB  
      Started by CarlTrading, 04-01-2026, 02:41 AM
      0 responses
      39 views
      0 likes
      Last Post CarlTrading  
      Started by CaptainJack, 03-31-2026, 11:44 PM
      0 responses
      63 views
      2 likes
      Last Post CaptainJack  
      Started by CarlTrading, 03-30-2026, 11:51 AM
      0 responses
      63 views
      0 likes
      Last Post CarlTrading  
      Started by CarlTrading, 03-30-2026, 11:48 AM
      0 responses
      53 views
      0 likes
      Last Post CarlTrading  
      Working...
      X