Looking for typical way to create a 'DataBox' on Price Panel - NinjaTrader Programming | futures io social day trading
futures io futures trading


Looking for typical way to create a 'DataBox' on Price Panel
Updated: Views / Replies:3,566 / 15
Created: by forrestang 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
 

Looking for typical way to create a 'DataBox' on Price Panel

  #11 (permalink)
Elite Member
Lagos, Nigeria
 
Futures Experience: Intermediate
Platform: NinjaTrader, SierraChart
Favorite Futures: Euro Currency & Oil
 
lolu's Avatar
 
Posts: 2,440 since Jun 2009
Thanks: 1,000 given, 1,595 received


forrestang View Post
And about that crash....

You don't seem to connect your machines to a backup power supply (UPS) .... your machines don't seem to have power protection; Right ?

In my part of the world, I have as my power protection equipment -----> Stabilizer/Surge Protector and Inverter/Charger System (a more efficient kinda UPS); and I don't use my machines if these protection equipment are defective.

Lolu

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


forrestang View Post
I'm creating an indicator, that so far just needs to display various information on the price panel.

If I had maybe 3-4 variables I would like to output to the screen, what would be a good way to do this? I would like to use a function that would somehow keep it together, so that when resizing bars or scrunching the chart together, all of the values do not get too close to each other, or loose their spacing.

If anyone knows of an indicator that has done this (I can't think of any), that might get me started as well.

Might look something like this pic.

Forrest


Did not reed this meesage before. When you want to display a data box it gets interesting, when you define what you want to display.

Static Display: Only the information of the last bars of the chart is used to fill the data box.

Dynamic Display: The information displayed is retrieved from the last par painted on your chart. This means that when you scroll the chart back hoizontally, the information displayed changes in line with the data displayed.

To see the difference, please have a look at the following static and dynamic indicators:


Examples

Static: NinjaTrader default Regression Channel indicator. It calculates the values from the last bar processed by OnBarUpDate().
Dynamic: Regression Channel V2 (download section). It calculates the regression channel from the last values displayed on the chart.

Static: Percentage indicator on RelativeVolume V14 indicator.
Dynamic: VolatilityBands V37. The values displayed in the upper left corner are in line with the sessions and bars displayed on the chart. The indicator has a custom plot, all calculations performed are stored in DataSeries objects and then retrieved by accessing the values for the bars shown on the chart.

Reply With Quote
The following user says Thank You to Fat Tails for this post:
 
  #13 (permalink)
Urban Samurai
Chicago IL
 
Futures Experience: Intermediate
Platform: Ninja, MT4,TOS, SC, Matlab
Broker/Data: CQG, AMP, MB, DTN
Favorite Futures: E/U, G/U
 
forrestang's Avatar
 
Posts: 1,039 since Jun 2010
Thanks: 226 given, 688 received


@Fat Tails

If I wanted to create a Data Box, that will always remain in a fixed position on the chart, AND have control over the color/font of text via some condition I have, is this possible?

-----EDIT----
Looks like it needs custom databox and override of plot function. I will have to figure this out.


Last edited by forrestang; September 7th, 2011 at 03:18 PM.
Reply With Quote
 
  #14 (permalink)
Market Wizard
virginia
 
Futures Experience: Intermediate
Platform: ninja
Favorite Futures: ES
 
cory's Avatar
 
Posts: 5,220 since Jun 2009
Thanks: 628 given, 6,318 received
Forum Reputation: Legendary

text box tip
https://futures.io/ninjatrader-programming/1128-coding-beginners-text-value-boxes-your-chart.html

Reply With Quote
The following user says Thank You to cory for this post:
 
  #15 (permalink)
Urban Samurai
Chicago IL
 
Futures Experience: Intermediate
Platform: Ninja, MT4,TOS, SC, Matlab
Broker/Data: CQG, AMP, MB, DTN
Favorite Futures: E/U, G/U
 
forrestang's Avatar
 
Posts: 1,039 since Jun 2010
Thanks: 226 given, 688 received



Thanks Cory.

I've got the text box by itself working. I've used that before.

Two problems with that though:
1.) I have a text box with several variables in it. And I would like to be able to control the colors of each variable individually.

2.) If I create several text boxes, it will probably not maintain that nice spacing. So that if a user decides to rescale his chart, or blow it up fullscreen, the variables will overlap, or seperate, looking kinda sloppy.

I edited my post above, in that I will probably just have to learn how to create a custom data box and over ride the plot function (thats what someone suggested on the NT forum).

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


forrestang View Post
@Fat Tails

If I wanted to create a Data Box, that will always remain in a fixed position on the chart, AND have control over the color/font of text via some condition I have, is this possible?

-----EDIT----
Looks like it needs custom databox and override of plot function. I will have to figure this out.

Correct. THe easiest way is to code an indicator with a custom plot. An example for such an indicator is the SessioVolatilityBands. It plots a small data box in the upper left corner of the chart. The data box can also be displayed in the upper right corner of the chart. Of course it is possible to plot a stand-alone data box with a different text font and different colors somewhere else on the chart.

Reply With Quote
The following user says Thank You to Fat Tails for this post:

Reply



futures io > > > > > Looking for typical way to create a 'DataBox' on Price Panel

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
Databox bukkan NinjaTrader Programming 10 December 16th, 2016 09:38 AM
plot without DataBox baberg NinjaTrader Programming 5 August 15th, 2011 06:36 PM
Arrows not plotting on price panel kendallw4 NinjaTrader Programming 2 June 28th, 2011 03:44 PM
Draw on both Price & Indicator Panel NT7? Wessel NinjaTrader Programming 12 July 15th, 2010 09:41 AM
Need help to create an up/down arrow in panel 1(price/candle area) alex123 NinjaTrader Programming 3 September 28th, 2009 07:06 PM


All times are GMT -4. The time now is 07:45 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-17 in 0.11 seconds with 20 queries on phoenix via your IP 54.163.209.109