NexusFi: Find Your Edge


Home Menu

 





BarsInProgress==0 / BarsArray[0]


Discussion in NinjaTrader

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




 
Search this Thread
  #1 (permalink)
 
WolfieWolf's Avatar
 WolfieWolf 
Charlottetown, Prince Edward Island
 
Experience: Advanced
Platform: Ninja
Broker: Optimus - Rithmic
Trading: GC
Posts: 232 since Jul 2010
Thanks Given: 100
Thanks Received: 272

Guys I'm by no means a Ninja guru but I've done my share of coding and I just can't understand this. I've written a strategy based on multiple time series. everywhere in the code I've referenced the BIP1+ and purposely excluded BIP0. I've even aligned my data series objects with the extra BIP's. Shouldn't I be able to attach this strategy to any chart of any resolution and get the same results regardless of the primary time frame? I expected this to be the case but it's not. somewhere, somehow Ninja insists on using BIP0 somehow and I have no idea where.... any takers?

Thanks

Wolfie


Started this thread Reply With Quote

Can you help answer these questions
from other members on NexusFi?
NYSE Owner ICE Invests in Crypto Exchange OKX at $25 Bil …
Cryptocurrency
Orban at 29pct as Hungary Votes Tomorrow -- McIlroy Surg …
Prediction Markets & Event Contracts
April 2026 Jobs Report: +115k vs +65k Expected
Traders Hideout
Saylors 41-Month HODL Breaks: Strategy Sells 32 BTC as $ …
Prediction Markets & Event Contracts
Iran Peace Expired NO: Ceasefire on Life Support, OPEC a …
Prediction Markets & Event Contracts
 
Best Threads (Most Thanked)
in the last 7 days on NexusFi
Sober Journey With S&P
24 thanks
2026 Jlab journal
10 thanks
Lady Vols Primer: Trading Volatility Journal
8 thanks
Algo automated / semi-automated trading anyone?
6 thanks
Trying to learn Volume and price action correlation
5 thanks
  #2 (permalink)
 
ratfink's Avatar
 ratfink 
Birmingham UK
Market Wizard
 
Experience: Intermediate
Platform: NinjaTrader
Broker: TST/Rithmic
Trading: YM/Gold
Posts: 3,550 since Dec 2012
Thanks Given: 17,423
Thanks Received: 8,430


WolfieWolf View Post
Guys I'm by no means a Ninja guru but I've done my share of coding and I just can't understand this. I've written a strategy based on multiple time series. everywhere in the code I've referenced the BIP1+ and purposely excluded BIP0. I've even aligned my data series objects with the extra BIP's. Shouldn't I be able to attach this strategy to any chart of any resolution and get the same results regardless of the primary time frame? I expected this to be the case but it's not. somewhere, somehow Ninja insists on using BIP0 somehow and I have no idea where.... any takers?

Thanks

Wolfie

Remember that all code in OBU still gets all events for all series unless you have else-if's or switch's in place. Just accessing bip[N]'s isn't everything unless you have also taken care of the event streams.


Travel Well
Visit my NexusFi Trade Journal Reply With Quote
  #3 (permalink)
 
WolfieWolf's Avatar
 WolfieWolf 
Charlottetown, Prince Edward Island
 
Experience: Advanced
Platform: Ninja
Broker: Optimus - Rithmic
Trading: GC
Posts: 232 since Jul 2010
Thanks Given: 100
Thanks Received: 272



ratfink View Post
Remember that all code in OBU still gets all events for all series unless you have else-if's or switch's in place. Just accessing bip[N]'s isn't everything unless you have also taken care of the event streams.

Thanks...can you elaborate on that? if specified if(BIP==0)return what else do I need to handle?


Started this thread Reply With Quote
  #4 (permalink)
 
ratfink's Avatar
 ratfink 
Birmingham UK
Market Wizard
 
Experience: Intermediate
Platform: NinjaTrader
Broker: TST/Rithmic
Trading: YM/Gold
Posts: 3,550 since Dec 2012
Thanks Given: 17,423
Thanks Received: 8,430


WolfieWolf View Post
Thanks...can you elaborate on that? if specified if(BIP==0)return what else do I need to handle?

Ok, that way out should be fine.

I can only suggest you add some diagnostic 'Print' calls and open up the output window, otherwise post some code and we can think some more.


Travel Well
Visit my NexusFi Trade Journal Reply With Quote




Last Updated on April 9, 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