NexusFi: Find Your Edge


Home Menu

 





beta MACD Histogram divergence indicator


Discussion in NinjaTrader

Updated
      Top Posters
    1. looks_one zacharydw00 with 14 posts (25 thanks)
    2. looks_two TheWizard with 4 posts (6 thanks)
    3. looks_3 subterfuge with 3 posts (0 thanks)
    4. looks_4 fusion with 3 posts (0 thanks)
      Best Posters
    1. looks_one zacharydw00 with 1.8 thanks per post
    2. looks_two TheWizard with 1.5 thanks per post
    3. looks_3 itrade2win with 1 thanks per post
    4. looks_4 zt379 with 0.5 thanks per post
    1. trending_up 33,763 views
    2. thumb_up 33 thanks given
    3. group 23 followers
    1. forum 44 posts
    2. attach_file 20 attachments




 
Search this Thread

beta MACD Histogram divergence indicator

  #1 (permalink)
 
zacharydw00's Avatar
 zacharydw00 
Idaho
 
Experience: Intermediate
Platform: NinjaTrader,ToS
Broker: Amp Futures, ToS
Trading: ES, E7, CL, GC
Posts: 149 since Aug 2009
Thanks Given: 87
Thanks Received: 180

Here's my MACD Histogram divergence indicator first beta release. I'm sharing it to gather suggestion and ideas. Please be very specific and include a annotated picture of any bugs or improvements.
When the hist. crosses the zero line the ind. starts to look for a new divergence.
NOTE: ALTHOUGH, other indicators are available in the pull-down they DO NOT WORK. I will work on them later. Or, better yet, maybe someone else can.

Thanks guys,
Zac

Indicator Setting:
1. The ind. will Not work with 'calculate on bar close' set to False.
2. The default setting are for the ES.
3. DeltaPrice- This is the minimum required price difference from high to high or low to low. Keep in mind 0.75 is only 3 ticks in the ES. That would be 75 ticks(75 cents) in the CL, which is high (unless you are looking at daily bars). The 6E moves in .0001 ticks, so a .75 move in the 6E would never happen. .0005 is probably a more reasonable setting for the 6E.
4. DeltaIndicator- This is the minimum required indicator difference, in percentage, of the recent high/low to the prior high/low. A setting of 0.99 will show more divergences. 0.5 will show practically none.
See here for a chart description...


Edits:
5/15/10 - Written on NT 6.5. Probably will Not work on NT 7 without minor code adjustments.
Arrows are a part of the ind.

Grab the NT 6.5 updated file here:


NT 7 version here:

Attached Thumbnails
Click image for larger version

Name:	GRTDivergenceV1f20100511.jpg
Views:	1800
Size:	129.7 KB
ID:	13212  
Attached Files
Elite Membership required to download: GRTDivergenceV1f_20100511.zip
Started this thread Reply With Quote

Can you help answer these questions
from other members on NexusFi?
MC PL editor upgrade
MultiCharts
PowerLanguage & EasyLanguage. How to get the platfor …
EasyLanguage Programming
ZombieSqueeze
Platforms and Indicators
REcommedations for programming help
Sierra Chart
NT7 Indicator Script Troubleshooting - Camarilla Pivots
NinjaTrader
 
Best Threads (Most Thanked)
in the last 7 days on NexusFi
Spoo-nalysis ES e-mini futures S&P 500
29 thanks
Just another trading journal: PA, Wyckoff & Trends
25 thanks
Tao te Trade: way of the WLD
24 thanks
Bigger Wins or Fewer Losses?
21 thanks
GFIs1 1 DAX trade per day journal
17 thanks
  #3 (permalink)
 subterfuge 
uk
 
Experience: Intermediate
Platform: ninja
Broker: amp
Trading: ES
Posts: 179 since Aug 2009


Hi,
Is this for NT7 or 6.5?
on my NT7 it says:
import failed. The ninjascript archive file may contain duplicate method names that already exist on your PC or there is a required file missing on either your PC or in inport import archive

thanks

Reply With Quote
  #4 (permalink)
 chartman 
ottawa ontario canada
 
Experience: Intermediate
Platform: ninja trader
Broker: ninja trader brokerage
Trading: es
Posts: 100 since Sep 2009
Thanks Given: 17
Thanks Received: 23

HI Zachary thank you for sharing.i used your indicator on a 4 range chart of the ES and seems to work ok.my question are the arrows part of the indicator.or you just drew them for ilustration purpose(manually).
thanks

Reply With Quote
  #5 (permalink)
 chartman 
ottawa ontario canada
 
Experience: Intermediate
Platform: ninja trader
Broker: ninja trader brokerage
Trading: es
Posts: 100 since Sep 2009
Thanks Given: 17
Thanks Received: 23

this is a great indicator.it would be nice if somebody with a knowledge of programing could add a sound alert.for when the red dot appears or the histo is above or below zero
thnks

Reply With Quote
  #6 (permalink)
 vegasfoster 
las vegas
 
Experience: Intermediate
Platform: Sierra Chart
Broker: Velocity/IB
Trading: 6E
Posts: 1,145 since Feb 2010
Thanks Given: 304
Thanks Received: 844

Looks pretty cool zakd, but it's not working on mine for some reason, there was good divergance where I drew lines, but indicator not showing it. Hmmm.

Attached Thumbnails
Click image for larger version

Name:	divergance.jpg
Views:	798
Size:	168.2 KB
ID:	13347  
Reply With Quote
  #7 (permalink)
 subterfuge 
uk
 
Experience: Intermediate
Platform: ninja
Broker: amp
Trading: ES
Posts: 179 since Aug 2009


subterfuge View Post
Hi,
Is this for NT7 or 6.5?
on my NT7 it says:
import failed. The ninjascript archive file may contain duplicate method names that already exist on your PC or there is a required file missing on either your PC or in inport import archive

thanks

??????
Just me?
Or are you guys using it on 6.5......

Reply With Quote
  #8 (permalink)
 vegasfoster 
las vegas
 
Experience: Intermediate
Platform: Sierra Chart
Broker: Velocity/IB
Trading: 6E
Posts: 1,145 since Feb 2010
Thanks Given: 304
Thanks Received: 844

I'm using 6.5, haven't been able to get nt7 to work

Reply With Quote
  #9 (permalink)
 
zacharydw00's Avatar
 zacharydw00 
Idaho
 
Experience: Intermediate
Platform: NinjaTrader,ToS
Broker: Amp Futures, ToS
Trading: ES, E7, CL, GC
Posts: 149 since Aug 2009
Thanks Given: 87
Thanks Received: 180


chartman View Post
this is a great indicator.it would be nice if somebody with a knowledge of programing could add a sound alert.for when the red dot appears or the histo is above or below zero
thnks

Bells and whistles can easily be added later. Although this ind. is not for detecting crossing the zero line.


vegasfoster View Post
Looks pretty cool zakd, but it's not working on mine for some reason, there was good divergance where I drew lines, but indicator not showing it. Hmmm.

Try adjusting the DeltaPrice input.



subterfuge View Post
Hi,
Is this for NT7 or 6.5?
on my NT7 it says:
import failed. The ninjascript archive file may contain duplicate method names that already exist on your PC or there is a required file missing on either your PC or in inport import archive
thanks

I wrote it using NT 6.5, so it probably will not work with NT 7.

Started this thread Reply With Quote
  #10 (permalink)
no111
NED
 
Posts: 34 since May 2010
Thanks Given: 7
Thanks Received: 8


Can you also code it for NT7?
I can't get it right unfortunately

Reply With Quote




Last Updated on March 6, 2020


© 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