NexusFi: Find Your Edge


Home Menu

 





BarsInProgress==0 / BarsArray[0]


Discussion in NinjaTrader

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




 
Search this Thread

BarsInProgress==0 / BarsArray[0]

  #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?
Quantum physics & Trading dynamics
The Elite Circle
OrderFlow-Based Support/Resistance Levels
Emini and Emicro Index
Cheap historycal L1 data for stocks
Stocks and ETFs
ZombieSqueeze
Platforms and Indicators
NT7 Indicator Script Troubleshooting - Camarilla Pivots
NinjaTrader
 
Best Threads (Most Thanked)
in the last 7 days on NexusFi
Funded Trader platforms
32 thanks
Just another trading journal: PA, Wyckoff & Trends
23 thanks
Trading with Intuition
17 thanks
Self sabotage reframed
13 thanks
GFIs1 1 DAX trade per day journal
9 thanks
  #2 (permalink)
 
ratfink's Avatar
 ratfink 
Birmingham UK
Market Wizard
 
Experience: Intermediate
Platform: NinjaTrader
Broker: TST/Rithmic
Trading: YM/Gold
Posts: 3,633 since Dec 2012
Thanks Given: 17,423
Thanks Received: 8,426


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,633 since Dec 2012
Thanks Given: 17,423
Thanks Received: 8,426


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


© 2024 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 - Privacy Policy - Downloads - Top
no new posts