NexusFi: Find Your Edge


Home Menu

 





How program exists from bars


Discussion in NinjaTrader

Updated
      Top Posters
    1. looks_one Quick Summary with 1 posts (0 thanks)
    2. looks_two MooreTech with 1 posts (0 thanks)
    3. looks_3 Eric j with 1 posts (0 thanks)
    4. looks_4 gerimo with 1 posts (0 thanks)
    1. trending_up 4,598 views
    2. thumb_up 0 thanks given
    3. group 3 followers
    1. forum 3 posts
    2. attach_file 0 attachments




 
Search this Thread
  #1 (permalink)
 
gerimo's Avatar
 gerimo 
Czech republic
 
Experience: Beginner
Posts: 89 since Apr 2010
Thanks Given: 11
Thanks Received: 59

Hello,

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.


Started this thread Reply With Quote

Can you help answer these questions
from other members on NexusFi?
My Rant with AMP Futures
Trading Reviews and Vendors
AI for Traders — Agents, Memory, Tools & Real-Worl …
Elite Quantitative GenAI/LLM
requesting .nrd replay files from 2026 spy and qqq
The Elite Circle
[WTS] ATAS Lifetime ULTRA license – EU buyers only – …
Platforms and Indicators
Building a free browser DOM/SMC simulator - need some ad …
Platforms and Indicators
 
  #3 (permalink)
 Eric j 
NY
 
Experience: Advanced
Platform: Esignal, MBT navigator
Trading: Currencies
Posts: 2,507 since Jun 2009
Thanks Given: 1,396
Thanks Received: 2,576


Try like this .


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


Visit my NexusFi Trade Journal Reply With Quote
  #4 (permalink)
 MooreTech 
Orlando, Florida
 
Experience: Advanced
Platform: NinjaTrader, TradeStation, MultiCharts, eSignal, MetaTrader
Trading: ES
Posts: 57 since Aug 2010
Thanks Given: 6
Thanks Received: 73

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.


Follow me on X Reply With Quote




Last Updated on February 26, 2011


© 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