NexusFi: Find Your Edge


Home Menu

 





Automatically close all positions based on PL


Discussion in NinjaTrader

Updated
    1. trending_up 2,282 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?
Probability Collapse: Bitcoin $150k Craters from 15% to …
Prediction Markets & Event Contracts
March Jobs Report Update: 178K Beat vs 59K Expected, Wag …
Traders Hideout
Oil Surges ~18% in One Week as Iran Conflict Disrupts Gl …
Commodities
Five Days Until the Gap Dies -- CME Goes 24/7 on All Dig …
Traders Hideout
UCL Final Kicks Off at Noon ET: PSG at 56.5% as Iran May …
Prediction Markets & Event Contracts
 
Best Threads (Most Thanked)
in the last 7 days on NexusFi
Sober Journey With S&P
24 thanks
2026 Jlab journal
10 thanks
Lady Vols Primer: Trading Volatility Journal
7 thanks
Algo automated / semi-automated trading anyone?
6 thanks
Trying to learn Volume and price action correlation
5 thanks
  #3 (permalink)
 iantg 
charlotte nc
 
Experience: Advanced
Platform: My Own System
Posts: 409 since Jan 2015
Thanks Given: 91
Thanks Received: 1,152


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