Strategy Multi-Timeframe OnBarUpdate() Sequence - NinjaTrader | futures io social day trading
futures io futures trading


Strategy Multi-Timeframe OnBarUpdate() Sequence
Updated: Views / Replies:691 / 0
Created: by NJAMC Attachments:1

Welcome to futures io.

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

futures io is the largest futures trading community on the planet, with over 90,000 members. At futures io, our goal has always been and always will be to create a friendly, positive, forward-thinking community where members can openly share and discuss everything the world of trading has to offer. The community is one of the friendliest you will find on any subject, with members going out of their way to help others. Some of the primary differences between futures io and other trading sites revolve around the standards of our community. Those standards include a code of conduct for our members, as well as extremely high standards that govern which partners we do business with, and which products or services we recommend to our members.

At futures io, our focus is on quality education. No hype, gimmicks, or secret sauce. The truth is: trading is hard. To succeed, you need to surround yourself with the right support system, educational content, and trading mentors Ė all of which you can find on futures io, utilizing our social trading environment.

With futures io, you can find honest trading reviews on brokers, trading rooms, indicator packages, trading strategies, and much more. Our trading review process is highly moderated to ensure that only genuine users are allowed, so you donít need to worry about fake reviews.

We are fundamentally different than most other trading sites:
  • We are here to help. Just let us know what you need.
  • We work extremely hard to keep things positive in our community.
  • We do not tolerate rude behavior, trolling, or vendors advertising in posts.
  • We firmly believe in and encourage sharing. The holy grail is within you, we can help you find it.
  • We expect our members to participate and become a part of the community. Help yourself by helping others.

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

Reply
 
Thread Tools Search this Thread
 

Strategy Multi-Timeframe OnBarUpdate() Sequence

  #1 (permalink)
Elite Member
Atkinson, NH USA
 
Futures Experience: Intermediate
Platform: NinjaTrader 8/TensorFlow
Broker/Data: NinjaTrader Brokerage
Favorite Futures: Futures, CL, ES, ZB
 
NJAMC's Avatar
 
Posts: 1,925 since Dec 2010
Thanks: 2,962 given, 2,294 received

Strategy Multi-Timeframe OnBarUpdate() Sequence

I have seen this problem before, but have no idea what causes it. I think I scared it away on another project (some work around I simply don't remember).

The problem I am having is in a MTF strategy (may happen in a single timeframe but not tested). The issue is the sequence in which the OnBarUpdate() seems to fire. Hummm... Think I figured it out....

The issue was with my "GHPGenericPlot()" indicator. I used this to create dynamic plots on my strategies so I am only pushing data to an exposed method. Come to find out, NT7 might not Fire the Init() and OnBarUpdate() functions until the Plot value is requested. I seem to have fixed this by accessing PLOT[0] of this indicator from the strategy.

I have attached the CS file for those interested. If there is a better way to force this indicator to Init please let me know.

Nil per os
-NJAMC [Generic Programmer]

LOM WIKI: NT-Local-Order-Manager-LOM-Guide
Artificial Bee Colony Optimization
Attached Files
Register to download File Type: cs GHPGenericPlot.cs (8.8 KB, 21 views)
Reply With Quote

Reply



futures io > > > > Strategy Multi-Timeframe OnBarUpdate() Sequence

Thread Tools Search this Thread
Search this Thread:

Advanced Search



Upcoming Webinars and Events (4:30PM ET unless noted)

Linda Bradford Raschke: Reading The Tape

Elite only

Adam Grimes: TBA

Elite only

NinjaTrader: TBA

January

Ran Aroussi: TBA

Elite only
     

Similar Threads
Thread Thread Starter Forum Replies Last Post
Multi Timeframe MA cross Strategy ryangillespie The Elite Circle 1 December 8th, 2011 06:31 PM
NT Multi Timeframe and multi indicator review eurostoxx NinjaTrader 3 August 29th, 2011 01:07 PM
Multi-Timeframe in a strategy max-td NinjaTrader Programming 30 July 22nd, 2010 01:35 PM
sensitivity multi-timeframe trick (small timeframe on bigger one) SARdynamite NinjaTrader Programming 4 July 15th, 2010 03:57 PM
Ninja Strategy multi-timeframe issue/Strategy to indicator nw123 NinjaTrader Programming 2 December 20th, 2009 07:24 PM


All times are GMT -4. The time now is 02:49 AM.

Copyright © 2017 by futures io, s.a., Av Ricardo J. Alfaro, Century Tower, Panama, +507 833-9432, info@futures.io
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
Page generated 2017-12-12 in 0.06 seconds with 20 queries on phoenix via your IP 54.90.207.75