How program exists from bars - NinjaTrader Programming | futures trading

Go Back

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

How program exists from bars
Started:February 25th, 2011 (03:31 AM) by gerimo Views / Replies:801 / 3
Last Reply:February 26th, 2011 (10:30 AM) 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

How program exists from bars

Old February 25th, 2011, 03:31 AM   #1 (permalink)
Elite Member
Hradec Kralove, Czech republic
Futures Experience: Beginner
Platform: NintaTrader 7
Favorite Futures: FGBL, ZB, ZN
gerimo's Avatar
Posts: 89 since Apr 2010
Thanks: 11 given, 59 received

How program exists from bars


I want to ask you for little help. I want to program in NT 6.5 only exits for my strategy. I entry base on my decision, but exit should be automatically.

For example:
1. I entry long.
2. Automatically is placed a SL order 1 tick under prior bar.
3. Trade will be closed until current bar closed under low prior bar.

I dont really know, hot can i make it by strategy wizard? Any idea?

Thank you for help.

Reply With Quote

Old February 25th, 2011, 03:31 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 February 25th, 2011, 05:54 AM   #3 (permalink)
Big game hunter
Futures Experience: Advanced
Platform: Esignal, MBT navigator
Favorite Futures: Currencies
Posts: 2,526 since Jun 2009
Thanks: 1,397 given, 2,562 received

Try like this .

// Condition set 1
if (CrossBelow(Low, LowestBar(DefaultInput, 1), 1))
"", "");

Reply With Quote

Old February 26th, 2011, 10:30 AM   #4 (permalink)
Elite Member
Orlando, Florida
Futures Experience: Advanced
Platform: NinjaTrader, TradeStation, MultiCharts, eSignal, MetaTrader
Favorite Futures: ES
Posts: 56 since Aug 2010
Thanks: 3 given, 65 received

You won't be able to do this via Strategy Wizard. You can program your strategy to display an order entry interface on your chart, then all entries taken from this interface can be managed according to your programmed exit rules.

Reply With Quote

Reply > Futures Trading, News, Charts and Platforms > Platforms and Indicators > NinjaTrader > NinjaTrader Programming > How program exists from bars

Thread Tools Search this Thread
Search this Thread:

Advanced Search

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

An Afternoon with FIO trader bobwest

Elite only

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
renko bars vs range bars? shodson Traders Hideout 21 April 26th, 2012 03:52 PM
Help with importing program into NT7 kayaker NinjaTrader 3 January 3rd, 2012 05:17 PM
How to program chart trader? Is it possible? jabeztrading NinjaTrader Programming 7 July 15th, 2011 09:31 AM
How to program price cross below a number of previous bars Twiddle NinjaTrader Programming 8 May 17th, 2011 04:58 PM
Any ideas on how to program this? c12345 NinjaTrader Programming 9 March 8th, 2011 05:32 PM

All times are GMT -4. The time now is 11:31 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-23 in 0.09 seconds with 20 queries on phoenix via your IP