NexusFi: Find Your Edge


Home Menu

 





Collection of nuances & issues for developing trading strategies


Discussion in NinjaTrader

Updated
    1. trending_up 4,044 views
    2. thumb_up 4 thanks given
    3. group 4 followers
    1. forum 3 posts
    2. attach_file 0 attachments




 
Search this Thread
  #1 (permalink)
 
Saroj's Avatar
 Saroj 
Arcata, CA
 
Experience: Intermediate
Platform: NinjaTrader
Trading: index futures, oil
Posts: 482 since Jun 2009
Thanks Given: 232
Thanks Received: 416

This will be a collection of nuances and "sticky wickets" to be aware of when developing a trading strategy in Ninja Trader. Please feel free to contribute anything you come across personally or in the NT and BigMike forums or anywhere else. Please attach images that demonstrate the issue whenever possible.

I'll make it a sticky so it doesn't get "lost" down the chat pages.


Started this thread Reply With Quote

Can you help answer these questions
from other members on NexusFi?
Saylors 41-Month HODL Breaks: Strategy Sells 32 BTC as $ …
Prediction Markets & Event Contracts
Irans Answer Due Today: Peace Surges to 33.5%, Invasion …
Prediction Markets & Event Contracts
April 2026 Jobs Report: +115k vs +65k Expected
Traders Hideout
El Clasico Draws $9.2M in Prediction Market Action -- Bi …
Prediction Markets & Event Contracts
$4.5M Floods Russia Nuclear Contract in 24 Hours -- Krem …
Prediction Markets & Event Contracts
 
Best Threads (Most Thanked)
in the last 7 days on NexusFi
NexusFi site changelog and issues/problem reporting
8 thanks
Darmok and Jalad at Tanagra
1 thanks
  #2 (permalink)
 
Saroj's Avatar
 Saroj 
Arcata, CA
 
Experience: Intermediate
Platform: NinjaTrader
Trading: index futures, oil
Posts: 482 since Jun 2009
Thanks Given: 232
Thanks Received: 416

  • Check out responses to "Same Strategy, Same Market, Same Time = Different trades! [MXASJ]"


Started this thread Reply With Quote
  #3 (permalink)
BigDog
Chicago
 
Posts: 60 since Jun 2009
Thanks Given: 0
Thanks Received: 17


Realtime trades are paired in the sequence of their timestamps and not by entry/exit names


Reply With Quote
  #4 (permalink)
 
caprica's Avatar
 caprica 
USA
 
Experience: Master
Platform: NinjaTrader
Posts: 155 since Jul 2009
Thanks Given: 45
Thanks Received: 115

If you are managing your trade on a smaller time frame you can do a few things:

EnterLong(1, DefaultQuantity, "myLong")

Where the 1 will force it into BarsArray[1].

In the Initialize section add the line

Add(PeriodType.Range, 1)

Using range 1 instead of tick 1 is much more efficient and will still manage the trade every 1 tick of price movement. Helpful for trailing stops or etc.


Reply With Quote
Thanked by:




Last Updated on July 21, 2009


© 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