NexusFi: Find Your Edge


Home Menu

 





DonchianChannel


Discussion in NinjaTrader

Updated
    1. trending_up 2,586 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?
New Section 301 Probes Target 16 Trading Partners -- Tra …
Traders Hideout
Fabrication or Framework? Irans Denied MOU Explains the …
Prediction Markets & Event Contracts
SEC Chairman Calls for New Golden Age of SEC-CFTC Regula …
Traders Hideout
Tradeify 3.0 Overhauls Futures Prop Firm Model -- One-Ti …
Funded Trading Evaluation Firms
Probability Collapse: Bitcoin $150k Craters from 15% to …
Prediction Markets & Event Contracts
 
Best Threads (Most Thanked)
in the last 7 days on NexusFi
Sober Journey With S&P
24 thanks
2026 Jlab journal
10 thanks
Lady Vols Primer: Trading Volatility Journal
7 thanks
Algo automated / semi-automated trading anyone?
6 thanks
Trying to learn Volume and price action correlation
5 thanks
  #2 (permalink)
 
cory's Avatar
 cory 
virginia
the coin hunter
 
Experience: Intermediate
Platform: ninja
Trading: NQ
Posts: 6,098 since Jun 2009
Thanks Given: 877
Thanks Received: 8,093


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
 
Experience: Advanced
Platform: NinjaTrader
Broker: Z
Trading: NiftyFuture
Posts: 1,562 since Feb 2010
Thanks Given: 1,513
Thanks Received: 1,701


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:	367
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:	325
Size:	60.0 KB
ID:	54755  
Started this thread Reply With Quote
  #5 (permalink)
 
cory's Avatar
 cory 
virginia
the coin hunter
 
Experience: Intermediate
Platform: ninja
Trading: NQ
Posts: 6,098 since Jun 2009
Thanks Given: 877
Thanks Received: 8,093


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