Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

conversion issue

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

    conversion issue

    I'm in the process of migrating off of RealTick. I have my desired indicators
    (CCI, Williams %R, MLR, MA high, MA low, all with period of 5) in place in my
    TOS 15 min intraday charts, but I am having trouble -

    1. getting the stochastic slow (%D slow) to show up with the same value in TOS
    as it is in RealTick, even though I am using the same intervals (%K interval =
    14; %D interval =1; %D slow interval = 3). Anyone have any experience with
    this?

    2. figuring out how to capture %D slow for the 30 minute chart to define my
    conditions - any suggestions?

    3. will the formulas be the same across the board for these indicators, if so is there a doc that has the formulas written out for the ninja script system?

    #2
    bigtrade,

    These would be standard formulas. You can see it if you open the NinjaScript editor.

    I guess I am not sure what you are asking here, the D period should be the same functionally however there will be some differences between platforms depending on the data you are using.
    Adam P.NinjaTrader Customer Service

    Comment


      #3
      I guess my question is this. I am entering the formulas from scratch then trying to get them to follow the actions that I have designed them to execute on. Instead of programming them all in from scratch should I be using the wizard to input the formulas then unlocking and tweaking the code as needed afterwards? Then I go from using all 5day numbers on a 15 minute interval to a 30 minute interval for just my %Dslow what do I need to do in order to correctly use two different time intervals.

      Thanks

      Comment


        #4
        bigtrade, yes the strategy wizard interface would be good to get familiar with the general syntax used, however for creating MultiSeries indicators you would need to look into custom coding via our NinjaScript editor. A detailed overview over the framework we can offer in this regard is given here in our helpguide - http://www.ninjatrader.com/support/h...nstruments.htm

        A sample strategy accessing multiple timeframe for indicator calculations is installed per default with NinnjaTrader under the 'SampleMultiTimeFrame' strategy.

        Comment


          #5
          Originally posted by bigtrade View Post
          I guess my question is this. I am entering the formulas from scratch then trying to get them to follow the actions that I have designed them to execute on. Instead of programming them all in from scratch should I be using the wizard to input the formulas then unlocking and tweaking the code as needed afterwards? Then I go from using all 5day numbers on a 15 minute interval to a 30 minute interval for just my %Dslow what do I need to do in order to correctly use two different time intervals.

          Thanks
          The best way to use correctly the two different time intervals is by using a BarsArray[0], or BarsArray[1] when you try to access an indicator. For example, if you are trying to access the current value of SMA in 15 minute chart then you will this line of code SMA(BarsArray[1],14)[0]. Be sure that your 15 minute is being declared also in the initialize() section of your code. For a complete guide in working with multi-time frame please visit these ninja reference http://www.ninjatrader.com/support/h...?barsarray.htm.

          Comment

          Latest Posts

          Collapse

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