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 RobUtrecht12345, 01-04-2021, 11:48 AM
    27 responses
    5,627 views
    0 likes
    Last Post GiveMeCodes  
    Started by nintrader310, Today, 06:58 PM
    0 responses
    5 views
    0 likes
    Last Post nintrader310  
    Started by M_ichel, Today, 04:47 PM
    1 response
    19 views
    0 likes
    Last Post kingyute360  
    Started by lucyhendricks, Today, 04:18 PM
    0 responses
    7 views
    0 likes
    Last Post lucyhendricks  
    Started by cmarkb, 05-08-2020, 09:42 AM
    11 responses
    740 views
    0 likes
    Last Post rafaelcoisa  
    Working...
    X