NexusFi: Find Your Edge


Home Menu

 





ZigZagUTC problem


Discussion in NinjaTrader

Updated
      Top Posters
    1. looks_one lookOutBelow with 3 posts (0 thanks)
    2. looks_two yeohass with 2 posts (0 thanks)
    3. looks_3 Big Mike with 1 posts (3 thanks)
    4. looks_4 Quick Summary with 1 posts (0 thanks)
    1. trending_up 2,886 views
    2. thumb_up 3 thanks given
    3. group 3 followers
    1. forum 7 posts
    2. attach_file 0 attachments




 
Search this Thread

ZigZagUTC problem

  #1 (permalink)
lookOutBelow
San Francisco, CA
 
Posts: 40 since Sep 2010
Thanks Given: 5
Thanks Received: 19

Perhaps I'm being a complete dummy. But, I'm having a problem with the ZigZagUTC indicator. I was hoping someone could help.

Print("Bar num of last high: " + ZigZagUTC(3,2,true,Color.Green).lasthibar);

Should give me the bar number of the last high? It continually gives me a result of 0. I'm using version 7 of NT. Is anyone else having this issue?

Reply With Quote

Can you help answer these questions
from other members on NexusFi?
MC PL editor upgrade
MultiCharts
Quantum physics & Trading dynamics
The Elite Circle
Trade idea based off three indicators.
Traders Hideout
NT7 Indicator Script Troubleshooting - Camarilla Pivots
NinjaTrader
What broker to use for trading palladium futures
Commodities
 
  #3 (permalink)
lookOutBelow
San Francisco, CA
 
Posts: 40 since Sep 2010
Thanks Given: 5
Thanks Received: 19


Turns out. It is reporting 0 when running a backtest. But when running real time, it reports properly.

Would anyone know how to get this to report properly in a backtest? I'm stumped.

Reply With Quote
  #4 (permalink)
lookOutBelow
San Francisco, CA
 
Posts: 40 since Sep 2010
Thanks Given: 5
Thanks Received: 19

I emailed the author of the indicator and he was nice enough to straighten me out. It was a botched syntax job on my part.

Sorry to bother you guys.

Reply With Quote
  #5 (permalink)
yeohass
LOS ANGELES
 
Posts: 4 since Jul 2011
Thanks Given: 4
Thanks Received: 0

Hi lookOutBelow

I've just stumbled across your post from last year whilst trying to resolve some of my own issues with the ZigZagUTC indicator...

Any chance you could post your solution please?

Thanks

Reply With Quote
  #6 (permalink)
 
Big Mike's Avatar
 Big Mike 
Manta, Ecuador
Site Administrator
Developer
Swing Trader
 
Experience: Advanced
Platform: Custom solution
Broker: IBKR
Trading: Stocks & Futures
Frequency: Every few days
Duration: Weeks
Posts: 50,469 since Jun 2009
Thanks Given: 33,246
Thanks Received: 101,669


yeohass View Post
Hi lookOutBelow

I've just stumbled across your post from last year whilst trying to resolve some of my own issues with the ZigZagUTC indicator...

Any chance you could post your solution please?

Thanks

Take a look here for a more up-to-date tool:



Mike



Join the free Markets Chat beta: one platform, all the trade rooms!

We're here to help: just ask the community or contact our Help Desk

Quick Links: Change your Username or Register as a Vendor
Searching for trading reviews? Review this list
Lifetime Elite Membership: Sign-up for only $149 USD
Exclusive money saving offers from our Site Sponsors: Browse Offers
Report problems with the site: Using the NexusFi changelog thread
Follow me on Twitter Visit my NexusFi Trade Journal Reply With Quote
Thanked by:
  #7 (permalink)
yeohass
LOS ANGELES
 
Posts: 4 since Jul 2011
Thanks Given: 4
Thanks Received: 0

Thank Mike, that looks like a much more user-friendly indicator

Reply With Quote
  #8 (permalink)
 
cory's Avatar
 cory 
virginia
 
Experience: Intermediate
Platform: ninja
Trading: NQ
Posts: 6,098 since Jun 2009
Thanks Given: 877
Thanks Received: 8,090

@makusan I don't maintain zigzagutc any more use price action swing instead.

Reply With Quote




Last Updated on February 20, 2013


© 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