Announcement
Collapse
No announcement yet.
Partner 728x90
Collapse
NinjaTrader
How to use trade limiter with ATM
Collapse
X
-
How to use trade limiter with ATM
I am trying to use a trade limiter to shut my strategy down after 3 consecutive losers. I have used the "SampleTradeobjects" example to do this with a regular strategy but since I have changed the strategy to calling ATM templates the trade limiter no longer works. How do I change the "SampleTradeobjects" example to work with ATM?Tags: None
-
ninjablanks, once each ATM strategy is finished (position closed), you can get the realized profit for it with GetATMStrategyRealizedProfitLoss() and then use some sort of counter to keep track of how many winners and losers you've had in a row.AustinNinjaTrader Customer Service
Latest Posts
Collapse
Topics | Statistics | Last Post | ||
---|---|---|---|---|
Started by RideMe, 04-07-2024, 04:54 PM
|
6 responses
31 views
0 likes
|
Last Post
by RideMe
Today, 05:31 PM
|
||
Started by tkaboris, Today, 05:13 PM
|
0 responses
2 views
0 likes
|
Last Post
by tkaboris
Today, 05:13 PM
|
||
Started by GussJ, 03-04-2020, 03:11 PM
|
16 responses
3,281 views
0 likes
|
Last Post
by Leafcutter
Today, 04:14 PM
|
||
Started by WHICKED, Today, 12:45 PM
|
2 responses
19 views
0 likes
|
Last Post
by WHICKED
Today, 03:36 PM
|
||
Started by Tim-c, Today, 02:10 PM
|
1 response
10 views
0 likes
|
Last Post Today, 02:52 PM |
Comment