Any help would be greatly appreciated. I am new to Ninja all my programming knowledge is from using Tradestation.
Announcement
Collapse
No announcement yet.
Partner 728x90
Collapse
NinjaTrader
How to make Strategy turn off?
Collapse
X
-
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.Tags: None
-
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
Latest Posts
Collapse
| Topics | Statistics | Last Post | ||
|---|---|---|---|---|
|
Started by CarlTrading, Yesterday, 11:51 AM
|
0 responses
16 views
0 likes
|
Last Post
by CarlTrading
Yesterday, 11:51 AM
|
||
|
Started by CarlTrading, Yesterday, 11:48 AM
|
0 responses
21 views
0 likes
|
Last Post
by CarlTrading
Yesterday, 11:48 AM
|
||
|
Started by CaptainJack, 03-25-2026, 09:53 PM
|
0 responses
17 views
0 likes
|
Last Post
by CaptainJack
03-25-2026, 09:53 PM
|
||
|
Started by CaptainJack, 03-25-2026, 09:51 PM
|
0 responses
13 views
0 likes
|
Last Post
by CaptainJack
03-25-2026, 09:51 PM
|
||
|
Started by Mindset, 03-23-2026, 11:13 AM
|
0 responses
20 views
0 likes
|
Last Post
by Mindset
03-23-2026, 11:13 AM
|

Comment