NexusFi: Find Your Edge


Home Menu

 





BarsInProgress==0 / BarsArray[0]


Discussion in NinjaTrader

Updated
    1. trending_up 2,664 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?
CME Launches Bitcoin Volatility Futures June 1 -- First …
Cryptocurrency
Kalshi Sets $4.13B All-Time Weekly Record as Polymarket …
Prediction Markets & Event Contracts
More Than Capable: Hegseths War Warning Validates $114M …
Prediction Markets & Event Contracts
The June 15 Resolution Trap: Irans Agreed Text Still Pri …
Prediction Markets & Event Contracts
Trump Truth Social Fires Hormuz From 10% to 59% -- Arsen …
Prediction Markets & Event Contracts
 
Best Threads (Most Thanked)
in the last 7 days on NexusFi
NexusFi site changelog and issues/problem reporting
15 thanks
Darmok and Jalad at Tanagra
3 thanks
Big Mike in Ecuador
1 thanks
30 Sessions
1 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,427


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,427


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