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 itrader46, Today, 09:04 AM
        1 response
        3 views
        0 likes
        Last Post NinjaTrader_Clayton  
        Started by timmbbo, Today, 08:59 AM
        0 responses
        1 view
        0 likes
        Last Post timmbbo
        by timmbbo
         
        Started by bmartz, 03-12-2024, 06:12 AM
        5 responses
        33 views
        0 likes
        Last Post NinjaTrader_Zachary  
        Started by Aviram Y, Today, 05:29 AM
        4 responses
        14 views
        0 likes
        Last Post Aviram Y  
        Started by algospoke, 04-17-2024, 06:40 PM
        3 responses
        28 views
        0 likes
        Last Post NinjaTrader_Jesse  
        Working...
        X