The strat entry condition is a (crappy, suggest replacing with something more reliable) ParabolicSAR signal. You can replace it with whatever you wish -- the intent here is to provide the "scaling-in" code/architecture.
Here's a link to a video that demonstrates this precise scaling-in strategy.
Here is the Basic Version of the Donchian Channel that I had modified, as far as I know this version is working fine. The screen shot attached will show how I changed the plots as seen. I hope you might be able to use this on any market you trade and is not set to be only used on the ES, everything is rounded to the nearest tick and with the off set inputs you should be able to put on any chart or market.
Thanks to everyone that posts indicators in this section and I'm glad I am finally able to add something I find of value.
I am running this on NT7 so I don't know if it will run on earlier versions
A simple and classic momentum oscillator from Dr. Alexander Elder. This optimized version has the same features as the one that was posted on the Ninjatrader forum, with the added option of using the WMA.
However, the version on the Ninjatrader forum, aside from the usual inefficient method of making calls to external classes (that people everywhere, including here are so fond of) also had a crude and primitive method for selecting the types of MA's to be used, which I replaced with Enums. This was one of the worst programmed indicators that I have found so far.
There is an internal method GoTo in ChartControl class from NinjaTrader. With attached code you can use method to make bar at specified date visible on chart. This is a solution for thread https://nexusfi.com/
Attached an example to use it on strategy analyzer for backtesting. Left mouse click will go to previous execution and right mouse click will go to next execution
Updated with V2a, corrected only the channel type names (for technical correctness).. Donchian Channel is the Highest/Lowest for a period, which produces a boxy-looking channel.. that's my favourite (google Donchain system). i don't know a technical term for the channel when you take an EMA of highest/lowest which produces a curvy-type channel, so i refer to it as DonchianEMA. the rest is the same .. no calculation changes...
Here's a "Swiss Army Knife" study for fellow ToS'ers .. big thank you to my good forum friend, HGuru, for helping me complete this ...
this is a many-in-1 study, that provides a choice of price channel of many that are commonly used (Keltner, Highest/Lowest, Elder, Keltner, Bollinger..etc), and provide 2 types of signals, based on momentum of 2 EMA lengths of price (Length & Fast_Length):
1 - the primary Momentum signal is based on the main length you set in the study, and is reflected in the color of the price channel itself (green = Up = go Long, red = Down = go short, yellow = retrace or "in-transition")
(pls remember this is momentum and not trend .. though the study has the word "Trender" in the name)
2 - the secondary signal is based on momentum of the fast length EMA. and is only Up or Down. (i would usually take Up position in a green channel or down position in Red channels, so maintain direction with the primary momentum)
there are many other settings we built-into the study to play with and customize for improved visualization. better visual = better decision.. you see in the screenclip how many "personalities" we can get with different options. from settings you can do anything from hiding all elements and leaving only the secondary signals, to fully using it as your trading system, if your system is built around ATR or BB, with the added benefit of the momentum signal. you can combine with other studies you have (i'd suggest a trend following study) for a compact system that won't require lower plots (beside volume if you need it).
the calculation/CPU load this study requires isn't that much, even though it looks packed.
Settings to change length, Fast, Channel Type, the factor for the channel (for BB this would be the StDev, for Keltner the ATR factor, for Shifted EMA's the percentage...etc) - Hide the channel shading, hide/show the lines (the EMA's, the mid-channel, channel bands..etc)
there's an aggressiveness factor built in that we can set - basically this is like saying, "if the Fast Trend is decreasing and becomes less than 10%, this is as good as a negative momentum, and i want to trigger a signal to go short". Leave at 0 until you test this in your own setup and get comfortable with it.
the code is commented, and i'd ask to please keep this study only within BMT as it took a lot of work.
This indicator identifies different market phases based on price action.
Phases 1. Up-Trend: An up-trend is a confirmed range breakout to the up-side, a consolidation continuation, or a down-trend that pulls back Initial Range ticks over n-Periods. 2. Up-Trend Consolidation: An up-trend consolidation period is when a new trend high has not been set in Consolidation Periods, but price has not pulled back Pull-Back Ticks. 3. Up-Trend Pull-Back: An up-trend pull-back is when price has moved down Pull-Back Ticks from the trend high. If price pulls back Initial Range ticks over n-Periods, the market is considered to be in a new down-trend. 4. Up-Trend Breakout: An up-trend breakout is when price moves Breakout Ticks above the current range high. If price remains above the range high for Confirmation Periods, the trend is considered an up-trend. 5. Upper Range: If the current range is at least Tradeable Range wide, and price is in the upper Range Percentage of the range, the market is in the upper range phase. 6. Range: The market is ranging if price is consolidating OR pulling back, BUT has not broken out of the previous high or low n-Periods from that high or low AND price has not moved Initial Range ticks over n-Periods in the same direction as a pull-back. 7. Lower Range: If the current range is at least Tradeable Range wide, and price is in the lower Range Percentage of the range, the market is in the lower range phase. 8. Down-Trend Breakout: A down-trend breakout is when price moves Breakout Ticks below the current range low. If price remains below the range low for Confirmation Periods, the trend is considered a down-trend. 9. Down-Trend Pull-Back: A down-trend pull-back is when price has moved up Pull-Back Ticks from the trend low. If price pulls back Initial Range ticks over n-Periods, the market is considered to be in a new up-trend. 10. Down-Trend Consolidation: A down-trend consolidation period is when a new trend low has not been set in Consolidation Periods, but price has not pulled back Pull-Back Ticks. 11. Down-Trend: A down-trend is a confirmed range breakout to the down-side, a consolidation continuation, or an up-trend that pulls back Initial Range ticks over n-Periods.
Parameters Periods, Initial Range, Tradeable Range, Pull-Back Ticks, Breakout Ticks, Confirmation Periods, & Consolidation Periods: See Above Description Color Outlines: Colors candle outlines according to the current phase. Range Lines: Draws lines at the current range high and low. Note: This indicator updates the highs and lows based on price action. These lines could move in real time. Range Zone: Draws a Range Color rectangle during ranging periods from the current range start period to current bar, Zone Opacity: Opacity of the Range Zone rectangle.
Message Parameters Phase Message: Draws a text box with the current phase in the in the selected position. Message Position: Positions phase message in desired corner. 1=Upper-Right, 2=Lower-Right, 3=Lower-Left, 4=Upper-Left Message Font: Font used for phase message. Font Size: Font size used for phase message.
MTF Parameters MTF: If true, a custom MTF data-series is used to calculate market phases. Periods: Periods or value of custom MTF input series. Period Type: Type of periods used for custom MTF input series(Day, Minute, Range, Second, Tick, or Volume).
Colors
-The colors for the 11 market phases can be set by the user.
Please visit the discussion thread for a sample MTF template.
Change-log:
9/16/12 - V1b released. Added Range Zones and Phase Message. Fixed 1 bar lag for range.
9/17/12- V1c released. Fixed pull-back to new trend bug.
9/22/12- V2 released. Added MTF capabilities. Made range max and min public dataseries. Made message customizable.
Took a few minutes to improve the function and performance of this "stock" NinjatraderŽ indicator. This should give the same results as the NinjatraderŽ version but is a lot more efficient and has multicolor plotting. Aside from that there is nothing new here.
Quoting
Developed by Larry Williams in 1976 and featured in Stocks & Commodities Magazine in 1985, the Ultimate Oscillator is a momentum oscillator designed to capture momentum across three different timeframes.
April 17th, 2014 07:54 AM TickMonster Amazing indicator. Thank you a lot.
June 16th, 2013 06:45 PM nakachalet
December 14th, 2012 08:48 PM Future4 I have only back-tested your strategy so far, and it works best with "Unirenko" like T3R4O3. Thank you for your effort.
November 27th, 2012 01:45 PM brevco
November 27th, 2012 01:37 PM brevco They seem to work with Hybrid Renko also.