IntSeries and Data Box - NinjaTrader Programming | futures io social day trading
futures io futures trading


IntSeries and Data Box
Updated: Views / Replies:1,555 / 16
Created: by vantojo Attachments:4

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
 4  
 
Thread Tools Search this Thread
 

IntSeries and Data Box

  #11 (permalink)
Elite Member
Neuquen, Argentina
 
Futures Experience: Intermediate
Platform: Ninja
Favorite Futures: CL, TF, 6S, NG, sometimes GC
 
Posts: 195 since Jul 2012
Thanks: 25 given, 39 received

statement

Seems I didn't state the original problem correctly...it has been a couple of weeks since I tested this

the problem is that a plot against the Y axis, hidden or not, needs to be in terms of the Y axis...

if you have two plots in the same panel they need to use the same unit of measure on the Y axis

================

more thinking....

perhaps there will be a way to do this with indicator options such as...Scale Justification....

I guess I need to look deeper, if I find a solution I'll post it here

Reply With Quote
 
  #12 (permalink)
Elite Member
Cedar Rapids, iowa
 
Futures Experience: Intermediate
Platform: Ninjatrader
Broker/Data: Ninjatrader - Continuum
Favorite Futures: 6E, TF, 6J
 
Tasker_182's Avatar
 
Posts: 626 since Aug 2009
Thanks: 426 given, 1,126 received


vantojo View Post
Seems I didn't state the original problem correctly...it has been a couple of weeks since I tested this

the problem is that a plot against the Y axis, hidden or not, needs to be in terms of the Y axis...

if you have two plots in the same panel they need to use the same unit of measure on the Y axis

================

more thinking....

perhaps there will be a way to do this with indicator options such as...Scale Justification....

I guess I need to look deeper, if I find a solution I'll post it here

Sorry, I guess I still can't fathom what the problem is. If scaling is an issue then use the left scale.

"Money is better than poverty, if only for financial reasons." - Woody Allen
Reply With Quote
 
  #13 (permalink)
Elite Member
Berlin, Europe
 
Futures Experience: Advanced
Platform: NinjaTrader, MultiCharts
Broker/Data: Interactive Brokers
Favorite Futures: Keyboard
 
Fat Tails's Avatar
 
Posts: 9,651 since Mar 2010
Thanks: 4,226 given, 25,600 received
Forum Reputation: Legendary



Tasker_182 View Post
So just make the plots transparent. I just tested that with an EMA plotted on a chart. I turned it transparent and I could still see the values in the databox.

@Tasker_182: The problem is that you cannot see the values in the databox, once you have set the EMA to transparent. Could you please show me the exact settings that you used?

Reply With Quote
 
  #14 (permalink)
Elite Member
Berlin, Europe
 
Futures Experience: Advanced
Platform: NinjaTrader, MultiCharts
Broker/Data: Interactive Brokers
Favorite Futures: Keyboard
 
Fat Tails's Avatar
 
Posts: 9,651 since Mar 2010
Thanks: 4,226 given, 25,600 received
Forum Reputation: Legendary


vantojo View Post
the 4 integer values are the slopes of 4 moving averages

I have the code to calculate the slope and it is working well

however having these values plot on panel 1 makes no sense at all and would mess up the chart because the slopes have nothing to do with price (Y axis)

what I want to do is know the slope at different points (bars) by having them in the Data Box

I don't want to see the slopes all the time, just for research and studies....


@vantojo: A slope cannot be shown as an integer value. By nature it is a double value.

What about adding a data table that shows the slopes of 4 moving averages for the last bar on the chart?

While you trade you are not interested in the slopes of any moving average 3 hours ago, but you would be mostly interested in the slopes for the current bar.

If you study a historical chart, you can move the bar for which you wish to see the moving average slopes to the right edge of the chart. A data box could be toggled on and off.

Below is a sample chart with such a box.

Please register on futures.io to view futures trading content such as post attachment(s), image(s), and screenshot(s).

Reply With Quote
 
  #15 (permalink)
Elite Member
Cedar Rapids, iowa
 
Futures Experience: Intermediate
Platform: Ninjatrader
Broker/Data: Ninjatrader - Continuum
Favorite Futures: 6E, TF, 6J
 
Tasker_182's Avatar
 
Posts: 626 since Aug 2009
Thanks: 426 given, 1,126 received


Fat Tails View Post
@Tasker_182: The problem is that you cannot see the values in the databox, once you have set the EMA to transparent. Could you please show me the exact settings that you used?

I actually used your visualEMA (on a Unirenko chart) and set both rising/falling PlotStyles to transparent.

Please register on futures.io to view futures trading content such as post attachment(s), image(s), and screenshot(s).

"Money is better than poverty, if only for financial reasons." - Woody Allen
Reply With Quote
The following user says Thank You to Tasker_182 for this post:
 
  #16 (permalink)
Elite Member
Cedar Rapids, iowa
 
Futures Experience: Intermediate
Platform: Ninjatrader
Broker/Data: Ninjatrader - Continuum
Favorite Futures: 6E, TF, 6J
 
Tasker_182's Avatar
 
Posts: 626 since Aug 2009
Thanks: 426 given, 1,126 received

@vantojo

Perhaps this indicator would be of some use to you.

https://futures.io/download/vip_elite_circle/1019-download.html?view

"Money is better than poverty, if only for financial reasons." - Woody Allen
Reply With Quote
 
  #17 (permalink)
Elite Member
Berlin, Europe
 
Futures Experience: Advanced
Platform: NinjaTrader, MultiCharts
Broker/Data: Interactive Brokers
Favorite Futures: Keyboard
 
Fat Tails's Avatar
 
Posts: 9,651 since Mar 2010
Thanks: 4,226 given, 25,600 received
Forum Reputation: Legendary

Problem solved


Tasker_182 View Post
I actually used your visualEMA (on a Unirenko chart) and set both rising/falling PlotStyles to transparent.

Then you contributed to solving the original problem as exposed by @vantojo!

Interesting, as I did not know it before.

This is the solution to produce an invisible plot (or 4 of them) which shows up in the Data Box:


-> create a new indicator with a plot
-> add the line "AutoScale = false;" in the Initilialize() section
-> the plot may use any color, for example "Color.Orange", but you may not use Color.Transparent
-> add the indicator formula in OnBarUpdate()
-> add the following two lines in the end of OnBarUpdate()

 
Code
if(CurrentBar > BarsRequired)
      PlotColors[0][0];

NinjaTrader is preset to use BarsRequired = 20, which means that the indicator will not be plotted for the first 20 bars. However, the fact that the plot color is different from Color.Transparent for the first 20 bars is sufficient to make the indicator appear in the data box. Then you may set all further plot values to Color.Transparent for the remainder of the chart.

The result is an invisible plot which appears in the data box. Problem solved.

Attached is a sample indicator with a plot that remains invisible but will show in the data box.

Please register on futures.io to view futures trading content such as post attachment(s), image(s), and screenshot(s).

Attached Files
Register to download File Type: zip MagicEMA.zip (1.9 KB, 25 views)
Reply With Quote

Reply



futures io > > > > > IntSeries and Data Box

Thread Tools Search this Thread
Search this Thread:

Advanced Search



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

Linda Bradford Raschke: Reading The Tape

Elite only

Adam Grimes: TBA

Elite only

NinjaTrader: TBA

January

Ran Aroussi: TBA

Elite only
     

Similar Threads
Thread Thread Starter Forum Replies Last Post
AaMACD N/A in data box during pivots PittsburghDelta NinjaTrader Programming 3 February 21st, 2014 01:34 PM
data box artfuls NinjaTrader 0 January 15th, 2014 12:00 AM
data box question boze man NinjaTrader 1 June 1st, 2012 10:07 AM
Chart Bar OHLC data DOESNT match with the value in data box Koepisch NinjaTrader 4 May 12th, 2012 03:52 AM
unminimized data box in NT7 aquarian1 Traders Hideout 10 January 31st, 2011 07:27 PM


All times are GMT -4. The time now is 02:25 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-12 in 0.11 seconds with 20 queries on phoenix via your IP 54.90.207.75