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


Make Charts Pretty!
Started: by Mindset Views / Replies:37,834 / 191
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!

  #121 (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
@Big Mike: Please let me know if this is still politically correct.

In my opinion it is a pretty chart, and people over here would certainly not be offended. It was not easy to find the appropriate background in line with price action.

Today Gold showed a rare double top & spike pattern as can be seen from the 5 min chart. I would qualify it as a reversal pattern.


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

@Fat Tails

To help you out ... I'm willing to review all these types of pictures you have concerns about .... yea, it's a dirty job...
but someone has to do it ...

Besides ... if that is real fur she is laying on .... you just offended a whole new group of folks....

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!"

Last edited by ThatManFromTexas; August 9th, 2012 at 09:38 AM.
Reply With Quote
 
  #122 (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: 45,803 since Jun 2009
Thanks: 29,097 given, 81,378 received


ThatManFromTexas View Post
[
This was a national ad ... so I'm guessing it meets the rules...

Please don't push it... let's not make this a "thing".

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 2 users say Thank You to Big Mike for this post:
 
  #123 (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,070 received



itrade2win View Post
Damn! Did I miss something?

It was just a picture of a beautiful woman. It seems that beauty is offensive.

There is a significant difference in cultural norms between Europe and the US. The plots of US films are often predictable as infidelity or adultery is worse of a crime than murder. The women who have committed that crime are typical eliminated during the film, while the hero continues to shoot around and kill people for good.....

I could follow the example of @ThatManFromTexas and post some of the national ads, but why should I?

The deleted message stands for a difference in underlying values. I have now replaced it with a non-offending one.


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

Reply With Quote
The following 2 users say Thank You to Fat Tails for this post:
 
  #124 (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: 45,803 since Jun 2009
Thanks: 29,097 given, 81,378 received

It was a picture of a topless woman, and again, nudity is not allowed. There is no need to turn this into a 'thing'. Lets be mature and simply acknowledge nudity is not allowed on the site.

Sent from my Transformer Prime TF201 using Tapatalk 2

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

What value do you place on the webinars on FIO?

 

Fat Tails View Post
It was just a picture of a beautiful woman. It seems that beauty is offensive.

There is a significant difference in cultural norms between Europe and the US. The plots of US films are often predictable as infidelity or adultery is worse of a crime than murder. The women who have committed that crime are typical eliminated during the film, while the hero continues to shoot around and kill people for good.....

I could follow the example of @ThatManFromTexas and post some of the national ads, but why should I?

The deleted message stands for a difference in underlying values. I have now replaced it with a non-offending one.


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

@Big Mike

I take full responsibility for getting @Fat Tails in hot water. He looks up to me like an older brother and was just trying to emulate my style .... it's not his fault ... please forgive him... since @lolu and I need him to write some code for us ....

@Fat Tails

You have to understand the difference in culture.... the USA was settled by Puritans.... people that left Europe because they considered Oliver Cromwell and John Calvin as just too liberal for their tastes ....

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 2 users say Thank You to ThatManFromTexas for this post:
 
  #126 (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,070 received

How to plot behind DrawRegion()?

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()?


That was also the main reason that the pretty woman appeared nude. It was a technical problem with the indicator, as the shading did not work as expected.

Reply With Quote
 
  #127 (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
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()?


That was also the main reason that the pretty woman appeared nude. It was a technical problem with the indicator, as the shading did not work as expected.

@Fat Tails

It involves using FillPolygon, but I don't know how to define the current points which are integers.

Graphics.FillPolygon Method (Brush, PointF[], FillMode) (System.Drawing)


 
Code
public void FillPolygonPointFFillMode(PaintEventArgs e)
{

    // Create solid brush.
    SolidBrush blueBrush = new SolidBrush(Color.Blue);

    // Create points that define polygon.
    PointF point1 = new PointF(50.0F, 50.0F);
    PointF point2 = new PointF(100.0F, 25.0F);
    PointF point3 = new PointF(200.0F, 5.0F);
    PointF point4 = new PointF(250.0F, 50.0F);
    PointF point5 = new PointF(300.0F, 100.0F);
    PointF point6 = new PointF(350.0F, 200.0F);
    PointF point7 = new PointF(250.0F, 250.0F);
    PointF[] curvePoints = {point1, point2, point3, point4, point5, point6, point7};

    // Define fill mode.
    FillMode newFillMode = FillMode.Winding;

    // Fill polygon to screen.
    e.Graphics.FillPolygon(blueBrush, curvePoints, newFillMode);
}

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:
 
  #128 (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,070 received


ThatManFromTexas View Post
@Fat Tails

It involves using FillPolygon, but I don't know how to define the current points which are integers.

Graphics.FillPolygon Method (Brush, PointF[], FillMode) (System.Drawing)


 
Code
public void FillPolygonPointFFillMode(PaintEventArgs e)
{

    // Create solid brush.
    SolidBrush blueBrush = new SolidBrush(Color.Blue);

    // Create points that define polygon.
    PointF point1 = new PointF(50.0F, 50.0F);
    PointF point2 = new PointF(100.0F, 25.0F);
    PointF point3 = new PointF(200.0F, 5.0F);
    PointF point4 = new PointF(250.0F, 50.0F);
    PointF point5 = new PointF(300.0F, 100.0F);
    PointF point6 = new PointF(350.0F, 200.0F);
    PointF point7 = new PointF(250.0F, 250.0F);
    PointF[] curvePoints = {point1, point2, point3, point4, point5, point6, point7};

    // Define fill mode.
    FillMode newFillMode = FillMode.Winding;

    // Fill polygon to screen.
    e.Graphics.FillPolygon(blueBrush, curvePoints, newFillMode);
}

But how do you know that FillPolygon will draw behind DrawRegion() and why would it do that?

Reply With Quote
 
  #129 (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
But how do you know that FillPolygon will draw behind DrawRegion() and why would it do that?


@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).

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
 
  #130 (permalink)
Market Wizard
Las Vegas, NV
 
Futures Experience: Advanced
Platform: Abacus, Slide Rule, HP-65, Metastock, TOS, NT
Favorite Futures: Futures
 
aligator's Avatar
 
Posts: 3,424 since Aug 2010
Thanks: 1,053 given, 5,811 received
Forum Reputation: Legendary



Big Mike View Post
Moderator Note


A reminder - nudity is not allowed!




Mike

Telling from his tongue, you avatar Lab seems to be enjoying those pictures

Reply With Quote

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 02:40 PM.

no new posts
Page generated 2017-03-27 in 0.13 seconds with 20 queries on phoenix via your IP 54.161.161.92