price oscillator bands (works on some charts, but not on others) - NinjaTrader Programming | futures io social day trading
futures io futures trading


price oscillator bands (works on some charts, but not on others)
Updated: Views / Replies:950 / 2
Created: by khmodel Attachments:5

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
 

price oscillator bands (works on some charts, but not on others)

  #1 (permalink)
Elite Member
Mountain Lakes NJ
 
Futures Experience: Beginner
Platform: NinjaTrader, MultiCharts
Broker/Data: Mirus/Zen-Fire
Favorite Futures: ES
 
Posts: 10 since May 2010
Thanks: 44 given, 6 received

price oscillator bands (works on some charts, but not on others)

I recently added new plots to an older pre-existing ninjascript that can be found here in post #3 (ElliotOscillator1.2.zip):
http://www.ninjatrader.com/support/f...ead.php?t=2681

My modified version of the above indicator is attached here in this post for reference purposes.
In the attached picture, one can identify the two new plots which I added by looking for the yellow colored lines in the subgraph.

For testing purposes, I added an input which allows the user to enable or disable the new plots which I added.

When the input called "OSC_strengthband_show" is set to false, the code always works and is identical to the older original version from the link above.

When the input called "OSC_strengthband_show" is set to true, I have observed that the indicator only works on certain combinations of instrument, resolution, and session but not on others. I suspect that the code is throwing an exception due to a null value or a NaN or something similar which is being generated within the code changes which I added.

My lack of deep experience with ninjascript programming should be noted. If anyone here can offer any ideas on how to fix the attached code, it would be greatly appreciated.

Attached Thumbnails
price oscillator bands (works on some charts, but not on others)-1111207a_test_01.jpg  
Attached Files
Register to download File Type: zip ElliotOscBands.zip (3.1 KB, 35 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
Mountain Lakes NJ
 
Futures Experience: Beginner
Platform: NinjaTrader, MultiCharts
Broker/Data: Mirus/Zen-Fire
Favorite Futures: ES
 
Posts: 10 since May 2010
Thanks: 44 given, 6 received

workspaces and log for replication of problem conditions


I have uploaded two sample workspaces and a log. These should make it easy to replicate the problem that I described earlier.

The first workspace should not have any problems, it is called "test_eOscBands_1".
The second workspace called "test_eOscBands_2" simply changes resolution from 6 point to 12 point, and the indicator stops working as described previously.

After loading the second workspace called "test_eOscBands_2", the log reports:
"12/9/2011 1:05:51 PM|3|4|Error on calling 'OnBarUpdate' method for indicator 'ElliotOscBands' on bar 559: Index was outside the bounds of the array."

Attached Files
Register to download File Type: zip test_eOscBands_1.zip (3.5 KB, 11 views)
Register to download File Type: zip test_eOscBands_2.zip (3.5 KB, 8 views)
Register to download File Type: zip log.20111209.zip (997 Bytes, 6 views)
Reply With Quote

Reply



futures io > > > > > price oscillator bands (works on some charts, but not on others)

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
Book Discussion: Reading Price Charts Bar by Bar by Al Brooks cunparis Traders Hideout 530 October 19th, 2016 08:45 PM
Price Action with Bollinger Bands Saroj The Elite Circle 36 March 18th, 2012 08:12 AM
Driving Ninjatrader charts with web query price feed RJ3000 NinjaTrader Programming 5 October 20th, 2010 12:42 AM
Image:al brooks reading price charts bar by bar.jpg Big Mike Trading Wiki Images 0 July 1st, 2010 09:00 PM
Enter to win: Autographed copies of Al Brook's Reading Price Charts Bar by Bar Book Big Mike Feedback and Announcements 51 June 29th, 2010 04:42 PM


All times are GMT -4. The time now is 03:35 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-16 in 0.08 seconds with 20 queries on phoenix via your IP 54.196.201.241