Make Charts Pretty! - NinjaTrader Programming | futures io social trading
futures io futures trading


Make Charts Pretty!
Updated: Views / Replies:38,942 / 193
Created: by Mindset Attachments:67

Welcome to futures io.

Welcome, Guest!

This forum was established to help traders (especially futures traders) by openly sharing indicators, strategies, methods, trading journals and discussing the psychology of trading.

We are fundamentally different than most other trading forums:
  • We work extremely hard to keep things positive on our forums.
  • We do not tolerate rude behavior, trolling, or vendor advertising in posts.
  • We firmly believe in openness and encourage sharing. The holy grail is within you, it is not something tangible you can download.
  • 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, and we will never resell your private information.

-- Big Mike

Reply
 67  
 
Thread Tools Search this Thread
 

Make Charts Pretty!

  #51 (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

Covering

You need to explain that some more. I don't get that behaviour.

Reply With Quote
 
  #52 (permalink)
Elite Member
argentina
 
Futures Experience: Intermediate
Platform: ninjatrader
 
kabott1's Avatar
 
Posts: 58 since Nov 2009
Thanks: 126 given, 12 received

covering

Hi Mindset, thanks for the reply

(i use: ninja 7 .0.1006)

ok, i love the gradient in the back , it lets me see the wicks very clearly and i dont have to use clear backgrounds that hurt the eyes, but has some issues:

1- doesn't saves customized configs , had to go in the code and change the colors there, so wen i close ninja and open it again i get the same colors i like.

2- the gradient seems to be in front of other indicators color zones/areas (example: sharkys's bands color fill area ) that are also in the background, hiding them. as shown in the images of my previous post. those 2 images of my previous post are the same chart, one with the Background gradient and the other without it. there you can see what i mean, in the one that has the background gradient you can only see the lines of the other 2 indies , not the colored zones.

anyways, don't wanna be a pain in the a** , what you have done is wonderful for the more "eye friendly" community of traders

thanks again, have a great one

Reply With Quote
 
  #53 (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

background


Yes I think there is a limitation in using background color. Whichever indicator uses it last (in your list of chart indicators) or puts the z order first will take preference. Same with say coloring candles - if you have multiple indicators that change the candle color according to different conditions your last indicator will always take preference.
To my knowledge you can't get around this.

Reply With Quote
 
  #54 (permalink)
Elite Member
Calcutta, India
 
Futures Experience: Intermediate
Platform: ArthaChitra
 
Posts: 278 since Jun 2009
Thanks: 161 given, 257 received


Mindset View Post
Yes I think there is a limitation in using background color. Whichever indicator uses it last (in your list of chart indicators) or puts the z order first will take preference. Same with say coloring candles - if you have multiple indicators that change the candle color according to different conditions your last indicator will always take preference.
To my knowledge you can't get around this.

you can put the gradient codes directly in the charttype (ChartType.cs file in Type folder). this way you dont have to put any indicator and hopefully this will help to avoid any double paint issues.

Reply With Quote
 
  #55 (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

chart types

I will have to look into that Bukkan... however I don't see the property backcolor in the charttype.cs??

Reply With Quote
 
  #56 (permalink)
Elite Member
Calcutta, India
 
Futures Experience: Intermediate
Platform: ArthaChitra
 
Posts: 278 since Jun 2009
Thanks: 161 given, 257 received

its the ChartStyle.cs file and not ChartType as i mentioned in my last post.

the paintbar method has a graphics value.

Reply With Quote
 
  #57 (permalink)
Elite Member
Boston
 
Futures Experience: Intermediate
Platform: NinjaTrader
Favorite Futures: Crude
 
PHXtrader's Avatar
 
Posts: 84 since Apr 2011
Thanks: 48 given, 76 received

Could someone point me to the snippet of code in the attached indicator that changes the background gradient from horizontal to vertical. I search high and low on the internet and can't seem to find the answer. Spent about 2 hours doing trail and error with no luck.

Thanks

Attached Files
Register to download File Type: zip BackGroundGradient.zip (4.5 KB, 59 views)
Reply With Quote
 
  #58 (permalink)
Elite Member
Milan (I)
 
Futures Experience: Advanced
Platform: Ninjatrader
Broker/Data: Kinetick
Favorite Futures: FDAX,6E,CL,YM,NQ,ES
 
redratsal's Avatar
 
Posts: 1,653 since Oct 2010
Thanks: 1,217 given, 2,060 received


PHXtrader View Post
Could someone point me to the snippet of code in the attached indicator that changes the background gradient from horizontal to vertical. I search high and low on the internet and can't seem to find the answer. Spent about 2 hours doing trail and error with no luck.

Thanks

TMFT modified it like you want https://futures.io/elite-circle/8480-tmft-requesting-advice-custom-indicator.html#post99969 posts #4 & 6

Reply With Quote
The following 3 users say Thank You to redratsal for this post:
 
  #59 (permalink)
Elite Member
Georgia, US
 
Futures Experience: None
Platform: Various
Favorite Futures: Various
 
josh's Avatar
 
Posts: 4,898 since Jan 2011
Thanks: 5,143 given, 11,212 received
Forum Reputation: Legendary

Is there a way to build a line on close chart in NT with the area under the line shaded, particularly shaded with a gradient? See the attached picture for an idea of what I'm trying to do.

Attached Thumbnails
Make Charts Pretty!-gradientloc.png  
Reply With Quote
The following user says Thank You to josh for this post:
 
  #60 (permalink)
Elite Member
Houston,Tx
 
Futures Experience: Advanced
Platform: NinjaTrader
Broker/Data: Mirus Futures/Zen-Fire
Favorite Futures: TF
 
ThatManFromTexas's Avatar
 
Posts: 2,302 since Feb 2010
Thanks: 1,208 given, 4,280 received



josh View Post
Is there a way to build a line on close chart in NT with the area under the line shaded, particularly shaded with a gradient? See the attached picture for an idea of what I'm trying to do.

@josh

I have never figured out a way to do that.

Maybe @bukkan , @Fat Tails or someone of that caliber could give us some ideas of where to start...

I'm just a simple man trading a simple plan.

My daddy always said, "Every day above ground is a good day!"
Reply With Quote
The following user says Thank You to ThatManFromTexas for this post:

Reply



futures io > > > > > Make Charts Pretty!

Thread Tools Search this Thread
Search this Thread:

Advanced Search



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

FIO Journal Challenge featuring NinjaTrader ($2,000+ of prizes)

May

An overview of volumetric analytical tools w/Sergey Sokolov @ PTMC

Elite only

John Hoagland (TBA)

Elite only

FuturesTrader71 Extended Ask Me Anything (AMA)

Elite only

Pete @ Jigsaw Trading (TBA)

Elite only

John @ No BS Day Trading (TBA)

Elite only

An Afternoon with FIO member Softsoap (being rescheduled)

Elite only
     

Similar Threads
Thread Thread Starter Forum Replies Last Post
What is the difference in the regular Renko charts and the Median Renko charts PamH NinjaTrader 17 February 21st, 2012 07:16 PM
Wish to make a 1st Post TradewithMoe Traders Hideout 3 February 4th, 2011 01:45 PM
PLEASE! Need assist to make this plot Trader.Jon NinjaTrader Programming 4 September 27th, 2010 12:42 PM
Help make 2 indicators of same name coexist please dandxg NinjaTrader Programming 4 January 29th, 2010 08:18 PM


All times are GMT -4. The time now is 05:04 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-05-28 in 0.12 seconds with 20 queries on phoenix via your IP 54.224.103.180