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
Unable to display custom value in the Market Analyzer Column
Collapse
X
-
The indicator already will not be able to draw drawing objects when used in the Market Analyzer, so there will be no special considerations you need to make there. Are you seeing that when you attach an indicator to your Market Analyzer that it is drawing on your chart?
-
The issue I have is that the indicator draws graphical lines on the chart, and hence the drawing part needs to be disabled when loading the indicator in the market analyzer. How can I check in the indicator code, I need something like this
if (Not loaded in market analyzer)
{
// Draw the ilne
}
Leave a comment:
-
You would see it near the top of your code. A MarketAnalzyer Column also will display under the appropriate "MarketAnalzyerColumns" folder in the NinjaScript Editor.
namespace NinjaTrader.NinjaScript.MarketAnalyzerColumns
Leave a comment:
-
Ah ok, I got it now.
Can you please tell me how to check if the indicator is an instance of MarketAnalyzerColumns?
Leave a comment:
-
Hello Zextra,
Thanks for your post.
Are you creating this as an indicator or is this code being used inside the "MarketAnalyzerColumns" namespace?
Last edited by NinjaTrader_JoshG; 10-16-2018, 12:00 PM.
Leave a comment:
-
Unable to display custom value in the Market Analyzer Column
I am trying to display a value in the Market Analyzer Column
I am trying this code (according to this page https://ninjatrader.com/support/help...zer_column.htm)
protected override void OnMarketData(MarketDataEventArgs marketDataUpdate)
{
CurrentValue = marketDataUpdate.Price;
}
During compilation I am getting the error
The name 'CurrentValue' does not exist in the current context.
Please advise
Tags: None
Latest Posts
Collapse
Topics | Statistics | Last Post | ||
---|---|---|---|---|
Started by pvincent, 06-23-2022, 12:53 PM
|
14 responses
238 views
0 likes
|
Last Post
by Nyman
Today, 12:47 AM
|
||
Started by TraderG23, 12-08-2023, 07:56 AM
|
9 responses
382 views
1 like
|
Last Post
by Gavini
Today, 12:29 AM
|
||
Started by oviejo, Today, 12:28 AM
|
0 responses
1 view
0 likes
|
Last Post
by oviejo
Today, 12:28 AM
|
||
Started by pechtri, 06-22-2023, 02:31 AM
|
10 responses
125 views
0 likes
|
Last Post Today, 12:03 AM | ||
Started by judysamnt7, 03-13-2023, 09:11 AM
|
4 responses
59 views
0 likes
|
Last Post
by DynamicTest
Yesterday, 08:25 PM
|
Leave a comment: