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


Make Charts Pretty!
Started: by Mindset Views / Replies:37,874 / 192
Last Reply: 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!

  #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,591 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,555 since Mar 2010
Thanks: 4,217 given, 25,072 received


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,282 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,555 since Mar 2010
Thanks: 4,217 given, 25,072 received


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,282 received

Futures Edge on FIO

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, 140 views)
Register to download File Type: zip BollingerEmaFillPolyByThatManFromTexas.zip (7.1 KB, 113 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,282 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,890 since Dec 2010
Thanks: 2,944 given, 2,246 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,591 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,282 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,591 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)
 

Spring Grains Outlook w/Sean Lusk @ Walsh Trading

Elite only

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

April

Process above all else w/Anthony Crudele @ Futures Radio Show

Elite only

Machine Learning - Quantitative Trading w/Martin Froehler @ Quantiacs

Elite only

Market Dynamics w/Peter Davies @ Jigsaw Trading

Elite only

Ask Me Anything w/Patrick Rooney @ Trading Technologies

Apr 18

Ask Me Anything w/FuturesTrader71

Apr 19

Machine Learning w/Kris Longmore

Elite only

Market Analysis w/Dave Forss

Apr 25

Introducing iSystems with Stage 5 Trading

Apr 27
     

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 08:59 PM.

no new posts
Page generated 2017-03-29 in 0.17 seconds with 20 queries on phoenix via your IP 54.157.3.92