Big Mike's Trading Forum
 

Go Back   Big Mike's Trading Forum

> Trading Forums > Platforms and Indicators > NinjaTrader > NinjaTrader Programming


Notices
     

beta MACD Histogram divergence indicator
Started:May 11th, 2010 (11:57 PM) by zacharydw00 Views / Replies:14,099 / 41
Last Reply:November 12th, 2013 (05:17 AM) Attachments:20

Welcome to Big Mike's Trading Forum.

Welcome, Guest!

This forum was established to help traders by openly sharing indicators, strategies, methods, trading journals and discussing the psychology of trading.

BMT is fundamentally different than most other trading forums:
  • We work extremely hard to keep things positive on our forums.
  • We do not tolerate rude behavior, trolling, or vendor advertising in posts.
  • We firmly believe in openness and encourage sharing. The holy grail is within you, it is not something tangible you can download.
  • We expect our members to participate and become a part of the community. Help yourself by helping others.


You'll need to register in order to view the content of the threads and start contributing to our community. It's free and simple, and we will never resell your private information.

-- Big Mike
     

Reply
 20  
 
Thread Tools Search this Thread

beta MACD Histogram divergence indicator

Old May 11th, 2010, 11:57 PM   #1 (permalink)
Elite Member
Idaho
 
Trading Experience: Intermediate
Platform: NinjaTrader,ToS
Broker/Data: Amp Futures, ToS
Favorite Instrument: ES, E7, CL, GC
 
zacharydw00's Avatar
 
Posts: 137 since Aug 2009
Thanks: 81 given, 147 received

beta MACD Histogram divergence indicator

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... https://www.bigmiketrading.com/ninjatrader-programming/3722-beta-macd-histogram-divergence-indicator.html#post75679


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:
https://www.bigmiketrading.com/ninjatrader-programming/3722-beta-macd-histogram-divergence-indicator.html#post57700

NT 7 version here:
https://www.bigmiketrading.com/ninjatrader-programming/3722-beta-macd-histogram-divergence-indicator.html#post60696

Attached Thumbnails
beta MACD Histogram divergence indicator-grtdivergencev1f20100511.jpg  
Attached Files
Register to download File Type: zip GRTDivergenceV1f_20100511.zip (33.7 KB, 426 views)

Last edited by zacharydw00; November 6th, 2010 at 04:36 PM. Reason: Updated file
Reply With Quote
     
The following 9 users say Thank You to zacharydw00 for this post:
     

Old May 11th, 2010, 11:57 PM   #2 (permalink)
Quick Summary
Quick Summary Post

Quick Summary is created and edited by users like you... Add FAQ's, Links and other Relevant Information by clicking the edit button in the lower right hand corner of this message.

     

Old May 13th, 2010, 04:41 AM   #3 (permalink)
Elite Member
uk
 
Trading Experience: Intermediate
Platform: ninja
Broker/Data: amp
Favorite Instrument: ES
 
Posts: 65 since Aug 2009
Thanks: 42 given, 43 received


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
     

Old May 13th, 2010, 11:11 AM   #4 (permalink)
Elite Member
ottawa
 
Trading Experience: Intermediate
Platform: ninja trader
Broker/Data: barchart
Favorite Instrument: es
 
Posts: 53 since Sep 2009
Thanks: 8 given, 14 received

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
     

Old May 13th, 2010, 11:41 AM   #5 (permalink)
Elite Member
ottawa
 
Trading Experience: Intermediate
Platform: ninja trader
Broker/Data: barchart
Favorite Instrument: es
 
Posts: 53 since Sep 2009
Thanks: 8 given, 14 received

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
     

Old May 13th, 2010, 02:39 PM   #6 (permalink)
Elite Member
las vegas
 
Trading Experience: Intermediate
Platform: Sierra Chart
Broker/Data: Velocity/IB
Favorite Instrument: 6E
 
Posts: 1,147 since Feb 2010
Thanks: 304 given, 787 received

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
beta MACD Histogram divergence indicator-divergance.jpg  
Reply With Quote
     

Old May 14th, 2010, 03:04 PM   #7 (permalink)
Elite Member
uk
 
Trading Experience: Intermediate
Platform: ninja
Broker/Data: amp
Favorite Instrument: ES
 
Posts: 65 since Aug 2009
Thanks: 42 given, 43 received


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
     

Old May 14th, 2010, 06:18 PM   #8 (permalink)
Elite Member
las vegas
 
Trading Experience: Intermediate
Platform: Sierra Chart
Broker/Data: Velocity/IB
Favorite Instrument: 6E
 
Posts: 1,147 since Feb 2010
Thanks: 304 given, 787 received

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

Reply With Quote
     

Old May 15th, 2010, 04:22 PM   #9 (permalink)
Elite Member
Idaho
 
Trading Experience: Intermediate
Platform: NinjaTrader,ToS
Broker/Data: Amp Futures, ToS
Favorite Instrument: ES, E7, CL, GC
 
zacharydw00's Avatar
 
Posts: 137 since Aug 2009
Thanks: 81 given, 147 received


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.

Reply With Quote
     

Old May 28th, 2010, 11:23 AM   #10 (permalink)
Trading Apprentice
NED
 
Trading Experience: None
Platform: Ninja
 
Posts: 34 since May 2010
Thanks: 6 given, 8 received


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

Reply With Quote
     

Reply



Tags
123, 6e, alert, automated, automated trading, bars, beta, cci, ces, change, channel, chart, chart type, charts, close, cme, code, coding, color, colors, create, custom, daily, data, delta, divergence, dow, el, enter, es, exit, file, filter, fomc, futures, ga, gold, high, histogram, historical, homework, horizontal, index, index futures, indicator, indicators, instrument, keltner, line, load, lot, love, low, macd, market, median, median line, method, mind, ml, moves, names, new high, ninjascript, ninjatrader, nt, nt7, offset, options, parameters, period, plot, price, programming, purpose, question, questions, range, range chart, real time, session, settings, signals, sound, sound alert, strategy, support, ta, template, testing, thank you, tick, ticks, time, trade, trading, trading strategy, transparent, type, update, variable, volume, zone
     

Big Mike's Trading Forum > Trading Forums > Platforms and Indicators > NinjaTrader > NinjaTrader Programming > beta MACD Histogram divergence indicator

Thread Tools Search this Thread
Search this Thread:

Advanced Search


Similar Threads
Thread Thread Starter Forum Replies Last Post
Rockwell MACD Histogram Red/Green stockdisk NinjaTrader Programming 26 February 15th, 2014 06:30 AM
MACD with Colored Histogram timefreedom The Elite Circle 8 March 30th, 2013 01:30 AM
Calculate MACD divergence scarr Traders Hideout 9 August 20th, 2011 12:15 PM
On Chart MACD Divergence Projection Idea... All You Need??? tdaman NinjaTrader Programming 8 May 26th, 2011 12:11 PM
Anyone having any NT Beta 16 Problems that didn't exist in Beta 15? Todd NinjaTrader 17 May 28th, 2010 09:41 AM


All times are GMT -4. The time now is 08:06 PM.

Powered by vBulletin®
Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
SEO by vBSEO ©2011, Crawlability, Inc.
Copyright © 2014 by Big Mike Trading. 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.
 
no new posts

Page generated 2014-04-24 in 0.13 seconds with 20 queries on atlantis via your IP 23.21.23.126