Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

Pivot Trade system

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

    Pivot Trade system

    Hello Ninjatrader team,

    I am trying to setup a very simple system... everytime the price hits S1(support one) an order to go long should be excuted.

    When I go into stratgy wizard and choose

    Pivots = Value (S1) go long nothing happens is there some other way I can setup ninjatrader to go long when price hits S1

    #2
    Hello wallsteeking,

    The method of seeing if two values are equal will be the same inside the Set statements.

    Note that when using NinjaScript code the, CalculateOnBarClose(COBC) can vastly effect how your code functions. Which means that if COBC is true, then the strategy will be calculated at the close of each bar. If your strategy is set to COBC is false, then it will be calculated on each tick. See the following link for more info on COBC.
    http://www.ninjatrader.com/support/h...onbarclose.htm

    You could set Plot on Chart to true inside the Pivot so that you can see the Pivot points on the chart to see where the S1 will be equal to the price data that you have it set to.

    See attached image.

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

    Comment

    Latest Posts

    Collapse

    Topics Statistics Last Post
    Started by wzgy0920, 04-20-2024, 06:09 PM
    2 responses
    27 views
    0 likes
    Last Post wzgy0920  
    Started by wzgy0920, 02-22-2024, 01:11 AM
    5 responses
    32 views
    0 likes
    Last Post wzgy0920  
    Started by wzgy0920, 04-23-2024, 09:53 PM
    2 responses
    49 views
    0 likes
    Last Post wzgy0920  
    Started by Kensonprib, 04-28-2021, 10:11 AM
    5 responses
    193 views
    0 likes
    Last Post Hasadafa  
    Started by GussJ, 03-04-2020, 03:11 PM
    11 responses
    3,235 views
    0 likes
    Last Post xiinteractive  
    Working...
    X