Automatically close all positions based on PL - NinjaTrader Programming | futures trading

Go Back

> Futures Trading, News, Charts and Platforms > Platforms and Indicators > NinjaTrader > NinjaTrader Programming

Automatically close all positions based on PL
Started:March 6th, 2016 (11:24 AM) by TickedOff Views / Replies:152 / 2
Last Reply:March 9th, 2016 (11:07 PM) Attachments:0

Welcome to

Welcome, Guest!

This forum was established to help traders (especially futures traders) by openly sharing indicators, strategies, methods, trading journals and discussing the psychology of trading.

We are fundamentally different than most other trading forums:
  • We work extremely hard to keep things positive on our forums.
  • We do not tolerate rude behavior, trolling, or vendor advertising in posts.
  • We firmly believe in openness and encourage sharing. The holy grail is within you, it is not something tangible you can download.
  • We expect our members to participate and become a part of the community. Help yourself by helping others.

You'll need to register in order to view the content of the threads and start contributing to our community. It's free and simple, and we will never resell your private information.

-- Big Mike

Thread Tools Search this Thread

Automatically close all positions based on PL

Old March 6th, 2016, 11:24 AM   #1 (permalink)
Normal Wizard
Sydney, NSW, Australia
Futures Experience: Intermediate
Platform: NinjaTrader with Jigsaw DOM
Favorite Futures: CL, 6E, ES, Piano
TickedOff's Avatar
Posts: 189 since Nov 2014
Thanks: 162 given, 184 received

Automatically close all positions based on PL

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.
Reply With Quote

Old March 6th, 2016, 11:24 AM   #2 (permalink)
Quick Summary
Quick Summary Post

Quick Summary is created and edited by users like you... Add FAQ's, Links and other Relevant Information by clicking the edit button in the lower right hand corner of this message.


Old March 9th, 2016, 11:07 PM   #3 (permalink)
Trading Apprentice
charlotte nc
Futures Experience: Master
Platform: ninjatrader
Broker/Data: MB Trading, NinjaTrader
Favorite Futures: Emini (ES, YM, NQ, ect.)
Posts: 33 since Jan 2015
Thanks: 0 given, 81 received

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!


Reply With Quote
The following user says Thank You to iantg for this post:

Reply > Futures Trading, News, Charts and Platforms > Platforms and Indicators > NinjaTrader > NinjaTrader Programming > Automatically close all positions based on PL

Thread Tools Search this Thread
Search this Thread:

Advanced Search

Upcoming Webinars and Events (4:30PM ET unless noted)

NinjaTrader 8: Programming Profitable Trading Edges w/Scott Hodson

Elite only

Anthony Drager: Executing on Intermarket Correlations & Order Flow, Part 2

Elite only

Adam Grimes: Five critically important keys to professional trading

Elite only

Machine Learning Concepts w/FIO member NJAMC

Elite only

MarketDelta Cloud Platform: Announcing new mobile features

Dec 1

NinjaTrader 8: Features and Enhancements

Dec 6

Similar Threads
Thread Thread Starter Forum Replies Last Post
Automatically close out all positions when condition is reached hdsouza ThinkOrSwim Programming 2 January 28th, 2016 07:51 PM
Only Close Open Positions? davetapson AmiBroker 0 September 23rd, 2014 03:59 AM
How to make program close all positions by 4:15PM EST? honoluluhustler EasyLanguage Programming 4 July 7th, 2014 03:08 PM
automatically place orders at close of current bar Sayounara Sierra Chart Programming 5 March 12th, 2013 05:20 AM
Exit open positions based on time guppy EasyLanguage Programming 4 November 23rd, 2011 02:52 PM

All times are GMT -4. The time now is 09:12 PM.

Copyright © 2016 by 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.
no new posts

Page generated 2016-10-26 in 0.07 seconds with 19 queries on phoenix via your IP