NexusFi: Find Your Edge


Home Menu

 





DonchianChannel


Discussion in NinjaTrader

Updated
    1. trending_up 2,759 views
    2. thumb_up 2 thanks given
    3. group 2 followers
    1. forum 4 posts
    2. attach_file 3 attachments




 
Search this Thread
  #1 (permalink)
 
Bowerman's Avatar
 Bowerman 
Frankfurt
 
Experience: Beginner
Platform: NinjaTrader
Broker: Zen-Fire
Trading: YM,CL
Posts: 10 since Oct 2010
Thanks Given: 6
Thanks Received: 1

Hello,
I need Help,
I will colored the DanchianChannel,if a new High (green),new Low(Red)


if (Close[0] > Upper[0])
DrawRegion("tag1",CurrentBar, 0, Upper,Lower, Color.Empty,Color.Lime, 2);
else if (Close[0] > Lower[0])
DrawRegion("tag2",CurrentBar, 0, Upper,Lower, Color.Empty, Color.Red, 2);
else
RemoveDrawObject("tag1,tag2");

is colored green only,where is my fault?:-(


Started this thread Reply With Quote

Can you help answer these questions
from other members on NexusFi?
Datafeed for Atas
Platforms and Indicators
Iran Lebanon Problem Kills Switzerland Talks, Brent at $ …
Prediction Markets & Event Contracts
Netherlands & Germany Surge as World Cup Field Narro …
Prediction Markets & Event Contracts
Ninjatrader users - good CONNECTIONs post and article fr …
NinjaTrader
Czechia Live at 52.5% as England Rides 4-2 Wave to Co-Fa …
Prediction Markets & Event Contracts
 
Best Threads (Most Thanked)
in the last 7 days on NexusFi
Want your NinjaTrader indicator created, free?
5 thanks
Afternoon-close session
1 thanks
Franks Trading Journey
1 thanks
Denied 20K payouts: Alpha Futures
1 thanks
FootPrintV2 Chart for NT8
1 thanks
  #2 (permalink)
 
cory's Avatar
 cory 
virginia
 
Experience: Intermediate
Platform: ninja
Trading: NQ
Posts: 6,099 since Jun 2009
Thanks Given: 877
Thanks Received: 8,098


Bowerman View Post
Hello,
I need Help,
I will colored the DanchianChannel,if a new High (green),new Low(Red)


if (Close[0] > Upper[0])
DrawRegion("tag1",CurrentBar, 0, Upper,Lower, Color.Empty,Color.Lime, 2);
else if (Close[0] > Lower[0])
DrawRegion("tag2",CurrentBar, 0, Upper,Lower, Color.Empty, Color.Red, 2);
else
RemoveDrawObject("tag1,tag2");

is colored green only,where is my fault?:-(

Please show on a chart where is (Close[0] > Upper[0]) and also where is (Close[0] > Lower[0])


Reply With Quote
  #3 (permalink)
 
devdas's Avatar
 devdas 
Al,India
 Vendor: www.edevaay.com 
 
Experience: Advanced
Platform: NinjaTrader
Broker: Z
Trading: NiftyFuture
Posts: 1,564 since Feb 2010
Thanks Given: 1,514
Thanks Received: 1,703


I think you are trying this...if i get it right....


Harvest The Moon
Nest The Market
Attached Thumbnails
Click image for larger version

Name:	ColorDC_NewHighLow.png
Views:	394
Size:	74.6 KB
ID:	54743  
Attached Files
Elite Membership required to download: ColorDC.cs
Follow me on X Visit my NexusFi Trade Journal Reply With Quote
Thanked by:
  #4 (permalink)
 
Bowerman's Avatar
 Bowerman 
Frankfurt
 
Experience: Beginner
Platform: NinjaTrader
Broker: Zen-Fire
Trading: YM,CL
Posts: 10 since Oct 2010
Thanks Given: 6
Thanks Received: 1

Hi@all

i think about like this


Attached Thumbnails
Click image for larger version

Name:	Donchian-Channel.jpg
Views:	344
Size:	60.0 KB
ID:	54755  
Started this thread Reply With Quote
  #5 (permalink)
 
cory's Avatar
 cory 
virginia
 
Experience: Intermediate
Platform: ninja
Trading: NQ
Posts: 6,099 since Jun 2009
Thanks Given: 877
Thanks Received: 8,098


Bowerman View Post
Hi@all

i think about like this

that is why I ask for a picture. Your picture shows red = prices below mid donchian line ( Upper[0] + Lower[0])/2 ), green = prices above mid don line.


Reply With Quote
Thanked by:




Last Updated on November 12, 2011


© 2026 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 - Downloads - Top
no new posts