Announcement
Collapse
No announcement yet.
Partner 728x90
Collapse
NinjaTrader
Divergence spotter
Collapse
X
-
Adding To A Strategy...
Originally posted by Parv8 View PostThanks isitpossible. Backtesting results seems to be great even on 15mins charts. Keep up the good work.
Thanks in advance..
Comment
-
Originally posted by NinjaTrader_Ben View PostHello,
We can help you with any default indicators.
OK NTBen...I am starting to really rely on this indicator. A couple questions though:
What indicators are being used by this indicator? Are they triggered by me opening them in the trading pane or are they running "behind the scenes"?
What significance do the red arrows play?
Comment
-
Hello Ben.
I have been using your D3Spotter for a few weeks now and am starting to dial into how to use it effectively but I still have some questions.
You had mentioned in the chat thread that this indicator detects divergence between price and other indicatiors (wew both know the list). Do these indicators need to be open for D3 to use them or do they run in the background?
What do the yellow dots indicate?
What do the arrows indicate?
Comment
-
Hi Tomy,
Thanks for the email...but unfortunately there's a misunderstanding about who is the author of this indicator. It wasn't me...it's a good indicator, but I can't take credit for it. I don't remember who did create it, but I'm sure the Forum can help you find the source.
Thanks again,
Ben
Originally posted by tomydispik View PostHello Ben.
I have been using your D3Spotter for a few weeks now and am starting to dial into how to use it effectively but I still have some questions.
You had mentioned in the chat thread that this indicator detects divergence between price and other indicatiors (wew both know the list). Do these indicators need to be open for D3 to use them or do they run in the background?
What do the yellow dots indicate?
What do the arrows indicate?
Comment
-
-
Code:// In XYZ.CS public class XYZ : Indicator { protected override void Initialize() { Add(new Plot(...)); Add(new Plot(...)); Add(new Plot(...)); Add(new Plot(...)); } } // IN ABC.CS public class ABC : Indicator { private DataSeries TheIndicator; protected override void Initialize() { TheIndicator = new DataSeries(this); } protected override void OnBarUpdate() { [B]TheIndicator.Set(XYZ(...)[0]);[/B] // Which Plot of XYZ gets used ??? } }
Last edited by cdjindia; 07-29-2013, 06:08 AM.
Comment
-
I received feedback from elsewhere that example code isn't clear. So here is improved versions with names spelled out
My query is: Which of the four plots does the [0] is referred to by statement in OnBarUpdate() method shown below. Bold Red Colored line. It calls a method a
defined in Indicator class along with parameters and returns my object. the [] indexer is defined in IndicatorBase class and I am unable to find its documentation. This construct is used in many places including the Divergence Spotter that is attached at beginning of this thread. In the sample code, there are 12 Indicators. I am only showing one.
Code:// Filename: myMACD.cs public class myMACD : Indicator { protected override void Initialize() { Add(new Plot(Color.Green, "MACD")); Add(new Plot(Color.DarkViolet, "Signal")); Add(new Plot(new Pen(Color.Navy, 2), PlotStyle.Bar, "Histogram")); Add(new Line(Color.DarkGray, 0, "Median")); } ...... } public partial class Indicator : IndicatorBase { private myMACD[] cachemyMACD = null; private static myMACD checkmyMACD = new myMACD(); public myMACD myMACD(int fast, int slow, int smooth) { return myMACD(Input, fast, slow, smooth); } public myMACD myMACD(Data.IDataSeries input, int fast, int slow, int smooth) { } } ================================= // Filename: myDivergenceSpotter.cs public class myDivergenceSpotter : Indicator { private DataSeries TheIndicator; protected override void Initialize() { TheIndicator = new DataSeries(this); } protected override void OnBarUpdate() { [B][COLOR="Red"]TheIndicator.Set(myMACD(12, 26, 9)[0]);[/COLOR][/B] } }
Last edited by cdjindia; 07-29-2013, 08:35 AM.
Comment
-
Dear NT users,I need a bit of help,
I try to import ninja script thru the utilities tab, indicator- Divergence Spotter,from this thread & from other threads in this forum, all versions (v2,v3,v32) & I get the same error
evrey time( see pic. attachet) .
can someone help resolve this isue PLS
thaxxxx
Comment
Latest Posts
Collapse
Topics | Statistics | Last Post | ||
---|---|---|---|---|
Started by WHICKED, Today, 12:56 PM
|
1 response
8 views
0 likes
|
Last Post Today, 01:17 PM | ||
Started by cre8able, Today, 01:16 PM
|
0 responses
1 view
0 likes
|
Last Post
by cre8able
Today, 01:16 PM
|
||
Started by chbruno, 04-24-2024, 04:10 PM
|
2 responses
47 views
0 likes
|
Last Post
by chbruno
Today, 01:15 PM
|
||
Started by WHICKED, Today, 12:45 PM
|
1 response
11 views
0 likes
|
Last Post Today, 01:08 PM | ||
Started by samish18, Today, 01:01 PM
|
0 responses
5 views
0 likes
|
Last Post
by samish18
Today, 01:01 PM
|
Comment