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)
NT7 - moving average - green when rising, red when falling?
Should return the same values as the standard EMA. Designed to be a reusable component with low memory overhead.
Version 2:
Further reduced memory footprint
Defaults to CalculateOnBarClose = false
Updated with new JHL.Utility.MA
In NT7 we have the new PlotColors Method that allows the color of a single plot to be changed on the fly, without having to use the NT6.5 kluge of switching between different plots and repainting the segment connecting the current value to the value from one bar back.
So if we are plotting an MA to the first plot of an indicator, just do this to have different colors when the indicator is rising or falling.
The upColor and downColor can be user selectable. They need to be declared as variables, there must be Get/Set statements for them, and they need to be serialized.
There is a thread in the Ninjatrader forums called Multi Color Plot Approach that explains this further. This goes back to the early beta releases of NT7.
I don't deserve much credit for this as it is simply a straightforward modification of Mike's Triple Smoothed EMA using predefined instances of the external indicators for code optimization. Elite only, please.
The EMA needs to be optimized too, for …
It's a triple smoothed EMA, not a simple EMA. It uses predefined instances of the EMA for optimization. Once more, thanks to Richard Todd of MoveTheMarkets.com for his article on this subject.
You may be surprised at how fast this indicator loads and refreshes. Further optimization can be accomplished by making an external call to a more efficient implementation of the EMA, rather than to @EMA.cs.
Every time I try down loading something I get error messages. I have tried more than one indicator, so I know something is wrong on my end. But I have no idea what. I have NT7, every time I try to compile it I get these stupid little error messages. Something about the name and blah blah blah
please stay in ONE thread with your comiling / importing-issues !
you have one main problem in your Ninja that causes all these errors when compiling / importing.
this has to be find & solved before anything else is working.
please stay here
maybe it brings you to a result
and please report here if this helped you !
thanks!
:crazy_pilot:
+ do all the steps, post screenshots of the errors etc to find out whats the problem at your side.
posting in diff threads makes no sense.
we will assist you if we can !
Right ok...my bad, was just venting a little lol. Just because I have no idea how to fix this, or really even explain it. But I'll keep it in one area from now on. Sorry about that.