You would use the Ninja \File\Utilities\Import function to import the attached zip file.
Announcement
Collapse
No announcement yet.
Partner 728x90
Collapse
NinjaTrader
Ergodic
Collapse
X
-
There are some instrucions in the souces that may make the Ergodic Oscillator more interesting...
[quote] [COLOR=SeaGreen] Description from Investor RT
[URL]http://www.linnsoft.com/tour/techind/custom/ergodic.htm[/URL]
ErgodocOscillator = TSI
ErgodocOscillator Signal Line = EMA(TSI)
ErgodocOscillator Oscillator = TSI - EMA(TSI)
By default, TSI is setup with a Short Term of 5 and a Long Term of 20 and EMA is setup with a period of 5.
Trading Ergodics with the Trend - Rules
1. Enter or hold position only when slope of ErgodocOscillator Signal line has the same direction as the trend
2. Stand aside when slope of ErgodocOscillator Signal Line is in the opposite direction of trend
3. Enter or exit position when ErgodocOscillator and its Signal Line cross[/COLOR]
[/quote]
Comment
-
Also, while figuring out the code, I added some comments to it, so I've attached an update for Ergodic.cs which should make it an easier read, and a beginner might have half a chance at understanding it.
[quote]Shameless advertisement:
With adequate commenting of all of the NinjaTrader indicators, there would be much less simplistic questions on the forums, and a lot less load on NinjaTrader staff answering them, and even more people would flock to NinjaTrader because of the user friendliness.
My services are available.
Oh, and I could even do slightly better than this example, if I were being paid for it.:)[/quote]KBJAttached Files
Comment
-
This one isn't for the Ergodic, but I posted a strategy for the FastStochastic which the Optimizer was able to get 73% success out of. It needs lots of testing on other time frames and such.
Here it is: [url]http://www.ninjatrader-support.com/vb/showthread.php?t=3615[/url]
Comment
-
Ergodoc Candlestick Oscilator
Adapted from Blau's Momentum/Direction/Divergence by zoltran (Wes S.)
The following is the Ergodic Candlestick Oscillator.
The ECO is a Momentum Oscillator that is not affected by opening gaps. See William Blau's Momentum/Direction/Divergence book.
It is used in a very similar manner to other Momentum indicators such as CCI, MACD or the Ergodic.
The 'Candlestick' part comes from the formula's use of just the open-close vs high-low.
It's primary advantage is that is not affected by Gap openings. It totally ignores them giving a better view of current momentum.
You can see this in the attached screen shots.
The trend was flat-to-down on 11/29. There was a gap open on 11/30 that ended up also being flat to down and eventually sold off.
The other indicators were all pegged high overbought/in the green due to the gap. The ECO pretty much ignored it. Same for 12/5.
There are some interesting strategies for using this indicator.
As they are on another charting programs web site.. I'll leave it to the reader to do a google for it. Try a search for ergodic candlestick histogram
/----------------------------------------
Trading Ergodics with the Trend - Rules
1. Enter or hold position only when slope of ECO Signal line has the same direction as the trend
2. Stand aside when slope of ECO Signal Line is in the opposite direction of trend
3. Enter or exit position when ECO and its Signal Line cross
4. Take note when the ECO is 'inside' it's signal line. This indicates failing momentum
This is what the magenta "Fading" dot signifies
// Formula for Candlestick oscilator from Blaus book is
// EMA(EMA(close-open),r),s)
// CSI(r,s)= 100 x --------------------------
// EMA(EMA(high-low),r),s)
//
// The 'Ergodic' version adds signal line, wich is a 5 bar ema of the CSI
//
(Cleaned up comments so KBJ doesn't scold me ;-) )
v1-4 -Fixed Plot Overflow- again Dec 18Last edited by zoltran; 12-19-2007, 11:06 PM.
Comment
-
Great help thank you
1st a question. What determins if a bar is red or green and what causes the change. 2nd can you easlily tell me how to insert a line at plus 15 and at minus 15?? I love the indicator so far (2 days). Thanks
Comment
-
Green Bar = Rising ECO line .. ie the ECO line is greater than the prior bar
Red Bar = Falling ECO line
Same for the Ergodic Indicator
You can adjust the line levels when you add the indicator to the chart. Look for the 'Lines' section on the right of the Add Indicator dialogue .. just above where you change the color/size of the plots.
If you want an additional line, you can use the standard NT indicator called "Constant Lines" . It is used to place any arbirary line on chart/panel.
Apply it to the same 'panel' as your ECO, and adjust the line levels/color/formats as you wish.
Comment
-
-
One More Question
Any idea why I can get ECO to run on a tic chart of any number of tics, a 2 min chart but not a 1 min or a 3 min or any other min chart ??? Strange !!! The panel is just blank
Comment
Latest Posts
Collapse
Topics | Statistics | Last Post | ||
---|---|---|---|---|
Started by judysamnt7, 03-13-2023, 09:11 AM
|
4 responses
57 views
0 likes
|
Last Post
by DynamicTest
Today, 08:25 PM
|
||
Started by ScottWalsh, Today, 06:52 PM
|
4 responses
36 views
0 likes
|
Last Post
by ScottWalsh
Today, 07:40 PM
|
||
Started by olisav57, Today, 07:39 PM
|
0 responses
7 views
0 likes
|
Last Post
by olisav57
Today, 07:39 PM
|
||
Started by trilliantrader, Today, 03:01 PM
|
2 responses
20 views
0 likes
|
Last Post
by helpwanted
Today, 07:25 PM
|
||
Started by cre8able, Today, 07:24 PM
|
0 responses
9 views
0 likes
|
Last Post
by cre8able
Today, 07:24 PM
|
Comment