NexusFi: Find Your Edge


Home Menu

 





jtRangeMakrker7 - Printing in "Output" window on NT7....4


Discussion in NinjaTrader

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




 
Search this Thread
  #1 (permalink)
 Affliction 
Springfield, MO
 
Experience: None
Platform: SC
Trading: ES
Posts: 107 since Mar 2010
Thanks Given: 2,373
Thanks Received: 45

I am having an issue concerning the jtRangeMarker7.

I am not tech savy, but when I open an "Output" window in NT7....4, I find that the jtRangeMarker7 is printing all kinds of lines (see attachment).

Again, I am not tech savy by any stretch of the imagination, but is this normal?

Thanks for the bother.


Attached Thumbnails
Click image for larger version

Name:	jtRangeMarker_-_2011-04-28_1420.png
Views:	354
Size:	192.1 KB
ID:	37570  
Started this thread Reply With Quote

Can you help answer these questions
from other members on NexusFi?
Hungary Called for Magyar at 97pct, Ending 16-Year Orban …
Prediction Markets & Event Contracts
Kraken Becomes First US Digital Asset Bank With Direct F …
Cryptocurrency
Ripple Prime Joins Nodal Clear as Clearing Member -- $3 …
Cryptocurrency
Day 96 Missiles Hit Kuwait and Bahrain: June 15 Peace at …
Prediction Markets & Event Contracts
Five Days Until the Gap Dies -- CME Goes 24/7 on All Dig …
Traders Hideout
 
Best Threads (Most Thanked)
in the last 7 days on NexusFi
Sober Journey With S&P
24 thanks
2026 Jlab journal
10 thanks
Algo automated / semi-automated trading anyone?
6 thanks
Lady Vols Primer: Trading Volatility Journal
6 thanks
Trying to learn Volume and price action correlation
5 thanks
  #3 (permalink)
 
Fat Tails's Avatar
 Fat Tails 
Berlin, Europe
Market Wizard
 
Experience: Advanced
Platform: NinjaTrader
Broker: Interactive Brokers
Trading: Futures & Stocks
Posts: 9,887 since Mar 2010
Thanks Given: 4,242
Thanks Received: 27,114



Affliction View Post
I am having an issue concerning the jtRangeMarker7.

I am not tech savy, but when I open an "Output" window in NT7....4, I find that the jtRangeMarker7 is printing all kinds of lines (see attachment).

Again, I am not tech savy by any stretch of the imagination, but is this normal?

Thanks for the bother.

The indicator throws exceptions, which it prints to the output file. The error messages show that the brush, which is used for DrawString has not been defined properly, as it can take the value null, which should not be the case.

The brush in question is SolidBrush chartFontBrush. The value is set in line 165. This section of the code is only executed for bars built from ticks.

What type of chart did you use the indicator for?


Reply With Quote
Thanked by:
  #4 (permalink)
 Affliction 
Springfield, MO
 
Experience: None
Platform: SC
Trading: ES
Posts: 107 since Mar 2010
Thanks Given: 2,373
Thanks Received: 45


Fat Tails View Post
The indicator throws exceptions, which it prints to the output file. The error messages show that the brush, which is used for DrawString has not been defined properly, as it can take the value null, which should not be the case.

The brush in question is SolidBrush chartFontBrush. The value is set in line 165. This section of the code is only executed for bars built from ticks.

What type of chart did you use the indicator for?


Fat Tails:

I am using a 4 Range chart (see attachments below) of the 6E and have TT as a data feed (not sure that should cause any issue though).

I would appreciate any help - I have no proof, I just think that my charts update "funny" (maybe jump from time to time).

Thanks for the support!

Affliction


Attached Thumbnails
Click image for larger version

Name:	jtRangeMarker_1_-_2011-04-28_1936.png
Views:	413
Size:	338.6 KB
ID:	37579   Click image for larger version

Name:	jtRangeMarker2_-_2011-04-28_1937.png
Views:	368
Size:	89.7 KB
ID:	37580  
Started this thread Reply With Quote
Thanked by:
  #5 (permalink)
 
Fat Tails's Avatar
 Fat Tails 
Berlin, Europe
Market Wizard
 
Experience: Advanced
Platform: NinjaTrader
Broker: Interactive Brokers
Trading: Futures & Stocks
Posts: 9,887 since Mar 2010
Thanks Given: 4,242
Thanks Received: 27,114

You can try the modified version below, maybe it reduces the number of exceptions thrown.


Attached Files
Elite Membership required to download: jtRangeMarker7a.zip
Reply With Quote
  #6 (permalink)
 Affliction 
Springfield, MO
 
Experience: None
Platform: SC
Trading: ES
Posts: 107 since Mar 2010
Thanks Given: 2,373
Thanks Received: 45


Fat Tails View Post
You can try the modified version below, maybe it reduces the number of exceptions thrown.

Thanks Fat Tails!

I will continue to observe the revised indicator, but as of now, I have a great feeling about it. I will "watch" it on a Range chart without any other indicators and one chart with other indicators added to see if there is a difference - I would think there would be no difference though.

I tried to "fix" the issue that you had pointed out in an earlier post, but could not get the change to allow the indie to compile. It takes someone much smarter than I to get it right.

Again, thanks for the effort and your patience with all of us on NexusFi (formerly BMT).

Affliction


Started this thread Reply With Quote




Last Updated on April 29, 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