• If this is your first visit, you will have to register before you can post. To view messages, please scroll below and select the forum that you would like to visits. Questions? Be sure to check out the Forum FAQ.

Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

How to make Strategy turn off?

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

    How to make Strategy turn off?

    I was wondering if someone can help me figure out how to add code that would turn strategy off after a certain Dollar amount was made for that trading session?

    Any help would be greatly appreciated. I am new to Ninja all my programming knowledge is from using Tradestation.

    #2
    Hello FXMIKE,

    Thanks for your post and welcome to the forums!

    You would want to use CumProfit. Here is a link to the helpguide which includes an example of use: http://ninjatrader.com/support/helpG...?cumprofit.htm

    In addition it may help to review a working sample strategy, here is a link to the SamplePNL strategy: http://ninjatrader.com/support/forum...ead.php?t=4084

    Also, you may want to review the entire list of reference samples that cover various situations: http://ninjatrader.com/support/forum...splay.php?f=30
    Paul H.NinjaTrader Customer Service

    Comment

    Latest Posts

    Collapse

    Topics Statistics Last Post
    Started by jimfurr, Today, 04:40 AM
    1 response
    3 views
    0 likes
    Last Post NinjaTrader_ChrisSch  
    Started by learningnt, Yesterday, 10:21 PM
    1 response
    6 views
    0 likes
    Last Post NinjaTrader_ChrisSch  
    Started by ilai74, Today, 04:37 AM
    0 responses
    2 views
    0 likes
    Last Post ilai74
    by ilai74
     
    Started by CiprianV, Today, 03:11 AM
    0 responses
    5 views
    0 likes
    Last Post CiprianV  
    Started by GMiller64, Yesterday, 01:13 PM
    3 responses
    12 views
    0 likes
    Last Post GMiller64  
    Working...
    X