Need help to create an up/down arrow in panel 1(price/candle area) - NinjaTrader Programming | futures io social day trading
futures io futures trading


Need help to create an up/down arrow in panel 1(price/candle area)
Updated: Views / Replies:1,516 / 3
Created: by alex123 Attachments:0

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

Need help to create an up/down arrow in panel 1(price/candle area)

  #1 (permalink)
Elite Member
Toronto
 
Futures Experience: Intermediate
Platform: ninjatrader
 
alex123's Avatar
 
Posts: 266 since Aug 2009
Thanks: 165 given, 128 received

Need help to create an up/down arrow in panel 1(price/candle area)

Hi, guys:

Is it possible that some one help me or give me an idea, how to create an up/down arrow or dot when all the my indicator's criteria combined together? For example:

1. _ECO2new_paintbars_sharkypkd_2 zero1>5
2. Obvdiver>0
3. _Zeller_sharkfin_paintbars (close, 34) is green

when all above criteria combines together, the ninjatrader show me an up green arrow below the price candle bar?

I am not a programmer, really need to help, cause I can not catch the breakout using my eyes, sometimes I still need my indicators to confirm.

if any one can help me out, that will be great.

Reply With Quote
 
  #2 (permalink)
Elite Member
Torino
 
Futures Experience: Beginner
Platform: NinjaTrader
Broker/Data: mirus
Favorite Futures: currency futures
 
Mauro_60's Avatar
 
Posts: 47 since Aug 2009
Thanks: 25 given, 36 received

Hello, I too am not a programmer but I think I can give an idea for the construction of your indicator

 
Code
#region Variables
private Color             barColorUp_ST            = Color.Blue;
private Color             barColorDown_ST        = Color.Red;

private BoolSeries       condizione1;
    #endregion

 protected override void Initialize()
        {
condizione1 = new BoolSeries(this);
}

 protected override void OnBarUpdate()
        {
           
    
                        
            
             if(CurrentBar > 1)
            {    follow code indicator......

               ..............
               ..............

 condizione1.Set(_ECO2new_paintbars_sharkypkd_2 zero1[0] >5 && Obvdiver[0]>0 && ect ect for all condition);

//*******************************************************************

if(condizione1[0])
                    
                    {
                    
                       DrawArrowDown("ShortS"+CurrentBar.ToString(), 0, High[0] + Mult*TickSize, barColorDown_ST);
                     
                                                                    
                }  else if(!condizione1[0])    
                    {
                   
                     RemoveDrawObject("ShortS" + CurrentBar);
                   
                }                        
}
repeat the same process for the long condition
}

  #region Properties

[XmlIgnore()]
        [Description("Color of up bars.")]
        [Category("Visual")]
        [Gui.Design.DisplayNameAttribute("01. Up color_ST")]
        public Color BarColorUp_ST
        {
            get { return barColorUp_ST; }
            set { barColorUp_ST = value; }
        }

        /// <summary>
        /// </summary>
        [Browsable(false)]
        public string barColorUp_STSerialize
        {
            get { return NinjaTrader.Gui.Design.SerializableColor.ToString(barColorUp_ST); }
            set { barColorUp_ST = NinjaTrader.Gui.Design.SerializableColor.FromString(value); }
        }
        
        /// <summary>
        /// </summary>
        [XmlIgnore()]
        [Description("Color of down bars.")]
        [Category("Visual")]
        [Gui.Design.DisplayNameAttribute("02. Down color_ST")]
        public Color BarColorDown_ST
        {
            get { return barColorDown_ST; }
            set { barColorDown_ST = value; }
        }
        
        /// <summary>
        /// </summary>
        [Browsable(false)]
        public string barColorDown_STSerialize
        {
            get { return NinjaTrader.Gui.Design.SerializableColor.ToString(barColorDown_ST); }
            set { barColorDown_ST = NinjaTrader.Gui.Design.SerializableColor.FromString(value); }
        }



Obviously, this code is not complete, the indicators and the actual conditions should be included. I also ask for help when I can,but I try there the same, at times I succeed a lot of others no.

Regards

Reply With Quote
The following user says Thank You to Mauro_60 for this post:
 
  #3 (permalink)
 Vendor: www.innovative-trading-solutions-online.com 
Hartford, CT. USA
 
Futures Experience: Intermediate
Platform: NinjaTrader
Broker/Data: AMP/CQG, Kinetick
Favorite Futures: TF
 
RJay's Avatar
 
Posts: 677 since Jun 2009
Thanks: 726 given, 740 received



alex123 View Post
Hi, guys:

Is it possible that some one help me or give me an idea, how to create an up/down arrow or dot when all the my indicator's criteria combined together? For example:

1. _ECO2new_paintbars_sharkypkd_2 zero1>5
2. Obvdiver>0
3. _Zeller_sharkfin_paintbars (close, 34) is green

when all above criteria combines together, the ninjatrader show me an up green arrow below the price candle bar?

I am not a programmer, really need to help, cause I can not catch the breakout using my eyes, sometimes I still need my indicators to confirm.

if any one can help me out, that will be great.

alex123,

You need to create an indicator that calls the other three indicator outputs as inputs and simply compare them to determine if an arrow should be displayed.

I would build a strategy doing the comparison first. Then look at the constructed code to create the new indicator.

RJay

Reply With Quote
The following user says Thank You to RJay for this post:
 
  #4 (permalink)
Elite Member
Toronto
 
Futures Experience: Intermediate
Platform: ninjatrader
 
alex123's Avatar
 
Posts: 266 since Aug 2009
Thanks: 165 given, 128 received

Thank you for your reply

Thank you very much Mauro 60 and Rjay, I will try your idea, see if it works.

Reply With Quote

Reply



futures io > > > > > Need help to create an up/down arrow in panel 1(price/candle area)

Thread Tools Search this Thread
Search this Thread:

Advanced Search



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

Jigsaw Trading: TBA

Elite only

FuturesTrader71: TBA

Elite only

NinjaTrader: TBA

Jan 18

RandBots: TBA

Jan 23

GFF Brokers & CME Group: Futures & Bitcoin

Elite only

Adam Grimes: TBA

Elite only

Ran Aroussi: TBA

Elite only
     

Similar Threads
Thread Thread Starter Forum Replies Last Post
Looking for typical way to create a 'DataBox' on Price Panel forrestang NinjaTrader Programming 15 September 7th, 2011 04:07 PM
TMNT's Trading Journal: ES 5m candle, Price Action scalping tmntrader Elite Trading Journals 20 August 12th, 2011 04:37 PM
Arrows not plotting on price panel kendallw4 NinjaTrader Programming 2 June 28th, 2011 03:44 PM
Draw on both Price & Indicator Panel NT7? Wessel NinjaTrader Programming 12 July 15th, 2010 09:41 AM
Price marker from actual candle stick jsengxx NinjaTrader Programming 4 December 16th, 2009 12:29 PM


All times are GMT -4. The time now is 02:35 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-12-17 in 0.09 seconds with 19 queries on phoenix via your IP 54.82.56.95