Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

Basic Newbie Question

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

    Basic Newbie Question

    At the risk of sounding foolish, I have what I think must be a very basic question to pose:
    I have been working with the development of a strategy using end of day data. I have found the strategy to be profitable on a 2 or 3 minute chart but not a tick chart--when using the strategy analyzer. If I decide to go live and trade the strategy, will the strategy's trade time-frame (i.e. 2 minute, 3 minute or day chart) be based upon the chart that it is applied to? If not, how would I specify that I want my trades to be based upon, for example, a 2 minute chart?

    Thank you in advance,
    Ron

    #2
    Hello,

    Thanks for you post. I am happy to help.

    If you apply a strategy in a chart that would be correct; your strategy will be based on what “Data Series” you apply it to. Example: If you have a ES 06-12 (5 Min) chart open and apply your strategy to it; after you selected your strategy you will see in the right panel what “Input series” it is going to be based off. So in this case it would be off the “ES 06-12 (5 Min)”.

    You may read more information about “Running a NinjaScriptStrategy from a Chart” at the following link.


    Alternatively, you can run a strategy from the “Strategies” tab in the “Control Center”. Once, in the “Strategies” tab you can right click and select “New Strategy” which you can then define all the parameters like the “Strategy Analyzer backtest” method.

    You may read more information about “Running a NinjaScriptStrategy from the Strategies” at the following link.


    Note that when running a backtest, CalculateOnBarClose(COBC) is going to be always set to true. Which means that the strategy will calculated at the close of each bar. If your strategy is set to COBC=false, then it will act differently since it will be calculated on each tick. See the following link for more info on COBC.


    Please be aware of the discrepancies of Real-Time vs Backtest trading in the following link.


    Please let me know if I can be of further assistance.
    JCNinjaTrader Customer Service

    Comment


      #3
      Thank you for your helpful and informative reply.

      Comment


        #4
        You are quite welcome Ron and as always, let us know if we can be of further assistance.
        JCNinjaTrader Customer Service

        Comment


          #5
          Hi Ron - Here's a link for a Real-time to try your strategy

          What is the best trading platform? Pick your best trading platform. Trade markets on 50+ trading platforms through AMP Futures. All Demo accounts are FREE!


          It's with CQG, 1st-tier, unfiltered data.


          Kind Regards,

          Jeff Brooks
          312.893.6400 x. 0010
          [email protected]

          Comment

          Latest Posts

          Collapse

          Topics Statistics Last Post
          Started by argusthome, 03-08-2026, 10:06 AM
          0 responses
          64 views
          0 likes
          Last Post argusthome  
          Started by NabilKhattabi, 03-06-2026, 11:18 AM
          0 responses
          41 views
          0 likes
          Last Post NabilKhattabi  
          Started by Deep42, 03-06-2026, 12:28 AM
          0 responses
          22 views
          0 likes
          Last Post Deep42
          by Deep42
           
          Started by TheRealMorford, 03-05-2026, 06:15 PM
          0 responses
          25 views
          0 likes
          Last Post TheRealMorford  
          Started by Mindset, 02-28-2026, 06:16 AM
          0 responses
          52 views
          0 likes
          Last Post Mindset
          by Mindset
           
          Working...
          X