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 argusthome, 03-08-2026, 10:06 AM
    0 responses
    69 views
    0 likes
    Last Post argusthome  
    Started by NabilKhattabi, 03-06-2026, 11:18 AM
    0 responses
    42 views
    0 likes
    Last Post NabilKhattabi  
    Started by Deep42, 03-06-2026, 12:28 AM
    0 responses
    24 views
    0 likes
    Last Post Deep42
    by Deep42
     
    Started by TheRealMorford, 03-05-2026, 06:15 PM
    0 responses
    27 views
    0 likes
    Last Post TheRealMorford  
    Started by Mindset, 02-28-2026, 06:16 AM
    0 responses
    54 views
    0 likes
    Last Post Mindset
    by Mindset
     
    Working...
    X