Donchian cross - NinjaTrader | futures io social day trading
futures io futures trading


Donchian cross
Updated: Views / Replies:6,503 / 25
Created: by GaryD Attachments:15

Welcome to futures io.

(If you already have an account, login at the top of the page)

futures io is the largest futures trading community on the planet, with over 90,000 members. At futures io, our goal has always been and always will be to create a friendly, positive, forward-thinking community where members can openly share and discuss everything the world of trading has to offer. The community is one of the friendliest you will find on any subject, with members going out of their way to help others. Some of the primary differences between futures io and other trading sites revolve around the standards of our community. Those standards include a code of conduct for our members, as well as extremely high standards that govern which partners we do business with, and which products or services we recommend to our members.

At futures io, our focus is on quality education. No hype, gimmicks, or secret sauce. The truth is: trading is hard. To succeed, you need to surround yourself with the right support system, educational content, and trading mentors Ė all of which you can find on futures io, utilizing our social trading environment.

With futures io, you can find honest trading reviews on brokers, trading rooms, indicator packages, trading strategies, and much more. Our trading review process is highly moderated to ensure that only genuine users are allowed, so you donít need to worry about fake reviews.

We are fundamentally different than most other trading sites:
  • We are here to help. Just let us know what you need.
  • We work extremely hard to keep things positive in our community.
  • We do not tolerate rude behavior, trolling, or vendors advertising in posts.
  • We firmly believe in and encourage sharing. The holy grail is within you, we can help you find it.
  • 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.

-- Big Mike, Site Administrator

Reply
 15  
 
Thread Tools Search this Thread
 

Donchian cross

  #11 (permalink)
Market Wizard
Columbus, OH
 
Futures Experience: None
Platform: NT 8, TOS
Favorite Futures: ES
 
Silvester17's Avatar
 
Posts: 3,332 since Aug 2009
Thanks: 4,579 given, 10,313 received


TempletonPeck View Post
@Fat Tails

I recently had a look at this indicator.

When I change the channel lines width only the upper channel line width changes. Is it possible to change the lower channel line width, too?

There is a different color than the ones for strong and weak uptrend where I put the arrow on the chart. Is it because I use the indicator with COBC=false?


if you add the following lines to the code (lines 93,94 and 95), the upper and lower lines should match.

 
Code
	protected override void OnStartUp()
		{
			if(selectedInput == DonchianInputX.UseHighLow)		
			{
				maxHigh = MAX(High,Period);
				minLow = MIN(Low,Period);
			}
			else
			{
				maxHigh = MAX(Close,Period);
				minLow = MIN(Close,Period);
			}
			donchianMinHigh = double.MaxValue;
			donchianMaxLow = double.MinValue;
			Plots[0].Pen.Width = plot0Width;
			Plots[0].PlotStyle = plot0Style;
			Plots[0].Pen.DashStyle = dash0Style;
			Plots[1].Pen.Width = plot1Width;
			Plots[1].PlotStyle = plot1Style;
			Plots[1].Pen.DashStyle = dash1Style;
			Plots[2].Pen.Width = plot1Width;
			Plots[2].PlotStyle = plot1Style;
			Plots[2].Pen.DashStyle = dash1Style;
		}
Please register on futures.io to view futures trading content such as post attachment(s), image(s), and screenshot(s).

Reply With Quote
The following 3 users say Thank You to Silvester17 for this post:
 
  #12 (permalink)
Elite Member
Berlin, Europe
 
Futures Experience: Advanced
Platform: NinjaTrader, MultiCharts
Broker/Data: Interactive Brokers
Favorite Futures: Keyboard
 
Fat Tails's Avatar
 
Posts: 9,652 since Mar 2010
Thanks: 4,226 given, 25,601 received
Forum Reputation: Legendary

Donchian Channel updated


TempletonPeck View Post
@Fat Tails

I recently had a look at this indicator.

When I change the channel lines width only the upper channel line width changes. Is it possible to change the lower channel line width, too?

There is a different color than the ones for strong and weak uptrend where I put the arrow on the chart. Is it because I use the indicator with COBC=false?


@TempletonPeck: That was a simple omission of 3 lines in OnStartUp(). I cannot tell you the reason for the color issue. Could you let me know, whether it is reproducible and what are the time stamps of those bars?

I wanted to update the indicator anyhow. I have now slightly changed the lables. What I called a weak downtrend (actually I wanted to say weakening downtrend) is now an early uptrend. I think it is easier to understand this way.

Actually the confirmed (main) trend changes from positive to negative, when the upper line comes clear from the maximum value of the lower line during the uptrend. The early trend changes to negative, when the upper line comes clear from the maximum value of the Donchian midline during the uptrend.

Rather than waiting for the confrimed trend to change, you can use the early trend and enter after the first pullback.

I have also extended the options to calculate Donchian Channels. You can now calculate them from High/Low, Close, Typical or Weighted. If you use the Typical Price, you will get faster and smoohter signals compared to those generated from the Close or High/Low. Below is a comparison and the updated indicator.

Feedback welcome.


Please register on futures.io to view futures trading content such as post attachment(s), image(s), and screenshot(s).


Please register on futures.io to view futures trading content such as post attachment(s), image(s), and screenshot(s).


Please register on futures.io to view futures trading content such as post attachment(s), image(s), and screenshot(s).

Attached Files
Register to download File Type: zip DonchianChannelX2.zip (7.3 KB, 101 views)

Last edited by Fat Tails; August 24th, 2012 at 07:42 PM. Reason: Indicator file replaced.
Reply With Quote
The following 10 users say Thank You to Fat Tails for this post:
 
  #13 (permalink)
Elite Member
Germany
 
Futures Experience: Beginner
Platform: NinjaTrader
Broker/Data: Mirus Futures/Zen-Fire
 
TempletonPeck's Avatar
 
Posts: 199 since Feb 2010
Thanks: 1,129 given, 200 received



Fat Tails View Post
@TempletonPeck: That was a simple omission of 3 lines in OnStartUp(). I cannot tell you the reason for the color issue. Could you let me know, whether it is reproducible and what are the time stamps of those bars?

I wanted to update the indicator anyhow. I have now slightly changed the lables. What I called a weak downtrend (actually I wanted to say weakening downtrend) is now an early uptrend. I think it is easier to understand this way.

Actually the confirmed (main) trend changes from positive to negative, when the upper line comes clear from the maximum value of the lower line during the uptrend. The early trend changes to negative, when the upper line comes clear from the maximum value of the Donchian midline during the uptrend.

Rather than waiting for the confrimed trend to change, you can use the early trend and enter after the first pullback.

I have also extended the options to calculate Donchian Channels. You can now calculate them from High/Low, Close, Typical or Weighted. If you use the Typical Price, you will get faster and smoohter signals compared to those generated from the Close or High/Low. Below is a comparison and the updated indicator.

Feedback welcome.

Thanks for the update!

The color issue only appears sometimes in realtime when used with COBC=false

Here is a quick example: CL 2Range 17:12:35.

When you reload the chart or apply the indicator again the issue is solved.

Please register on futures.io to view futures trading content such as post attachment(s), image(s), and screenshot(s).


Please register on futures.io to view futures trading content such as post attachment(s), image(s), and screenshot(s).

Reply With Quote
 
  #14 (permalink)
Elite Member
Berlin, Europe
 
Futures Experience: Advanced
Platform: NinjaTrader, MultiCharts
Broker/Data: Interactive Brokers
Favorite Futures: Keyboard
 
Fat Tails's Avatar
 
Posts: 9,652 since Mar 2010
Thanks: 4,226 given, 25,601 received
Forum Reputation: Legendary


TempletonPeck View Post
Thanks for the update!

The color issue only appears sometimes in realtime when used with COBC=false

Here is a quick example: CL 2Range 17:12:35.

When you reload the chart or apply the indicator again the issue is solved.

I remember the problem now, only occurs with COBC = false, will fix it later today, when I am back on my main PC... becky:

Reply With Quote
The following user says Thank You to Fat Tails for this post:
 
  #15 (permalink)
Trading Apprentice
Estonia
 
Futures Experience: Beginner
Platform: Ninjatrader, Metatrader 4, Metatrader mobile
 
Posts: 14 since Nov 2010
Thanks: 65 given, 4 received

Maybe do someone have d.channel that colors only candles?

Like in Supertrend TS indicator

Please register on futures.io to view futures trading content such as post attachment(s), image(s), and screenshot(s).

Reply With Quote
 
  #16 (permalink)
Elite Member
Berlin, Europe
 
Futures Experience: Advanced
Platform: NinjaTrader, MultiCharts
Broker/Data: Interactive Brokers
Favorite Futures: Keyboard
 
Fat Tails's Avatar
 
Posts: 9,652 since Mar 2010
Thanks: 4,226 given, 25,601 received
Forum Reputation: Legendary


TempletonPeck View Post
Thanks for the update!

The color issue only appears sometimes in realtime when used with COBC=false

Here is a quick example: CL 2Range 17:12:35.

When you reload the chart or apply the indicator again the issue is solved.


@TempletonPeck:

I have now replaced the indicator file in post #12. Large parts of the indicator are changed to comply with COBC = false. Please let me know any observations.

By the way, the bug affected at least 6 other indicators, which I have coded, but nobody ever complained!

Reply With Quote
The following 8 users say Thank You to Fat Tails for this post:
 
  #17 (permalink)
Elite Member
Berlin, Europe
 
Futures Experience: Advanced
Platform: NinjaTrader, MultiCharts
Broker/Data: Interactive Brokers
Favorite Futures: Keyboard
 
Fat Tails's Avatar
 
Posts: 9,652 since Mar 2010
Thanks: 4,226 given, 25,601 received
Forum Reputation: Legendary


Eduard View Post
Maybe do someone have d.channel that colors only candles?

Like in Supertrend TS indicator

Please register on futures.io to view futures trading content such as post attachment(s), image(s), and screenshot(s).


Added paintbars and an option to remove the channel lines, in case that you just want to see the paintbars. Improved code efficiency as well.


Please register on futures.io to view futures trading content such as post attachment(s), image(s), and screenshot(s).

Attached Files
Register to download File Type: zip DonchianChannelX3.zip (7.5 KB, 193 views)
Reply With Quote
The following 12 users say Thank You to Fat Tails for this post:
 
  #18 (permalink)
Trading Apprentice
Estonia
 
Futures Experience: Beginner
Platform: Ninjatrader, Metatrader 4, Metatrader mobile
 
Posts: 14 since Nov 2010
Thanks: 65 given, 4 received

Oh!, Vielen Dank

Reply With Quote
 
  #19 (permalink)
Elite Member
Berlin, Europe
 
Futures Experience: Advanced
Platform: NinjaTrader, MultiCharts
Broker/Data: Interactive Brokers
Favorite Futures: Keyboard
 
Fat Tails's Avatar
 
Posts: 9,652 since Mar 2010
Thanks: 4,226 given, 25,601 received
Forum Reputation: Legendary

Update Donchian Channel with Trend Filter

I have made a minor update of the Donchian Channel indicator.

The new version allows for displacement and will correctly move the colors along with the displaced plot.

https://futures.io/download/ninjatrader-7/indicators/1271-download.html?view

Reply With Quote
The following 6 users say Thank You to Fat Tails for this post:
 
  #20 (permalink)
Site Administrator
Manta, Ecuador
 
Futures Experience: Advanced
Platform: My own custom solution
Favorite Futures: E-mini ES S&P 500
 
Big Mike's Avatar
 
Posts: 46,240 since Jun 2009
Thanks: 29,351 given, 83,221 received


Notifications sent.

Mike

Due to time constraints, please do not PM me if your question can be resolved or answered on the forum.

Need help?
1) Stop changing things. No new indicators, charts, or methods. Be consistent with what is in front of you first.
2) Start a journal and post to it daily with the trades you made to show your strengths and weaknesses.
3) Set goals for yourself to reach daily. Make them about how you trade, not how much money you make.
4) Accept responsibility for your actions. Stop looking elsewhere to explain away poor performance.
5) Where to start as a trader? Watch this webinar and read this thread for hundreds of questions and answers.
6)
Help using the forum? Watch this video to learn general tips on using the site.

If you want
to support our community, become an Elite Member.

Reply With Quote
The following 2 users say Thank You to Big Mike for this post:

Reply



futures io > > > > Donchian cross

Thread Tools Search this Thread
Search this Thread:

Advanced Search



Upcoming Webinars and Events (4:30PM ET unless noted)

Jigsaw Trading: TBA

Elite only

FuturesTrader71: TBA

Elite only

NinjaTrader: TBA

Jan 18

RandBots: TBA

Jan 23

GFF Brokers & CME Group: Futures & Bitcoin

Elite only

Adam Grimes: TBA

Elite only

Ran Aroussi: TBA

Elite only
     

Similar Threads
Thread Thread Starter Forum Replies Last Post
Donchian Channel for EasyLanguage Big Mike EasyLanguage Programming 16 September 27th, 2015 04:45 AM
Donchian's Rules for Trading Commodities Anagami The Elite Circle 4 January 25th, 2015 04:15 PM
ninja 7 donchian channel bobarian NinjaTrader 3 March 10th, 2011 08:33 PM
Stopping ETD (End of Trade drawdown) with classic Donchian Channels strategies drolles NinjaTrader Programming 2 December 23rd, 2010 01:00 PM
Donchian Channel upper line dimitri The Elite Circle 7 September 14th, 2010 05:45 PM


All times are GMT -4. The time now is 11:24 AM.

Copyright © 2017 by futures io, s.a., Av Ricardo J. Alfaro, Century Tower, Panama, +507 833-9432, info@futures.io
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 2017-12-13 in 0.16 seconds with 40 queries on phoenix via your IP 54.227.51.103