1 minute coding advice will save my sanity - NinjaTrader Programming | futures io social day trading
futures io futures trading

1 minute coding advice will save my sanity
Updated: Views / Replies:828 / 3
Created: by mokodo 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 100,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

Thread Tools Search this Thread

1 minute coding advice will save my sanity

  #1 (permalink)
 Vendor: www.indicatorx.com 
Bridgwater, UK
Futures Experience: Beginner
Platform: Ninjatrader
Broker/Data: MB Trading
Favorite Futures: Forex
mokodo's Avatar
Posts: 384 since Jun 2011
Thanks: 525 given, 345 received

1 minute coding advice will save my sanity

Hi Coders,

Can you save my fragile mind from meltdown?

I use the ZigZag indi in NT7 in my trading system but need to tweak it. Simply enough I thought, but it has me stumped.

I want to see the previous end points for each leg of the zigzag before its fixes and starts a search for the next leg. I have made the change to the ZigZag UTC version (see attached chart, in green the ZigZag UTC line, the purple dots are the 'repainted' previous endpoints, blue line is the ZigZag indi I'm trying to tweak.).

I'm only only my 812th reading of 'C# for Dummies' so am lacking a bit in the coding department

If any kind-hearted coders happen to be riding by, any advice would be gratefully received.

Thanks in advance,

Attached Thumbnails
1 minute coding advice will save my sanity-chfjpy-15-min-28_06_2011.jpg  
Reply With Quote
  #2 (permalink)
Quick Summary
Quick Summary Post

Quick Summary is created and edited by users like you... Add FAQ's, Links and other Relevant Information by clicking the edit button in the lower right hand corner of this message.

  #3 (permalink)
Trading for Fun
College Point, NY (Queens)
Futures Experience: Intermediate
Platform: NinjaTrader
Broker/Data: AMP/CQG
Favorite Futures: YM
Posts: 63 since Nov 2009
Thanks: 5 given, 20 received

It looks like you're trying to find a prior low or high. To do this, I made the lo and hi DataSeries public, so that I could get hold of them. You could then find the prior lows ...

ZigZagUTC( show, span, useHiLo, zigZagColor ).lo[0] ... 1st low

ZigZagUTC( show, span, useHiLo, zigZagColor ).lo[1] ... 2nd low

Don't know if this helps ...

Reply With Quote
  #4 (permalink)
 Vendor: www.indicatorx.com 
Bridgwater, UK
Futures Experience: Beginner
Platform: Ninjatrader
Broker/Data: MB Trading
Favorite Futures: Forex
mokodo's Avatar
Posts: 384 since Jun 2011
Thanks: 525 given, 345 received

Hi kandlekid,

Thanks for the post. I have actually already made this amendment to the UTC version. My problem is how to achieve the same result with the ZigZag indi that ships with Ninjatrader. But you are right in indentifying what I want to do - see the previous endpoints of each leg after the leg repaints.

Thanks in advance if you can help me out.

Reply With Quote


futures io > > > > > 1 minute coding advice will save my sanity

Thread Tools Search this Thread
Search this Thread:

Advanced Search

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

July Journal Challenge - $500 in Amazon Gift Cards!


Battlestations: $750 in prizes - Show us your trading desk!


TBA: FuturesTrader71 w/Morad Askar

Elite only

Similar Threads
Thread Thread Starter Forum Replies Last Post
Code to save my chart in a directory cunparis NinjaTrader Programming 9 August 14th, 2012 06:32 PM
Save The Gambling Bankers zt379 News and Current Events 5 August 23rd, 2011 08:59 AM
Debt Restructuring Is the Only Way To Save the Euro Quick Summary News and Current Events 0 January 25th, 2011 03:40 AM
Save parameters from one session to another bukkan NinjaTrader Programming 7 January 4th, 2010 04:54 AM
Save the Drama for your Mama Dragon Off-Topic 20 November 19th, 2009 09:15 PM

All times are GMT -4. The time now is 09:33 PM. (this page content is cached, log in for real-time version)

Copyright © 2018 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 2018-07-22 in 0.09 seconds with 15 queries on phoenix