Williams Acc Dist indicator not plotting - NinjaTrader Programming | futures io social day trading
futures io futures trading


Williams Acc Dist indicator not plotting
Updated: Views / Replies:2,238 / 6
Created: by buzzsaw Attachments:3

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
 

Williams Acc Dist indicator not plotting

  #1 (permalink)
Elite Member
Leesburg, VA
 
Futures Experience: Advanced
Platform: NinjaTrader
 
Posts: 79 since Aug 2010
Thanks: 74 given, 29 received

Williams Acc Dist indicator not plotting

I haven't programmed in a decade or so. Thought I would give NT a try with what I thought was a simple indicator that I couldn't find, Larry Williams Accumulation Distribution.

Attached is the code for the Williams AD with a ZLEMA. The code compiles but it won't plot. I'm sure there's something simple that I'm missing.

Any assistance is appreciated with the simple task that has turned into a challenge.

Attached Files
Register to download File Type: cs WilliamsAD_with_ZLEMA.cs (6.6 KB, 22 views)
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)
Elite Member
las vegas
 
Futures Experience: Intermediate
Platform: Sierra Chart
Broker/Data: Velocity/IB
Favorite Futures: 6E
 
Posts: 1,147 since Feb 2010
Thanks: 304 given, 836 received


You don't want to define a data series for the plots in the variables or initialize section, so you can delete lines 29, 30, 49, 50. For the most part you only need to define a dataseries in these sections for calculations where you want to reference a prior period for that calculation. The plots and input parameters are defined in a properties region inserted after the initialize region. For this one you would need to add:

 
Code
 
   #region Properties
 
   [Browsable(false)]
   [XmlIgnore()]
   public DataSeries AD
   {
       get { return Values[0]; }
   }
 
   [Browsable(false)]
   [XmlIgnore()]
   public DataSeries ADMA
   {
       get { return Values[1]; }
   }

   [Description("Period")]
   [GridCategory("Parameters")]
   public int Period
   {
       get { return period; }
       set { period = Math.Max(1, value); }
   }
   #endregion
I don't really know why it's this way, I just know that's how you do it.

Reply With Quote
 
  #4 (permalink)
Elite Member
Leesburg, VA
 
Futures Experience: Advanced
Platform: NinjaTrader
 
Posts: 79 since Aug 2010
Thanks: 74 given, 29 received

That produced errors, attached, with updated code.

Attached Thumbnails
Williams Acc Dist indicator not plotting-nt-error.png  
Attached Files
Register to download File Type: cs WilliamsADwithZLEMA.cs (7.3 KB, 39 views)
Reply With Quote
 
  #5 (permalink)
Elite Member
Leesburg, VA
 
Futures Experience: Advanced
Platform: NinjaTrader
 
Posts: 79 since Aug 2010
Thanks: 74 given, 29 received

All fixed and posted in the indicators section.

Reply With Quote
The following user says Thank You to buzzsaw for this post:
 
  #6 (permalink)
Elite Member
Massachusetts,USA
 
Futures Experience: Intermediate
Platform: Ninja Trader
Broker/Data: Barcharts
Favorite Futures: stocks
 
Posts: 7 since Aug 2009
Thanks: 0 given, 1 received

Williams Acc Dist

Does anyone know where this indicator is located ?
I did a search but could not find it.
Thanks

Reply With Quote
 
  #7 (permalink)
Elite Member
Leesburg, VA
 
Futures Experience: Advanced
Platform: NinjaTrader
 
Posts: 79 since Aug 2010
Thanks: 74 given, 29 received

Try a different search parameter in the indicators. I believe I labeled it starting with "Larry Williams ......."

Reply With Quote

Reply



futures io > > > > > Williams Acc Dist indicator not plotting

Thread Tools Search this Thread
Search this Thread:

Advanced Search



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

Jigsaw Trading: TBA

Elite only

FuturesTrader71: TBA

Elite only

NinjaTrader: TBA

Jan 18

RandBots: TBA

Jan 23

GFF Brokers & CME Group: Futures & Bitcoin

Elite only

Adam Grimes: TBA

Elite only

Ran Aroussi: TBA

Elite only
     

Similar Threads
Thread Thread Starter Forum Replies Last Post
Plotting options Bespoke Options on Futures 8 December 11th, 2011 06:59 PM
Put/Call Ration indicator or plotting capability. hector24 NinjaTrader 4 March 12th, 2011 11:56 PM
NT7 - indicator plotting priorities .. or so ;) max-td NinjaTrader 3 February 11th, 2011 04:24 AM
Plotting text in indicator panel ibiscmllc NinjaTrader Programming 2 November 19th, 2010 08:56 AM
PLotting GOM Indicator eone NinjaTrader 1 October 7th, 2010 08:16 PM


All times are GMT -4. The time now is 08:49 PM.

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-13 in 0.10 seconds with 20 queries on phoenix via your IP 54.160.245.121