NexusFi: Find Your Edge


Home Menu

 





Quick question about the D3Spotter divergence indicator


Discussion in Traders Hideout

Updated
      Top Posters
    1. looks_one max-td with 4 posts (1 thanks)
    2. looks_two dadof3and3 with 3 posts (30 thanks)
    3. looks_3 zacharydw00 with 3 posts (3 thanks)
    4. looks_4 maurice with 2 posts (0 thanks)
      Best Posters
    1. looks_one dadof3and3 with 10 thanks per post
    2. looks_two zacharydw00 with 1 thanks per post
    3. looks_3 Big Mike with 1 thanks per post
    4. looks_4 max-td with 0.3 thanks per post
    1. trending_up 22,225 views
    2. thumb_up 37 thanks given
    3. group 11 followers
    1. forum 24 posts
    2. attach_file 6 attachments




 
Search this Thread

Quick question about the D3Spotter divergence indicator

  #1 (permalink)
nqemini
north east, usa
 
Posts: 16 since Oct 2009
Thanks Given: 128
Thanks Received: 4

Hi.

I had a quick question about the D3Spotter indicator. Do the dots/arrows occur 1 bar before current bar or do they occur as current bar in NT.

My replay data does not seem to be working...don't know why.

Thank you for your help.

Reply With Quote

Can you help answer these questions
from other members on NexusFi?
NexusFi Journal Challenge - April 2024
Feedback and Announcements
Futures True Range Report
The Elite Circle
ZombieSqueeze
Platforms and Indicators
The space time continuum and the dynamics of a financial …
Emini and Emicro Index
Deepmoney LLM
Elite Quantitative GenAI/LLM
 
Best Threads (Most Thanked)
in the last 7 days on NexusFi
Get funded firms 2023/2024 - Any recommendations or word …
61 thanks
Funded Trader platforms
38 thanks
NexusFi site changelog and issues/problem reporting
26 thanks
GFIs1 1 DAX trade per day journal
19 thanks
The Program
18 thanks
  #2 (permalink)
 zeller4 
Orlando Florida
 
Experience: Intermediate
Platform: NT8
Trading: CL, NQ, ES, RTY
Posts: 477 since Jun 2009
Thanks Given: 1,416
Thanks Received: 404

my suggestion would be to add a print statement such as :

 
Code
Print("A: "+A);
within the code, look for the dot plotting placed on bar value "A":

 
Code
DrawDot("Hdot" + CurrentBar.ToString(), true, A, High[A] + (TickSize*MDF), Color.Yellow);
DrawOnPricePanel = false;
DrawDot("IHdot" + CurrentBar.ToString(), true, A, Indicator[A], Color.Yellow);
DrawOnPricePanel = true;
 
in some places in the code (not sure if it's in the base version or in my v01), arrows or other style dots may be plotted differently - on index "0" for the arrows and "DotRed" dots:

 
Code
DrawLine("high"+CurrentBar.ToString() + BarsAgo.ToString(), BarsAgo, High[BarsAgo] + (TickSize*MDF), A, High[A] + (TickSize*MDF), DLC, DSD, DLW); 
DrawArrowDown(CurrentBar.ToString(), true, 0, High[0] + (TickSize*MDF), Color.Red);
// DrawArrowDown("I" + CurrentBar.ToString(), true, 0, Indicator[0] + TickSize, Color.Red);
DrawOnPricePanel = false; 
DrawLine("IH"+CurrentBar.ToString() + BarsAgo.ToString(), BarsAgo, Indicator[BarsAgo], A, Indicator[A], DLC, DSD, DLW);
DrawOnPricePanel = true;
if (FirstTickOfBar) {PlaySound(Environment.GetFolderPath(Environment.SpecialFolder.MyDocuments) + "\\NinjaTrader 6.5\\Sounds\\train.wav");}
DrawText("DotRed"+CurrentBar, false, "l", 0, High[0]+2*TickSize, Color.Red, textFontSymbolWing, 
StringAlignment.Center, Color.Empty, Color.Empty, 10);
 

Attached Files
Elite Membership required to download: D3Spotter_v01.cs
Reply With Quote
Thanked by:
  #3 (permalink)
nqemini
north east, usa
 
Posts: 16 since Oct 2009
Thanks Given: 128
Thanks Received: 4


Zeller,

Thank you for your reply...not sure how to do what you have suggested. Will play around with my first code :-)

Reply With Quote
  #4 (permalink)
 subterfuge 
uk
 
Experience: Intermediate
Platform: ninja
Broker: amp
Trading: ES
Posts: 179 since Aug 2009

anyone able to add an audio alert for when the divergence occurs and the arrow paints?
Im told it should be very easy but i dont know the first thing about programming!

Reply With Quote
  #5 (permalink)
 dadof3and3 
New Braunfels, Texas
 
Experience: Intermediate
Platform: NinjaTrader
Broker: Amp Futures
Trading: 6E
Posts: 20 since Jul 2009
Thanks Given: 2
Thanks Received: 46

Hello all,

I'm attaching the latest version of the D3Spotter (verison 3.1). I'm the origional writter if this indicator and have had some requests. I know there were some problems with saving, I think I've corrected it. Well, here it is..comments welcome...

Attached Files
Elite Membership required to download: D3SpotterV31.zip
Reply With Quote
  #6 (permalink)
 
max-td's Avatar
 max-td 
Frankfurt
 
Experience: Intermediate
Platform: NinjaTrader
Trading: FGBL 6E B4
Posts: 1,752 since Jun 2009
Thanks Given: 2,309
Thanks Received: 927

hi dadof3and3,
first - thanks for posting a new version of your indicator here !

Sorry to say, but have a problem to understand your definition of divergence.

you catch those points in the price - thats ok so far

but when i look in the lower panel at the indicator, the dots there doesnt seem to catch a clear MacD - turning-point to define a divergence.

most of the time the indicator takes point in the middle of a movement of the MacD (in this example) and dont wait for spotting swingpoint of the MacD.

in my understanding a falling MacD is not the point to define a divergence on -
you have to wait for a turning-point of the MacD to compare it to a turning-point of the price.




i had a look at some others (StochK / cci ...) and its always the same there - so its not a problem of the MacD - its the way the diver are defined in the indicator-section.

do you get me ?
what do you think ?

-

max-td
Reply With Quote
  #7 (permalink)
 
eDanny's Avatar
 eDanny 
East Rochester, NY
 
Experience: Intermediate
Platform: NT
Posts: 329 since Jul 2009
Thanks Given: 18
Thanks Received: 425

You hit the nail on the head as to why I never use this indicator. It uses price swing/pivot points to determine the divergence, which hardly ever matches up with the lower study. I would much rather test the study indicator for swings and then compare to price. The problem with that is it is much harder to do. It is easier to code it to look for highs and lows in price.

Reply With Quote
  #8 (permalink)
 
max-td's Avatar
 max-td 
Frankfurt
 
Experience: Intermediate
Platform: NinjaTrader
Trading: FGBL 6E B4
Posts: 1,752 since Jun 2009
Thanks Given: 2,309
Thanks Received: 927

hi danny,
glad that i am not alone with my view
so we will see what dadof3and3 tells us about this - maybe we dont understand the concept behind it.

how about you Danny - should we start a new thread / project put our thoughts together and try to code another version ?

max-td
Reply With Quote
  #9 (permalink)
 
eDanny's Avatar
 eDanny 
East Rochester, NY
 
Experience: Intermediate
Platform: NT
Posts: 329 since Jul 2009
Thanks Given: 18
Thanks Received: 425

Go right ahead but I am too busy to put any effort toward a new indicator. Right now people asking for NT7 versions of indicators so I am tied up converting.

Reply With Quote
Thanked by:
  #10 (permalink)
 dadof3and3 
New Braunfels, Texas
 
Experience: Intermediate
Platform: NinjaTrader
Broker: Amp Futures
Trading: 6E
Posts: 20 since Jul 2009
Thanks Given: 2
Thanks Received: 46


Well, you are so right.... All the indicator does is look at price and compares swing candidates, then looks at the indicator for the same bar (without regard to swing high/low in the indicator). I'll ponder that and see what I can come up with... (any help is greatly appreciated).

Thanks for the comments...

Reply With Quote
Thanked by:




Last Updated on May 10, 2018


© 2024 NexusFi™, s.a., All Rights Reserved.
Av Ricardo J. Alfaro, Century Tower, Panama City, Panama, Ph: +507 833-9432 (Panama and Intl), +1 888-312-3001 (USA and Canada)
All information is for educational use only and is not investment advice. There is a substantial risk of loss in trading commodity futures, stocks, options and foreign exchange products. Past performance is not indicative of future results.
About Us - Contact Us - Site Rules, Acceptable Use, and Terms and Conditions - Privacy Policy - Downloads - Top
no new posts