Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

Need help with very simple opening range strategy

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

    Need help with very simple opening range strategy

    Hello,

    I am looking to create a very very simple strategy which looks at the first bar of the day and goes long 5 ticks above the high of the opening bar (when ever it may occur) or goes short 5 ticks below the low of the opening bar. Profit target is 20 ticks. Stop loss is 5 ticks below opening low if the position is long or 5 ticks above the opening high if the position is short. I tried creating this using the strategy wizard but does not look like it is possible. I am not too strong on hard coding and so I am having very hard time coding it. Can some one please help ? Or if there is an existing script, would greatly appreciate it if someone can point that out.

    Thanks.

    #2
    Hi questforconsistency,

    If you'd like can refer you to some materials that will get you started with custom coding, and set you on the right track for your strategy.

    Otherwise, perhaps someone else has created something similar.

    Another option is to contact one of our NinjaScript Consultants.
    TimNinjaTrader Customer Service

    Comment


      #3
      Hi Tim,

      Thanks for your reply.

      I did try to look up some materials on custom coding but I would appreciate it if you can refer me to some more appropriate sections. May be I can figure it out. I am hoping some one has already created something similar already and would reply.

      Thanks.

      Comment


        #4
        Hi questforconsistency,

        Here are some resources to get you started...
        1. First page of Strategy Development from our Help Guide - http://www.ninjatrader-support.com/H...tml?Overview39

        2. Tutorials - http://www.ninjatrader-support.com/H...tml?Overview34

        3. Reference samples - http://www.ninjatrader-support2.com/...splay.php?f=30
        TimNinjaTrader Customer Service

        Comment

        Latest Posts

        Collapse

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