Is this done in the properties section? Can you show a simple example?
Announcement
Collapse
Looking for a User App or Add-On built by the NinjaTrader community?
Visit NinjaTrader EcoSystem and our free User App Share!
Have a question for the NinjaScript developer community? Open a new thread in our NinjaScript File Sharing Discussion Forum!
Have a question for the NinjaScript developer community? Open a new thread in our NinjaScript File Sharing Discussion Forum!
See more
See less
Partner 728x90
Collapse
NinjaTrader
Suppress Indicator inputs at top of chart
Collapse
X
-
Suppress Indicator inputs at top of chart
At the top of the chart I would like to only display the indicator names applied to that chart. I would like to disable the display of each individual input parameter and its value for that indicator.
Is this done in the properties section? Can you show a simple example?Tags: None
-
as this is an old thread, i'm hoping there is a solution now available.
i have a strategy with numerous parameters and, for simplicity, i would like to just display the name of the strategy on the chart (suppressing all of the inputs).
can someone please provide code to accomplish this?
cheers,
-e
Comment
-
Hello,
This has been added in NinjaTrader 7.
NinjaTrader 7 is in the later stages of beta testing is scheduled for the public beta to be released soon. There is no release date for NinjaTrader 7 yet. Please visit the below link for information on NinjaTrader 7 features and release information:
Comment
-
Copied from the NinjaTrader 7 Features List
Enhanced Indicator Labels
You can now set an absolute label by enclosing the label in quotations. Doing so will trim the trailing system added series/parameter information. Instead of seeing "MyIndicator(101 parameters go here......)" you can display only "MyIndicator" if you wish.
Comment
-
In Initialize:
Blah Blah etc.
PaintPriceMarkers = false;
AutoScale = false;
Name = "YourIndicatorName";
}
public override string ToString()
{
return Name;
}
/// <summary>
/// Called on each bar update event (incoming tick)
/// </summary>
protected override void OnBarUpdate()
{
Blah Blah etc.
Comment
-
ok...this is not exactly what i was looking for. by overriding ToString, then won't that mess up any kind of debug or output-window stuff?
let me rephrase:
what is the property i can set (in Initialize()?) to set that Label like the screenshot Brett posted? or is there another property that will true/false the display of the parameter-values?
and...second question...is that property available just for indicators, or also for strategies? i am chiefly interested in this for my strategy code.
cheers,
-e
Comment
-
e-man, please take a look at this reference sample titled "Removing and Custom Formatting an Indicator's chart label".AustinNinjaTrader Customer Service
Comment
-
This is possible when adding a strategy to a chart the same way it is possible with indicators. However if your looking to add other information to the top label String then just a custom name then you will need to use the method posted by Austin to integrate custom parameters or variables that you want added.
It is the same label property that is set when you apply an indicator to the chart. Use quotation marks around what you want listed there for it to override the default label.
This is with NinjaTrader 7. The latest release of NinjaTrader version 6.5.1000.15 will allow you to edit the label as well, but the parameters will still be listed. You can however delete out the label name to have no label on the top of the chart now.Last edited by NinjaTrader_Brett; 03-30-2010, 03:52 PM.
Comment
-
thanks for the link, Austin. and thanks for the clarification, Brett. the sample code looks same/similar to eDanny's above ... and it did fix my issue.
i was concerned that this would negatively impact inline debug calls, but i'm happy to report that it works just great
thanks again!
-eLast edited by e-man; 03-31-2010, 11:54 AM.
Comment
Latest Posts
Collapse
Topics | Statistics | Last Post | ||
---|---|---|---|---|
Started by fwendolynlpxz, Today, 05:19 AM
|
0 responses
3 views
0 likes
|
Last Post Today, 05:19 AM | ||
Started by traderqz, Yesterday, 12:06 AM
|
11 responses
28 views
0 likes
|
Last Post Today, 05:11 AM | ||
Started by PaulMohn, Today, 03:49 AM
|
0 responses
8 views
0 likes
|
Last Post
by PaulMohn
Today, 03:49 AM
|
||
Started by inanazsocial, Today, 01:15 AM
|
1 response
10 views
0 likes
|
Last Post Today, 02:18 AM | ||
Started by rocketman7, Today, 02:12 AM
|
0 responses
11 views
0 likes
|
Last Post
by rocketman7
Today, 02:12 AM
|
Comment