NexusFi: Find Your Edge


Home Menu

 





Help Request for Multi Time Frame Indicator


Discussion in NinjaTrader

Updated
      Top Posters
    1. looks_one w4w4w with 5 posts (5 thanks)
    2. looks_two Blash with 3 posts (2 thanks)
    3. looks_3 iq200 with 2 posts (2 thanks)
    4. looks_4 marpol with 1 posts (0 thanks)
    1. trending_up 3,506 views
    2. thumb_up 9 thanks given
    3. group 4 followers
    1. forum 11 posts
    2. attach_file 5 attachments




 
Search this Thread

Help Request for Multi Time Frame Indicator

  #11 (permalink)
 iq200 
London, UK
 
Experience: Intermediate
Platform: Ninjatrader, Tradestation
Broker: Kinetick, InteractiveBrokers
Trading: Equities, Futures
Posts: 408 since Jun 2010
Thanks Given: 145
Thanks Received: 278

Can you post your complete indicator file? I'll help you find out what the problem is ..


Sent from my iPhone using futures.io

Follow me on Twitter Visit my NexusFi Trade Journal Reply With Quote

Can you help answer these questions
from other members on NexusFi?
Strategy stop orders partially filled
EasyLanguage Programming
NT7 Indicator Script Troubleshooting - Camarilla Pivots
NinjaTrader
Trade idea based off three indicators.
Traders Hideout
ZombieSqueeze
Platforms and Indicators
What broker to use for trading palladium futures
Commodities
 
  #12 (permalink)
 marpol 
San Francisco, CA
 
Experience: Advanced
Platform: IB-TWS, Ninja, Wave59, R
Broker: IB, IQFeed
Trading: ZB
Posts: 37 since Sep 2013
Thanks Given: 0
Thanks Received: 26

Your lines are printing from 2 days ago because of the way OnBarUpdate() works and the fact that you are plotting on a lower time frame.

OnBarUpdate updates at the END of the bar. So if you are in BarsInProgress==1 (or the day data)...and the day is done (when onBarUpdate is called) then you are technically looking back 2 days because onBarUpdate will not get call again for your day data till the end of the day.

Don't know if that makes since or not but basicly try changing High[1][1] to High[1][0]. That should fix it for you.

Reply With Quote




Last Updated on April 12, 2017


© 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