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 inanazsocial, Today, 01:15 AM
    1 response
    6 views
    0 likes
    Last Post NinjaTrader_Jason  
    Started by rocketman7, Today, 02:12 AM
    0 responses
    10 views
    0 likes
    Last Post rocketman7  
    Started by dustydbayer, Today, 01:59 AM
    0 responses
    2 views
    0 likes
    Last Post dustydbayer  
    Started by trilliantrader, 04-18-2024, 08:16 AM
    5 responses
    23 views
    0 likes
    Last Post trilliantrader  
    Started by Davidtowleii, Today, 12:15 AM
    0 responses
    3 views
    0 likes
    Last Post Davidtowleii  
    Working...
    X