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

How to programaticaly set the panel range in Ninja?

Discussion in NinjaTrader

    1. trending_up 1,515 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?
Losing faith
Elite Quantitative Trading
Color templates for MT5 40 items
Platforms and Indicators
1 min chart v-shape scan help please
MacdBB V402 NT804 + gradient + pullback not working on N …
For the experts of Metastock
Platforms and Indicators

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!


Your Charts Should Speak To You w/Bob Cometta

Elite only

Our 12-year anniversary w/ $$,$$$ prizes (check soon)


Copyright © 2021 by futures io, s.a., Av Ricardo J. Alfaro, Century Tower, 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.
no new posts