How to programaticaly set the panel range in Ninja? - futures io
futures io futures trading

How to programaticaly set the panel range in Ninja?

Discussion in NinjaTrader

    1. trending_up 1,464 views
    2. thumb_up 0 thanks given
    3. group 2 followers
    1. forum 1 posts
    2. attach_file 0 attachments

Welcome to futures io: the largest futures trading community on the planet, with well over 125,000 members
  • Genuine reviews from real traders, not fake reviews from stealth vendors
  • Quality education from leading professional traders
  • We are a friendly, helpful, and positive community
  • We do not tolerate rude behavior, trolling, or vendors advertising in posts
  • We are here to help, just let us know what you need
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

(If you already have an account, login at the top of the page)

Search this Thread

How to programaticaly set the panel range in Ninja?

(login for full post details)
  #1 (permalink)
Experience: Advanced
Platform: Ensign, Multicharts
Trading: SP500
Posts: 92 since Nov 2009
Thanks: 66 given, 57 received

In my indicator, it is a custom plot like in Ninja's custom plot example so the scale is not set automatically like with a normal plot.

In the indicator code i use:
this.ChartControl.FixedPanelMaxRight = highest + (highest/10);
this.ChartControl.FixedPanelMinRight = lowest - (lowest/10);

to set the min and max values and that works.

But when i try to set the Range Type
this.ChartControl.YAxisRangeTypeRight = YAxisRangeType.Fixed;

the range in the chartpanel is set instead of the panel the indicator is on.

How to set the range in a specific panel?

Also what is the correct way to update the chart with such changes?

Any help is greatly appreciated.

Started this thread Reply With Quote

Can you help answer these questions
from other members on futures io?
COTbase for quant trading?
Elite Algorithmic NinjaTrader Trading
Where can I find Cost to Trade and Book Depth info?
Emini and Emicro Index
Volume Profile Indicator for Ninja Script in NT8
How is the range of strike prices determined?
Help Needed: TOS Options Chain IV & IMPL MOVE Calcul …
Best Threads (Most Thanked)
in the last 7 days on futures io
Battlestations: Show us your trading desks!
124 thanks
Big Mike in Ecuador
61 thanks
Want your NinjaTrader indicator created, free?
28 thanks
If you needed one-on-one help with any trading issue, ho …
26 thanks
Selling Options on Futures?
21 thanks

futures io Trading Community Platforms and Indicators NinjaTrader > How to programaticaly set the panel range in Ninja?

Last Updated on August 26, 2012

Upcoming Webinars and Events

NinjaTrader Indicator Challenge!


Battlestations! Show us your trading desk - $1,500 in prizes!


Importance of Finding Your Own Way w/Adam Grimes

Elite only

Journal Challenge w/Jigsaw


Copyright © 2021 by futures io, s.a., Av Ricardo J. Alfaro, Century Tower, Panama, +507 833-9432,
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