NexusFi: Find Your Edge


Home Menu

 





Automatically close all positions based on PL


Discussion in NinjaTrader

Updated
    1. trending_up 2,539 views
    2. thumb_up 1 thanks given
    3. group 2 followers
    1. forum 2 posts
    2. attach_file 0 attachments




 
Search this Thread
  #1 (permalink)
 
TickedOff's Avatar
 TickedOff 
Sydney, NSW, Australia
 
Experience: Intermediate
Platform: NinjaTrader with Jigsaw DOM
Trading: CL, 6E, ES, Piano
Posts: 264 since Nov 2014
Thanks Given: 229
Thanks Received: 250

Is it possible on NT8 to have it so that it closes all positions once your P&L gets to a certain point, i.e. you are down X amount or lower it closes all positions at market.


Understanding yourself is just as important as understanding markets.
Started this thread Reply With Quote

Can you help answer these questions
from other members on NexusFi?
AI for Traders — Agents, Memory, Tools & Real-Worl …
Elite Quantitative GenAI/LLM
requesting .nrd replay files from 2026 spy and qqq
The Elite Circle
What we know about Binances $6.3bn hack - BBC News
Cryptocurrency
Bitcoin’s 2022 low, 2025 high and 2026 low so far arou …
Cryptocurrency
Building a free browser DOM/SMC simulator - need some ad …
Platforms and Indicators
 
  #3 (permalink)
 iantg 
charlotte nc
 
Experience: Advanced
Platform: My Own System
Posts: 409 since Jan 2015
Thanks Given: 91
Thanks Received: 1,155


Hi, Yes this is possible: If you are familiar with C# and don't mind reverse engineering this a little bit. Here is a set of links from NT.

Reference Samples - NinjaTrader Support Forum

And the one you are looking for is this one: Strategy: Stopping a strategy after consecutive losers - NinjaTrader Support Forum

Happy Trading!

Ian


Visit my NexusFi Trade Journal Reply With Quote
Thanked by:




Last Updated on March 9, 2016


© 2026 NexusFi®, s.a., All Rights Reserved.
Av Ricardo J. Alfaro, Century Tower, Panama City, Panama, Ph: +507 833-9432 (Panama and Intl), +1 888-312-3001 (USA and Canada)
All information is for educational use only and is not investment advice. There is a substantial risk of loss in trading commodity futures, stocks, options and foreign exchange products. Past performance is not indicative of future results.
About Us - Contact Us - Site Rules, Acceptable Use, and Terms and Conditions - Downloads - Top
no new posts