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


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

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
 67  
 
Thread Tools Search this Thread
 

Make Charts Pretty!

  #131 (permalink)
Elite Member
Lagos, Nigeria
 
Futures Experience: Intermediate
Platform: NinjaTrader, SierraChart
Favorite Futures: Euro Currency & Oil
 
lolu's Avatar
 
Posts: 2,438 since Jun 2009
Thanks: 998 given, 1,593 received


ThatManFromTexas View Post
@Fat Tails

You have to use Z-order also.

I couldn't figure it out so I bought a program to handle it. I don't have the polygon code.

Please register on futures.io to view futures trading content such as post attachment(s), image(s), and screenshot(s).

@Fat Tails, @TMFT,

... but GomMP paints over the PiccyBack (see my screenshot below) ... and even my Gradient background paints over PiccyBack (see rightmost portion of my chart).

Please register on futures.io to view futures trading content such as post attachment(s), image(s), and screenshot(s).


Lolu

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


lolu View Post
@Fat Tails, @TMFT,

... but GomMP paints over the PiccyBack (see my screenshot below) ... and even my Gradient background paints over PiccyBack (see rightmost portion of my chart).

Please register on futures.io to view futures trading content such as post attachment(s), image(s), and screenshot(s).


Lolu

I know that it is just DrawRegion(). Even DrawRectangle() will draw on top of the background. However, for my NinjaTrader indicators I have mostly used DrawRegion(), and for a simple reason:

If I use DrawRectangle and also have horizontal lines within the same indicator, DrawRectangle plots on top of those lines, which I do not want. If I set ZOrder to negative values that will shift the rectangles behind the price bars, but it also shifts the lines printed by the same indicator, which remain covered by the rectangle.

DrawRegion() politely plots behind everything else, which is what I usually want. Now some mad guys want tho show off, and the advantage of DrawRegion() becomes an inconvenient.

I am not proficient enough to find a solution to the problem, and I am not willing to invest my time, as I will never use this gadget.

Reply With Quote
The following 2 users say Thank You to Fat Tails for this post:
 
  #133 (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,284 received



Fat Tails View Post
.....

I am not proficient enough to find a solution to the problem, and I am not willing to invest my time, as I will never use this gadget.

@Fat Tails


B-B-B-But then you got in trouble for no reason ......


Besides .... ask yourself... which is more important.... what Fat Tail needs ... or what ThatManFromTexas wants....

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
 
  #134 (permalink)
Elite Member
Berlin, Europe
 
Futures Experience: Advanced
Platform: NinjaTrader, MultiCharts
Broker/Data: Interactive Brokers
Favorite Futures: Keyboard
 
Fat Tails's Avatar
 
Posts: 9,598 since Mar 2010
Thanks: 4,222 given, 25,356 received
Forum Reputation: Legendary


ThatManFromTexas View Post
@Fat Tails


B-B-B-But then you got in trouble for no reason ......


Besides .... ask yourself... which is more important.... what Fat Tail needs ... or what ThatManFromTexas wants....

Did you ever think about replacing your trading monitor with a 3D television set?

Then you could directly select the background without having any of those ugly bars hiding the pictures.

Reply With Quote
 
  #135 (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,284 received


lolu View Post
.... @TMFT should have a go on a script that makes the background to indicate and not to "ecstasyse" ... I want to believe that he can do it, or is doing it.

Lolu

@lolu

The image changes in sync with the trend .... ImageFileByThatManFromTexas.cs attached

Please register on futures.io to view futures trading content such as post attachment(s), image(s), and screenshot(s).


Please register on futures.io to view futures trading content such as post attachment(s), image(s), and screenshot(s).


Please register on futures.io to view futures trading content such as post attachment(s), image(s), and screenshot(s).






lolu View Post
@TMFT,

How did you get the Bollinger band to paint. I can't seem to get it to paint on my chart. My background pic is in png format ... I'm unable to get jpeg/jpg pics to show up.

Lolu

@lolu

I replaced the DrawRegion code with FillPolygon code in my BollingerEMA2 indicator and it solved the problem working with the @Fat Tails "gadget" ....


Fat Tails View Post
Actually I have a question.

The little indicator which I have coded always plots the background

-> behind the price bars and DrawRectangle()
-> but in front of DrawRegion() thus covering the shaded zones

Does anybody have an idea how plot the image behind the areas shaded by DrawRegion()?




@Fat Tails

I finally figured out the FillPolyGon stuff ... made my head hurt .... but like my daddy always said ... even a blind hog finds an acorn occassionally ...

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

My daddy always said, "Every day above ground is a good day!"
Attached Files
Register to download File Type: zip ImageFileByThatManFromTexas.zip (4.0 KB, 143 views)
Register to download File Type: zip BollingerEmaFillPolyByThatManFromTexas.zip (7.1 KB, 116 views)
Reply With Quote
The following 11 users say Thank You to ThatManFromTexas for this post:
 
  #136 (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,284 received

https://futures.io/newreply.php?do=newreply&p=249313


Rad4633 View Post
@TMFT small issue when I added 2nd data string and hooked the gradient background to it everything works fine except the shading on bollinger does not follow, suggestions

the gradient shading does work awesome with 4x higher time frame and looks cool doin it, you wouldnt go to sleep with this flipping

Please register on futures.io to view futures trading content such as post attachment(s), image(s), and screenshot(s).


I don't have any experience with 2nd data string's. Can anyone help?

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
 
  #137 (permalink)
Elite Member
Atkinson, NH USA
 
Futures Experience: Intermediate
Platform: NinjaTrader 8/TensorFlow
Broker/Data: NinjaTrader Brokerage
Favorite Futures: Futures, CL, ES, ZB
 
NJAMC's Avatar
 
Posts: 1,907 since Dec 2010
Thanks: 2,949 given, 2,273 received


lolu View Post
@TMFT,

How did you get the Bollinger band to paint? I can't seem to get it to paint on my chart. My background pic is in png format.

Lolu

That is the only thing that caught your attention?

Nil per os
-NJAMC [Generic Programmer]

LOM WIKI: NT-Local-Order-Manager-LOM-Guide
Artificial Bee Colony Optimization
Reply With Quote
 
  #138 (permalink)
Elite Member
Lagos, Nigeria
 
Futures Experience: Intermediate
Platform: NinjaTrader, SierraChart
Favorite Futures: Euro Currency & Oil
 
lolu's Avatar
 
Posts: 2,438 since Jun 2009
Thanks: 998 given, 1,593 received


NJAMC View Post
That is the only thing that caught your attention?

Surely yes ... the other portions are irrelevant and filthy.

Lolu

Reply With Quote
 
  #139 (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,284 received

@lolu

I took your suggestion of using the same image and changing the hue depending on the trend. It works great , you just have to choose a "good" image to start with.

Thanks!

Long

Please register on futures.io to view futures trading content such as post attachment(s), image(s), and screenshot(s).


Short

Please register on futures.io to view futures trading content such as post attachment(s), image(s), and screenshot(s).


Flat

Please register on futures.io to view futures trading content such as post attachment(s), image(s), and screenshot(s).

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 4 users say Thank You to ThatManFromTexas for this post:
 
  #140 (permalink)
Elite Member
Lagos, Nigeria
 
Futures Experience: Intermediate
Platform: NinjaTrader, SierraChart
Favorite Futures: Euro Currency & Oil
 
lolu's Avatar
 
Posts: 2,438 since Jun 2009
Thanks: 998 given, 1,593 received



ThatManFromTexas View Post
@lolu

I took your suggestion of using the same image and changing the hue depending on the trend. It works great , you just have to choose a "good" image to start with.

Thanks!

@TMFT,

This thing just works GREAT !!!

Please register on futures.io to view futures trading content such as post attachment(s), image(s), and screenshot(s).


Your BB (Bolliger Band) has the Z Order code to make it work on the background; so, for any indicator with fills feature (e.g. Fat Tails' BB and VWAP, etc ), they have to be tweaked with Z Order for their fill painting to appear on the background... RIGHT ? How easy is this ?

Lolu

Reply With Quote
The following 2 users say Thank You to lolu 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)

July Journal Challenge w/$1100 in prizes from TopstepTrader

July
 

An Afternoon with FIO member Softsoap

Elite only

Battlestations: Show us your trading desks and win $750 in prizes

August
 

Extended Ask Me Anything w/Brett Steenbarger

Elite only

Prototyping Python Strategies (part 3) w/Ran Aroussi

Elite only

Brannigan Barrett w/Axia Futures

Elite only

Introduction to Phillip Capital futures brokerage services

Aug TBD

How Monte Carlo Analysis Can Help Your Trading w/Kevin Davey

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 04:44 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-07-28 in 0.14 seconds with 21 queries on phoenix via your IP 54.158.7.152