Strategy Entry/Exit Visualization - futures io
futures io futures trading

Strategy Entry/Exit Visualization

Discussion in NinjaTrader

      Top Posters
    1. looks_one zeller4 with 3 posts (0 thanks)
    2. looks_two Big Mike with 1 posts (0 thanks)
    3. looks_3 Keen4Snow with 1 posts (0 thanks)
    4. looks_4 sefstrat with 1 posts (0 thanks)
    1. trending_up 3,082 views
    2. thumb_up 0 thanks given
    3. group 2 followers
    1. forum 6 posts
    2. attach_file 3 attachments

Welcome to futures io: the largest futures trading community on the planet, with well over 125,000 members
  • Genuine reviews from real traders, not fake reviews from stealth vendors
  • Quality education from leading professional traders
  • We are a friendly, helpful, and positive community
  • We do not tolerate rude behavior, trolling, or vendors advertising in posts
  • We are here to help, just let us know what you need
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.

-- Big Mike, Site Administrator

(If you already have an account, login at the top of the page)

Closed Thread
Search this Thread

Strategy Entry/Exit Visualization

(login for full post details)
  #1 (permalink)
Experience: Intermediate
Platform: NT7
Trading: CL, NQ, NG
Posts: 469 since Jun 2009
Thanks: 1,401 given, 402 received

Hey Strat Programmers!
Please view the attached screenshot for a couple trade markers and let me know if this is expected behavior or not.

The entry/exit marker plotted on a candle is shown above the high or below the low of that candle. The actual high / low of the following candle would have allowed the order to fill.

I'm using the following order types:

EnterLong(DefaultQuantity, "target1");
SetStopLoss("target1", CalculationMode.Price, Position.AvgPrice-autoBreakEvenPlusTicks*TickSize, false);
EnterLong(DefaultQuantity, "target2");

SetStopLoss("target2", CalculationMode.Price, Position.AvgPrice-autoBreakEvenPlusTicks*TickSize, false);

If I understand right, this is part of the NT internal order handling. If there's something I need to do differently in my code (ie, by verifying High[0] above or Low[0] below) or an option that needs set differently, please let me know.

Thanks for your help.

Attached Thumbnails
Click image for larger version

Name:	6E 03-10  1_29_2010 (6 RangeNoGap).jpg
Views:	219
Size:	172.3 KB
ID:	7387  
Started this thread

Can you help answer these questions
from other members on futures io?
EL/PL for FOPs?
EasyLanguage Programming
COTbase for quant trading?
Elite Algorithmic NinjaTrader Trading
What blockvolume is visible? - order processing
Short Interest Ratio indicator?
ZigZag with Depth and Backstep
EasyLanguage Programming
Best Threads (Most Thanked)
in the last 7 days on futures io
Battlestations: Show us your trading desks!
124 thanks
Big Mike in Ecuador
61 thanks
Want your NinjaTrader indicator created, free?
28 thanks
If you needed one-on-one help with any trading issue, ho …
26 thanks
Selling Options on Futures?
21 thanks
(login for full post details)
  #3 (permalink)
Austin, TX
Experience: Advanced
Platform: NT/Matlab
Broker: Interactive Brokers
Trading: FX majors
sefstrat's Avatar
Posts: 285 since Jun 2009
Thanks: 20 given, 760 received

is this simulation or real trades?

if it is real trades and you are using market orders then it is quite common for the entry signal to be generated on one bar but the price has moved outside the bar by the time you are filled, however since the signal was generated on that bar ninja still draws the entry there.

(login for full post details)
  #4 (permalink)
Experience: Intermediate
Platform: NT7
Trading: CL, NQ, NG
Posts: 469 since Jun 2009
Thanks: 1,401 given, 402 received

it's simulation on a strategy and I'm trying to modify the lines of code if that will help...

Started this thread
(login for full post details)
  #5 (permalink)
Site Administrator
Swing Trader
Data Scientist & DevOps
Manta, Ecuador
Experience: Advanced
Platform: My own custom solution
Trading: Emini Futures
Big Mike's Avatar
Posts: 49,792 since Jun 2009
Thanks: 32,326 given, 97,624 received

Do you get the same behavior using a normal Range chart?


We're here to help -- just ask

For the best trading education, watch our webinars
Searching for trading reviews? Review this list

Follow us on Twitter, YouTube, and Facebook

Support our community as an Elite Member:
Follow me on Twitter Visit my futures io Trade Journal
(login for full post details)
  #6 (permalink)
Experience: Intermediate
Platform: NT7
Trading: CL, NQ, NG
Posts: 469 since Jun 2009
Thanks: 1,401 given, 402 received

yes, the same thing happens with Range charts in realtime on sim.

I'll try tick charts next


Started this thread
(login for full post details)
  #7 (permalink)
Destin, FL / EU (Brno, Czech Rep.)
Experience: Advanced
Platform: R|Trader, NinjaTrader, JForex
Trading: CL, NQ, TF, 6E
Keen4Snow's Avatar
Posts: 20 since Apr 2010
Thanks: 2 given, 15 received

Hey guys, did you already find out what's wrong with those trade marks in chart?
It borders me too. I have written to NT support with no results.

Closed Thread

futures io Trading Community Platforms and Indicators NinjaTrader > Strategy Entry/Exit Visualization

Last Updated on November 8, 2012

Upcoming Webinars and Events

NinjaTrader Indicator Challenge!


Battlestations! Show us your trading desk - $1,500 in prizes!


Importance of Finding Your Own Way w/Adam Grimes

Elite only

Journal Challenge w/Jigsaw


Copyright © 2021 by futures io, s.a., Av Ricardo J. Alfaro, Century Tower, Panama, +507 833-9432,
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