Help with Indicator HighLow of Bar in NT7 - NinjaTrader Programming | futures io social day trading
futures io futures trading


Help with Indicator HighLow of Bar in NT7
Updated: Views / Replies:1,975 / 8
Created: by Mindset Attachments:4

Welcome to futures io.

(If you already have an account, login at the top of the page)

futures io is the largest futures trading community on the planet, with over 90,000 members. At futures io, our goal has always been and always will be to create a friendly, positive, forward-thinking community where members can openly share and discuss everything the world of trading has to offer. The community is one of the friendliest you will find on any subject, with members going out of their way to help others. Some of the primary differences between futures io and other trading sites revolve around the standards of our community. Those standards include a code of conduct for our members, as well as extremely high standards that govern which partners we do business with, and which products or services we recommend to our members.

At futures io, our focus is on quality education. No hype, gimmicks, or secret sauce. The truth is: trading is hard. To succeed, you need to surround yourself with the right support system, educational content, and trading mentors Ė all of which you can find on futures io, utilizing our social trading environment.

With futures io, you can find honest trading reviews on brokers, trading rooms, indicator packages, trading strategies, and much more. Our trading review process is highly moderated to ensure that only genuine users are allowed, so you donít need to worry about fake reviews.

We are fundamentally different than most other trading sites:
  • We are here to help. Just let us know what you need.
  • We work extremely hard to keep things positive in our community.
  • We do not tolerate rude behavior, trolling, or vendors advertising in posts.
  • We firmly believe in and encourage sharing. The holy grail is within you, we can help you find it.
  • We expect our members to participate and become a part of the community. Help yourself by helping others.

You'll need to register in order to view the content of the threads and start contributing to our community.  It's free and simple.

-- Big Mike, Site Administrator

Reply
 
Thread Tools Search this Thread
 

Help with Indicator HighLow of Bar in NT7

  #1 (permalink)
Elite Member
UK
 
Futures Experience: Intermediate
Platform: NT
Broker/Data: ib
Favorite Futures: Electric Guitar
 
Mindset's Avatar
 
Posts: 355 since Sep 2009
Thanks: 88 given, 285 received

Help with Indicator HighLow of Bar in NT7

Hi
I posted a small[https://futures.io/free_downloads/vip_elite_circle/556-download.html?view] indicator[/URL] in the sharing section and would like to upgrade it to NT7.

Everything works EXCEPT for 2 things

1.An error gets reported when you try and save default settings in the indicator dialogue box.
The error refers to serialization.
I have checked and re checked things but I can't see where the problem is.

2. Onmost instruments (US Stocks) the horizontal offset doesn't move the text horizontally.
Works on Dax 03-10 future absolutely fine but not ES or YM??
If one of the more advanced coders could perhaps correct it / point me in the right direction and then I can update the post.?

Much appreciated.

Attached Thumbnails
Help with Indicator HighLow of Bar in NT7-error-msg.png   Help with Indicator HighLow of Bar in NT7-mid.png  
Attached Files
Register to download File Type: zip HighLowNt74.zip (4.4 KB, 41 views)

Last edited by Mindset; April 5th, 2012 at 04:24 AM. Reason: upgrade web link
Reply With Quote
 
  #2 (permalink)
Quick Summary
Quick Summary Post

The original link is broken.
The indicator is in the elite section here.


Last edited by Mindset; September 1st, 2011 at 03:19 AM.
 
  #3 (permalink)
Elite Member
Berlin, Europe
 
Futures Experience: Advanced
Platform: NinjaTrader, MultiCharts
Broker/Data: Interactive Brokers
Favorite Futures: Keyboard
 
Fat Tails's Avatar
 
Posts: 9,653 since Mar 2010
Thanks: 4,226 given, 25,601 received
Forum Reputation: Legendary


Hi Mindset,

I am not an expert for C#, but this might help:

The serialization error refers to <txtfont>. You have declared this public, if you declare it private the serialization should work. I do not understand the other problem though.

Reply With Quote
The following user says Thank You to Fat Tails for this post:
 
  #4 (permalink)
Elite Member
UK
 
Futures Experience: Intermediate
Platform: NT
Broker/Data: ib
Favorite Futures: Electric Guitar
 
Mindset's Avatar
 
Posts: 355 since Sep 2009
Thanks: 88 given, 285 received

easiest things

Oh that is criminally simple - thanks Fat Tails.
I must have spent hours trying to work out what wasn't serializing.

Reply With Quote
 
  #5 (permalink)
Site Administrator
Manta, Ecuador
 
Futures Experience: Advanced
Platform: My own custom solution
Favorite Futures: E-mini ES S&P 500
 
Big Mike's Avatar
 
Posts: 46,240 since Jun 2009
Thanks: 29,352 given, 83,230 received

For the offset problem, try using Hoffset * TickSize instead of just Hoffset.

Mike

Due to time constraints, please do not PM me if your question can be resolved or answered on the forum.

Need help?
1) Stop changing things. No new indicators, charts, or methods. Be consistent with what is in front of you first.
2) Start a journal and post to it daily with the trades you made to show your strengths and weaknesses.
3) Set goals for yourself to reach daily. Make them about how you trade, not how much money you make.
4) Accept responsibility for your actions. Stop looking elsewhere to explain away poor performance.
5) Where to start as a trader? Watch this webinar and read this thread for hundreds of questions and answers.
6)
Help using the forum? Watch this video to learn general tips on using the site.

If you want
to support our community, become an Elite Member.

Reply With Quote
The following user says Thank You to Big Mike for this post:
 
  #6 (permalink)
Elite Member
UK
 
Futures Experience: Intermediate
Platform: NT
Broker/Data: ib
Favorite Futures: Electric Guitar
 
Mindset's Avatar
 
Posts: 355 since Sep 2009
Thanks: 88 given, 285 received

Hi Mike

Tried that already - I think it's to do with the function GetXByBarIdx .
I have never been entirely happy working with it.
But as it's 'unsupported' by NT I am kind of stuck. I assume that I am taking the Current bar and adding .....

As I was writing this it popped into my head
it's
ChartControl.BarSpace/2 * Hoffset;
Hurrah! Seems to work anyway!

Reply With Quote
 
  #7 (permalink)
Elite Member
Berlin, Europe
 
Futures Experience: Advanced
Platform: NinjaTrader, MultiCharts
Broker/Data: Interactive Brokers
Favorite Futures: Keyboard
 
Fat Tails's Avatar
 
Posts: 9,653 since Mar 2010
Thanks: 4,226 given, 25,601 received
Forum Reputation: Legendary

My secret: I just had a look at the trace file. System.InvalidOperationException: 'System.Drawing.Font' cannot be serialized. From there it was really easy to find the problem....


Mindset View Post
Oh that is criminally simple - thanks Fat Tails.
I must have spent hours trying to work out what wasn't serializing.


Reply With Quote
 
  #8 (permalink)
Elite Member
UK
 
Futures Experience: Intermediate
Platform: NT
Broker/Data: ib
Favorite Futures: Electric Guitar
 
Mindset's Avatar
 
Posts: 355 since Sep 2009
Thanks: 88 given, 285 received

Trace

FatTails

Yes, I know I looked there - must have just missed it???

As it turned out there were also minor logic and plot errors.

Anyway the indicator is all done now - I will run it the rest of today and provided no other issues I will post it in the sharing section tomorrow.

I have upgraded it again so it's a little more useful still.

Reply With Quote
 
  #9 (permalink)
Elite Member
UK
 
Futures Experience: Intermediate
Platform: NT
Broker/Data: ib
Favorite Futures: Electric Guitar
 
Mindset's Avatar
 
Posts: 355 since Sep 2009
Thanks: 88 given, 285 received

NT7 indicator version

NT7 version Here.

NT6.5 version here.

Attached Thumbnails
Help with Indicator HighLow of Bar in NT7-up-warning-3.png  
Reply With Quote
The following 3 users say Thank You to Mindset for this post:

Reply



futures io > > > > > Help with Indicator HighLow of Bar in NT7

Thread Tools Search this Thread
Search this Thread:

Advanced Search



Upcoming Webinars and Events (4:30PM ET unless noted)

Jigsaw Trading: TBA

Elite only

FuturesTrader71: TBA

Elite only

NinjaTrader: TBA

Jan 18

RandBots: TBA

Jan 23

GFF Brokers & CME Group: Futures & Bitcoin

Elite only

Adam Grimes: TBA

Elite only

Ran Aroussi: TBA

Elite only
     

Similar Threads
Thread Thread Starter Forum Replies Last Post
NT7 Q. is it possible to remove a bar type like trendisyourfriend NinjaTrader 13 March 12th, 2016 04:04 PM
Heikin Ashi indicator with bar outline same color as bar? Todd NinjaTrader 29 September 7th, 2013 08:33 AM
Bar Timer with audio alert ? NT7 crimmins NinjaTrader 24 April 2nd, 2013 11:38 AM
Chart Bar with volume indicator inside Bar? hector24 NinjaTrader 11 October 9th, 2011 11:41 AM
Movable Bar Timer NT7 trs3042 Traders Hideout 3 November 17th, 2010 03:51 PM


All times are GMT -4. The time now is 02:35 AM.

Copyright © 2017 by futures io, s.a., Av Ricardo J. Alfaro, Century Tower, Panama, +507 833-9432, info@futures.io
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.
no new posts
Page generated 2017-12-14 in 0.11 seconds with 20 queries on phoenix via your IP 54.221.76.68