Welcome to NexusFi: the best trading community on the planet, with over 150,000 members Sign Up Now for Free
Genuine reviews from real traders, not fake reviews from stealth vendors
Quality education from leading professional traders
We are a friendly, helpful, and positive community
We do not tolerate rude behavior, trolling, or vendors advertising in posts
We are here to help, just let us know what you need
You'll need to register in order to view the content of the threads and start contributing to our community. It's free for basic access, or support us by becoming an Elite Member -- see if you qualify for a discount below.
-- Big Mike, Site Administrator
(If you already have an account, login at the top of the page)
Looking for typical way to create a 'DataBox' on Price Panel
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
Can you help answer these questions from other members on NexusFi?
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.
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.
i heard about a request of a textbox in the chart showing some during trading needed infos.
i had some time today and made this as a posting now for all.
this is a code-example for making a such a textbox with live-infos …
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).
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.