NexusFi: Find Your Edge


Home Menu

 





Painting with Ninja


Discussion in NinjaTrader

Updated
      Top Posters
    1. looks_one dutchbookmaker with 7 posts (22 thanks)
    2. looks_two Quick Summary with 1 posts (0 thanks)
    3. looks_3 zeller4 with 1 posts (0 thanks)
    4. looks_4 devdas with 1 posts (0 thanks)
    1. trending_up 9,016 views
    2. thumb_up 22 thanks given
    3. group 5 followers
    1. forum 10 posts
    2. attach_file 7 attachments




 
Search this Thread

Painting with Ninja

  #11 (permalink)
 granerito 
Murcia Spain
 
Experience: Beginner
Platform: NinjaTrader, MetaTrader
Trading: Dax
Posts: 2 since Apr 2016
Thanks Given: 2
Thanks Received: 0


dutchbookmaker View Post
The holy grail.
 
Code
public override void Plot(Graphics graphics, Rectangle bounds, double min, double max)
        {
            int X = ChartControl.CanvasRight / 3;
            int Y = ChartControl.CanvasBottom / 8;
            //http://msdn.microsoft.com/en-us/library/4cy2c290.aspx
            //Ellipse 
               Pen blackPen = new Pen(Color.Black, 3);
            SolidBrush redBrush = new SolidBrush(Color.Red);
               Rectangle rect = new Rectangle(X,Y, 500,500);
            graphics.DrawEllipse(blackPen, rect);
            graphics.FillEllipse(redBrush, rect);
            
            Pen blackPen2 = new Pen(Color.Black, 3);
            SolidBrush blackBrush = new SolidBrush(Color.Black);
               Rectangle rect2 = new Rectangle(X + 140,Y + 80, 70,70);
            graphics.DrawEllipse(blackPen, rect2);
            graphics.FillEllipse(blackBrush, rect2);
            
            Pen blackPen3 = new Pen(Color.Black, 3);
            SolidBrush blackBrush2 = new SolidBrush(Color.Black);
               Rectangle rect3 = new Rectangle(X + 290,Y + 80, 70,70);
            graphics.DrawEllipse(blackPen3, rect3);
            graphics.FillEllipse(blackBrush2, rect3);
            
            Pen blackPen4 = new Pen(Color.Black, 3);
            SolidBrush blackBrush3 = new SolidBrush(Color.Black);
               Rectangle rect4 = new Rectangle(X + 225,Y + 220, 40,40);
            graphics.DrawEllipse(blackPen4, rect4);
            graphics.FillEllipse(blackBrush3, rect4);
            
            Pen blackPen5 = new Pen(Color.Black, 3);
            SolidBrush blackBrush4 = new SolidBrush(Color.Black);
               Rectangle rect5 = new Rectangle(X + 170,Y + 320, 150,150);
            graphics.DrawEllipse(blackPen5, rect5);
            graphics.FillEllipse(blackBrush4, rect5);
            
            
            
        }

hahaha that's cool

Reply With Quote

Can you help answer these questions
from other members on NexusFi?
Pivot Indicator like the old SwingTemp by Big Mike
NinjaTrader
Cheap historycal L1 data for stocks
Stocks and ETFs
About a successful futures trader who didnt know anythin …
Psychology and Money Management
NT7 Indicator Script Troubleshooting - Camarilla Pivots
NinjaTrader
REcommedations for programming help
Sierra Chart
 




Last Updated on March 29, 2017


© 2024 NexusFi™, s.a., All Rights Reserved.
Av Ricardo J. Alfaro, Century Tower, Panama City, Panama, Ph: +507 833-9432 (Panama and Intl), +1 888-312-3001 (USA and Canada)
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.
About Us - Contact Us - Site Rules, Acceptable Use, and Terms and Conditions - Privacy Policy - Downloads - Top
no new posts