This indicator is the basis for the Volatility Breakdown Strategy in the preceding post. There were a lot of changes to make it run MUCH faster, but there are still quite a few more things that could be done.
This time there is a screenshot so you can get an idea of the kinds of conditions this indicator looks for. While it's simplistic, some of the signals do look pretty good.
The download link was broken. I re-uploaded the installer file on March 14, 2016.
"The Donchian Channel indicator is an indicator that was created by Richard Donchian. The Donchian Channel indicator that was created by Richard Donchian is an indicator that uses the highest high and the lowest low of the price of a stock over a period of days to indicate the plot of a channel of the highest high and the lowest low of the price of a stock over a period of days."
To clarify that, "이 리차드 Donchian 만든 표시했다 Donchian 채널 표시. 이 지표가 가장 높은의 채널의 음부과 최저의 낮은 말을 일 기간 동안 가장 높고 주식의 저렴한 가격의 최저를 사용하는지 리처드 Donchian에 의해 생성 된 Donchian 채널 표시 일 기간 동안 주식의 가격".
This plots identically to the Ninjatrader version while using a fraction of the CPU resources. With COBC false, that would be more like a TINY fraction. (Even less than the fraction of truthful content in my newspapers. Or the signal to noise ratio of the indicator description, which has been rephrased as Gibberish and translated into two different languages.)
The MIN and MAX algorithms have been moved into the indicator and are called only when needed. Optimizing external classes is good, but eliminating the need for them is even better.
OnBarUpdate is not called for redundant intrabar ticks that would not affect the output.
If you want to use this to replace the Ninjatrader Donchian System Indicator you would have to rename this one and put it in a folder with the @prefix after deleting the original one. If you are not comfortable doing that, please don't.
This has a different name than the system indicator, so can be installed in the usual way using the Import Ninjascript utility.
Your satisfaction is important to me, so please report any problems.
An approach that reliably shows increasing volatility around market turning points. Once again, the code was changed to increase efficiency. This indicator uses an EMA calculation implemented internally.
This file is intended to replace the file, @ChaikinVolatility.cs.
Like its evil twin MAX, this was a notorious resource hog until rewritten by Ninjatrader a couple of years ago in response to postings on BMT. I just realized that there are some obvious further improvements that can be made.
Performance on COBC false will be better, but on COBC true there won't be any improvement. COBC false is now the default, and PriceTypes other than Close are now supported.
This indicator is important because it is called by so many other indicators. Most of the indicators that I use were modified to call MIN only once per bar, but that's probably not the case for the indicators you are using, in which case there will be a performance improvement.
Once again this file is intended to REPLACE the file @MIN in your indicator folder.
This was a notorious resource hog until rewritten by Ninjatrader a couple of years ago in response to postings on BMT. I just realized that there are some obvious further improvements that can be made.
Performance on COBC false will be better, but on COBC true there won't be any improvement. COBC false is now the default, and PriceTypes other than Close are now supported.
This indicator is important because it is called by so many other indicators. Most of the indicators that I use were modified to call MAX only once per bar, but that's probably not the case for the indicators you are using, in which case there will be a performance improvement.
Once again this file is intended to REPLACE the file @MAX in your indicator folder.
"The Exponential Moving Average (EMA) is an indicator that indicates the exponential moving average value of a security's price over a period of days. When calculating an Exponential Moving Average (EMA), The Exponential Moving Average (EMA) applies more weight to recent prices than the SMA. What IS the SMA, anyway?..."
Here's one that is often used by itself, as well as being called on by many other indicators. There are two variables that depend only on the period, therefore only need to be calculated once, when the indicator first starts up. For some reason they were being calculated on every incoming tick, which is trivial to fix. Also, the term that is dependent on the previous value of the EMA only needs to be calculated on FirstTickOfBar.
The reduction in CPU demand is small for each instance, but you might have a lot of instances. This will run very well on COBC false. The addition of code to screen out redundant intrabar ticks (no price change, as in NT8) would reduce CPU demand on COBC false by around 70%.
Once again I am providing a cs file which is intended to replace the system indicator file, @EMA.cs.
Everyone knows what this looks like so I skipped the screen shot.
Revision B is the latest version. If you downloaded this before about 11:20PM Pacific Time on January 1 you do not have the correct file and should download it again.
The changes that I made must be very difficult to understand since nobody ever thought of making them before. The only reason they occurred to me is that I have two Advanced Degrees. A PhD in Neckwear Design and a Masters in Gibberish.
There is seldom any need to use it by itself, but the SUM indicator is important because it is often called upon by other indicators, which might be set to CalculateOnBarClose = false.
It is also inefficiently coded. Two logic tests that are performed on every tick only need to be performed once per bar.
Correcting this reduces the CPU load when CalculateOnBarClose is false. For COBC true, it does not make any difference.
Therefore consider REPLACING the existing file, @SUM, with this one, using Windows Explorer.. NOT the Ninjascript installation utility.
I don't think a screen shot is necessary for this one.
WRONG FILE had been uploaded. Corrected file uploaded at 2:45 PM ET January 3 2012. Thanks for bringing this to my attention, and please accept my apologies.
Pretty much, this indicator will create a MTF version of any indicator with 6 plots or LESS. In the indicator parameter just type in the name of the indicator you want with all the parameter exactly as it appears on a chart(excluding the input series). Choose your time frame and you are done
August 5th, 2014 08:23 AM landau I will give you 3 stars for this one,becahttps://cdn3.bigmiketrading.com/images/smilies/smile.gifuse it sounds like a gr
eat idea. I haven't tried it yet though.
thanx
January 19th, 2013 11:42 AM minsalaco Classless post. Thx for the commentary unrelated to the strategy. Simply posting and noting an Updated Version would h
ave been sufficient. Another example of no good deed goes unpunished.