Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

Strategy Wizard -stop at pivot or round numbers

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

    Strategy Wizard -stop at pivot or round numbers

    I am tweaking a wizard strategy and it is a profitable one but as I look back over trades there are a lot of them that begin right on or near a pivot or round number! How might I use the wizard to code them not to trigger?
    Thanks
    Raycam

    #2
    Hi Raycam,

    Thanks for the post. You can use != operator to check that something is not equal to another. Close != Pivots
    Ryan M.NinjaTrader Customer Service

    Comment


      #3
      OK. Thanks- I have coded this idea for PP as well as s1 s2 r1 and r2.
      The only trouble is- no trades trigger exactly on the pivots.
      I cant seem to work out specifically where I can get it to look at a pre-set 'tick' distance from the pivot.
      Any ideas?
      Raycam

      Comment


        #4
        You check against a range of values, using <, > operators and offsets. Basic idea below:
        Close < PP - 1 tick
        Close > PP + tick

        If you add those two conditions to your entry orders, you would enforce that close is not within 1 tick of PP value.
        Ryan M.NinjaTrader Customer Service

        Comment

        Latest Posts

        Collapse

        Topics Statistics Last Post
        Started by andrewtrades, Today, 04:57 PM
        1 response
        10 views
        0 likes
        Last Post NinjaTrader_Manfred  
        Started by chbruno, Today, 04:10 PM
        0 responses
        6 views
        0 likes
        Last Post chbruno
        by chbruno
         
        Started by josh18955, 03-25-2023, 11:16 AM
        6 responses
        436 views
        0 likes
        Last Post Delerium  
        Started by FAQtrader, Today, 03:35 PM
        0 responses
        9 views
        0 likes
        Last Post FAQtrader  
        Started by rocketman7, Today, 09:41 AM
        5 responses
        20 views
        0 likes
        Last Post NinjaTrader_Jesse  
        Working...
        X