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)
@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?
@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.
This version includes few additional features:
MA line dash style can be used now to reflect all existing coloring modes like slope, rising/falling, support/resistance etc…
MA line width can be used now to reflect all existing coloring modes like …
Be yourself; everyone else is already taken. Oscar Wilde
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()
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.