NinjaTrader Support Forum  
X

Attention!

This website will be down for maintenance from Friday May 24th at 6PM MDT until Saturday May 25th at 11AM MDT. We apologize for the inconvenience. If you need assistance during this time, please email sales@ninjatrader.com


Go Back   NinjaTrader Support Forum > Application Technical Support > Charting

Charting Support for NinjaTrader Advanced Charting.

Reply
 
Thread Tools Display Modes
Old 07-10-2009, 12:09 PM   #1
ljyoung
Member
 
Join Date: Apr 2008
Location: Bellingham, WA
Posts: 44
Thanks: 0
Thanked 0 times in 0 posts
Default Channel charting problem

NT + Zenfire is a great platform but one of the problems, for me anyways, is the following.

Let's say I've been using Pepe's channel tool on chart 1 which for illustration's sake is the YM 2 min. When I open a new YM 2 min chart, chart 2, all of the channels which were drawn on chart 1 are transferred to chart 2. On the other hand "Ninja specific" chart lines (horizontal, vertical or sloped lines) are not transferred to chart 2. The reason I'm opening a second YM 2 min is because I want a second time frame.

Does anyone know a way around this?

TIA

lj
ljyoung is offline  
Reply With Quote
Old 07-10-2009, 12:25 PM   #2
NinjaTrader_ChristopherJ
NinjaTrader Customer Service
 
NinjaTrader_ChristopherJ's Avatar
 
Join Date: Feb 2009
Location: Denver, CO
Posts: 3,808
Thanks: 32
Thanked 134 times in 134 posts
Default

Hello ljyoung,

Thank you for your post.

Unfortunately lines drawn on one chart will not transfer when opening a new chart.

I will forward this to our development team for future considerations.

Please let me know if I may be of further assistance.
NinjaTrader_ChristopherJ is offline  
Reply With Quote
Old 07-10-2009, 12:28 PM   #3
NinjaTrader_Ray
Administrator
 
NinjaTrader_Ray's Avatar
 
Join Date: Nov 2004
Location: Denver, CO, USA
Posts: 11,163
Thanks: 6
Thanked 45 times in 32 posts
Default

NT7 supports global draw objects. This will do what you want.

Here is a list of what's coming with NT7 - http://www.ninjatrader.com/webnew/NT7/NinjaTrader7.html
NinjaTrader_Ray is offline  
Reply With Quote
Old 07-10-2009, 12:36 PM   #4
ljyoung
Member
 
Join Date: Apr 2008
Location: Bellingham, WA
Posts: 44
Thanks: 0
Thanked 0 times in 0 posts
Default

Quote:
Originally Posted by NinjaTrader_ChristopherJ View Post
Hello ljyoung,

Thank you for your post.

Unfortunately lines drawn on one chart will not transfer when opening a new chart.

I will forward this to our development team for future considerations.

Please let me know if I may be of further assistance.
Thanks for your followup. Actually the point I was making was that it was preferable that the channels NOT be transferred to the new chart but instead they were. That the "Ninja specific" lines are not transferred I think is preferable, as it gives the chartist the opportunity to start with a 'fresh' chart.

Apologies for the lack of clarity.

lj
ljyoung is offline  
Reply With Quote
Old 07-10-2009, 12:39 PM   #5
ljyoung
Member
 
Join Date: Apr 2008
Location: Bellingham, WA
Posts: 44
Thanks: 0
Thanked 0 times in 0 posts
Default

Quote:
Originally Posted by NinjaTrader_Ray View Post
NT7 supports global draw objects. This will do what you want.

Here is a list of what's coming with NT7 - http://www.ninjatrader.com/webnew/NT7/NinjaTrader7.html
Thanks NTRay. I'll have a look at the link.

lj
ljyoung is offline  
Reply With Quote
Old 07-16-2009, 10:24 AM   #6
ljyoung
Member
 
Join Date: Apr 2008
Location: Bellingham, WA
Posts: 44
Thanks: 0
Thanked 0 times in 0 posts
Default

Quote:
Originally Posted by ljyoung View Post
Thanks NTRay. I'll have a look at the link.

lj
While there are some very useful additions to NT7, what I still cannot find is a draw object for a set of parallel lines aka a channel. At present, the only 'tool' available for those who use channels is an indicator called "Pepe's Channels" or "PP_Channels" which unfortunately is a global indicator. This means that every new chart with the same time setting, let's say a 2 min/bar YM09-09, will have the channels from the previous chart.

So if I wished to open a new 2 min/bar YM09-09 chart but with a time range different from the old chart, let's say a CME Globex time range (essentially 24 hours) vs a regular futures trading hours time range (9:30 AM - 4:15 PM EST), the channels from the old chart are on the new chart and it's a mess. All of this crap could be avoided by having a channel tool as a drawing object with a choice as to whether or not I wish to carry it over (make it global).

There have been any number of requests by users of NT who employ channels in their charting (a site search shows requests going back at least 2 years) for a simple channel-drawing tool. Such requests have been duly noted by Admins and CS people but nothing ever happens. The regression channel tool is NOT what most people want but rather a very basic parallel lines tool.

Software/trading platforms of considerably less sophistication than NT, I won't bother to name them, have this simple device. Surely the code honchos at NT can come up with something. C'mon guys give the channel people a break. Channel people have feelings too and besides, there's a lot more of us than traders who use Andrew's pitchforks or Fib circles.

TIA

lj

PS: If all you do is 'duly note' me, I will, like a small child with a behaviour problem, hold my breath until I turn blue and upon recovery (possibly after a convulsion or two) contact my lawyers.
ljyoung is offline  
Reply With Quote
Old 07-19-2009, 01:31 PM   #7
Barbara2
Junior Member
 
Join Date: Mar 2008
Posts: 14
Thanks: 0
Thanked 0 times in 0 posts
Default

Instead of holding your breath until you turn blue, better spend your time and try to understand how PP_Channels works
  • the indicator reads/writes the channels to files in a certain directory
  • you find the directory name _dir in the OnBarUpdate() method:
_dir = Environment.GetFolderPath Environment.SpecialFolder.....
  • the file name _fileName is also created in the OnBarUpdate() method:
_fileName = _dir + Instrument.FullName + "_" + Bars.Period.Value + ".dat"
  • As you see, the file name depends only on the instruments name and period, like ES 09-09_5.dat for a 5 Minute ES chart.
  • If you want to apply the channels only for certain charts (or sessions), you should create unique file names for each chart (or session)

Unique file name per chart
  • create a new indicator property ChartID
in the Variables region add the new variable chartID:
protected string chartID = "ljyoung_1";
in the Properties region add these lines:
[Description("Set Chart ID to make channels local to specific charts")]
[Category("Parameters")]
public string ChartID
{
get { return chartID; }
set { chartID = value; }
}
  • add the string chartID to the file name in the OnBarUpdate() method
_fileName = _dir + Instrument.FullName + "_" + Bars.Period.Value + "_" + chartID + ".dat"
  • change the Chart ID in the indicators property dialogue to any value you like
e.g. ljyoung_is_happy, now the file name is ES 09-09_5_ljyoung_is_happy.dat
Unique file name per session
  • create a new string sessionID in OnBarUpdate()
string sessionID = Bars.SessionBegin.ToString("HHmm") + "-" + Bars.SessionEnd.ToString("HHmm");
  • add the string sessionID to the file name
_fileName = _dir + Instrument.FullName + "_" + Bars.Period.Value + "_" + sessionID + ".dat"
  • the file name is something like ES 09-09_5_0830-1515.dat
Now you can get creative with unique file names
Barbara2 is offline  
Reply With Quote
Old 07-19-2009, 02:22 PM   #8
ljyoung
Member
 
Join Date: Apr 2008
Location: Bellingham, WA
Posts: 44
Thanks: 0
Thanked 0 times in 0 posts
Default

Quote:
Originally Posted by Barbara2 View Post
Instead of holding your breath until you turn blue, better spend your time and try to understand how PP_Channels works ...
Thank you Barbara2 for your helpful thoughts. My "breath-holding spell" manoeuver was directed more to the NT coders than anyone or anything else. If you don't mind, I will pass on your input to more code-receptive beings and see what they can come up with. My particular version of NT does not permit me to address coding issues, aside from which, I have no desire to improve my understanding of how a particular or any piece of software works.

The challenge to the enterprise NT coders stands! Dumb down and extend a helping hand to dull-witted channel traders.

Thank you again B2 for your help.

lj
ljyoung is offline  
Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Charting/Historical Data Problem Tooker Miscellaneous Support 3 07-24-2008 11:56 PM
Odd 6J charting problem Taters Charting 1 06-02-2008 09:30 AM
Gain/eSignal charting problem Elliott Wave Charting 2 05-09-2008 01:55 PM
Charting problem with IB jcsteward Charting 2 06-12-2007 01:38 PM
Charting Problem Greg1 Charting 2 04-14-2007 01:46 PM


All times are GMT -6. The time now is 07:11 PM.