NexusFi: Find Your Edge


Home Menu

 





DonchianChannel


Discussion in NinjaTrader

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




 
Search this Thread

DonchianChannel

  #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?
ZombieSqueeze
Platforms and Indicators
Trade idea based off three indicators.
Traders Hideout
How to apply profiles
Traders Hideout
REcommedations for programming help
Sierra Chart
Better Renko Gaps
The Elite Circle
 
Best Threads (Most Thanked)
in the last 7 days on NexusFi
Just another trading journal: PA, Wyckoff & Trends
33 thanks
Tao te Trade: way of the WLD
24 thanks
My NQ Trading Journal
14 thanks
HumbleTraders next chapter
11 thanks
GFIs1 1 DAX trade per day journal
11 thanks
  #2 (permalink)
 
cory's Avatar
 cory 
virginia
 
Experience: Intermediate
Platform: ninja
Trading: NQ
Posts: 6,098 since Jun 2009
Thanks Given: 877
Thanks Received: 8,090


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:	298
Size:	74.6 KB
ID:	54743  
Attached Files
Elite Membership required to download: ColorDC.cs
Follow me on Twitter 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:	277
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,098 since Jun 2009
Thanks Given: 877
Thanks Received: 8,090


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


© 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