Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

Use time in strategy builder

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

    Use time in strategy builder

    Hi,
    I have been reading posts about how to use time in the strategy builder. I don't understand it, also the help text is in a language I don't understand.
    It's too technical for me, and I hope you can tell me how to do this exactly in the strategy builder (not in the code) so that I can run a backtest over a certain historical period.

    What I am looking for is that a trade will start (and end) daily on a certain time, using the Inputs (as attached).

    In the conditions, how to enter this correctly?

    Thanks for helping out
    Cheers
    Dennis

    #2
    Hello Dennis, thanks for writing in.

    The condition looks fine to me. What kind of chart are you running this on? If the time stamp of your bars is not exactly 9:30 or 10:30 the condition will not trigger. Try running the strategy on a 1 minute chart, do you get a trade?

    This set of conditions works for me on a 1 minute chart:

    https://clauber.tinytake.com/tt/NDY2NTQ2Nl8xNDc3ODQxOQ
    https://clauber.tinytake.com/tt/NDY2NTQ3Ml8xNDc3ODQyNg

    Best regards,
    -ChrisL
    Chris L.NinjaTrader Customer Service

    Comment


      #3
      Thanks Chris,
      I couldn't compile (Could not compile Ninjascript). I created a new strategy, used 1 min bars and now no problem.
      Thanks again, and have a good weekend

      Comment

      Latest Posts

      Collapse

      Topics Statistics Last Post
      Started by denisebezax, Today, 05:22 AM
      0 responses
      1 view
      0 likes
      Last Post denisebezax  
      Started by ismaelcorleone, Today, 04:17 AM
      2 responses
      19 views
      0 likes
      Last Post ismaelcorleone  
      Started by sidlercom80, Today, 03:45 AM
      0 responses
      8 views
      0 likes
      Last Post sidlercom80  
      Started by wjadevries, Today, 03:41 AM
      1 response
      7 views
      0 likes
      Last Post wjadevries  
      Started by s.kinra, Today, 02:59 AM
      2 responses
      13 views
      0 likes
      Last Post s.kinra
      by s.kinra
       
      Working...
      X