NexusFi: Find Your Edge


Home Menu

 





Using Long and Short Stop Entries Simultaneously


Discussion in NinjaTrader

Updated
      Top Posters
    1. looks_one Genshin with 2 posts (0 thanks)
    2. looks_two baruchs with 1 posts (0 thanks)
    3. looks_3 decs0057 with 1 posts (1 thanks)
    4. looks_4 Quick Summary with 1 posts (0 thanks)
    1. trending_up 2,383 views
    2. thumb_up 1 thanks given
    3. group 1 followers
    1. forum 4 posts
    2. attach_file 0 attachments




 
Search this Thread
  #1 (permalink)
 Genshin 
Chicago, IL
 
Experience: Intermediate
Platform: Ninja Trader, Sierra Chart
Trading: ES, CL
Posts: 35 since Oct 2012
Thanks Given: 498
Thanks Received: 12

Trying to develop a strategy that places Stop entries at two indicator lines on both sides of the market. I'm using Unique entries that have already been declared:

 
Code
private IOrder entryOrder1 = null;
private IOrder entryOrder2 = null;
private IOrder entryOrder3 = null;
private IOrder entryOrder4 = null;
Then, where I want to enter the market I use:

 
Code
entryOrder1 = EnterLongStop(longEntry, "Long 1a");
entryOrder2 = EnterLongStop(longEntry, "Long 1b");
entryOrder3 = EnterShortStop(shortEntry, "Short 1a");
entryOrder4 = EnterShortStop(shortEntry, "Short 1b");
Where longEntry and shortEntry are equal the to indicator values. When I test, it places the long entries correctly, but simply doesn't place the short entries. The calculation is correct for shortEntry, so I was wondering if there was something that I don't know about how Ninja handles these orders. When I reverse the order and place the Shorts before the longs, it places the short stop entries correctly, but not the longs.

 
Code
EntriesPerDirection = 2;
EntryHandling = EntryHandling.UniqueEntries;
Any help is appreciated, thanks!


Started this thread Reply With Quote

Can you help answer these questions
from other members on NexusFi?
Daytrading to swingtrading
Traders Hideout
Warsh Drops Easing Bias, December Hike Now Above 50% -- …
Prediction Markets & Event Contracts
Without Pulisic, USA 61.5% Live vs. Australia -- France …
Prediction Markets & Event Contracts
Ninjatrader users - good CONNECTIONs post and article fr …
NinjaTrader
Thanks Mike. Godspeed.
The Elite Circle
 
Best Threads (Most Thanked)
in the last 7 days on NexusFi
Want your NinjaTrader indicator created, free?
5 thanks
Afternoon-close session
1 thanks
Franks Trading Journey
1 thanks
Denied 20K payouts: Alpha Futures
1 thanks
FootPrintV2 Chart for NT8
1 thanks
  #3 (permalink)
 decs0057 
Munich, Germany
 
Experience: Intermediate
Platform: NinjaTrader, TWS
Broker: IB, NinjaTrader Brokerage
Trading: ES,NQ,6E
Posts: 73 since Feb 2010
Thanks Given: 15
Thanks Received: 25


It's not possible with managed approach to place long and short entry order on same bar. You have to use unmanaged approach


Reply With Quote
Thanked by:
  #4 (permalink)
 baruchs 
Israel
 
Experience: Intermediate
Platform: NinjaTrader
Broker: pfg
Trading: eminis
Posts: 323 since Jun 2009

or rotate.


Reply With Quote
  #5 (permalink)
 Genshin 
Chicago, IL
 
Experience: Intermediate
Platform: Ninja Trader, Sierra Chart
Trading: ES, CL
Posts: 35 since Oct 2012
Thanks Given: 498
Thanks Received: 12

Thank you! This has been frustrating me for some time...


Started this thread Reply With Quote




Last Updated on February 10, 2014


© 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