NinjaTrader Support Forum  

Go Back   NinjaTrader Support Forum > Application Technical Support > Market Analyzer

Market Analyzer Support for the NinjaTrader Market Analyzer.

Reply
 
Thread Tools Display Modes
Old 09-19-2008, 04:53 AM   #1
iangohye
Junior Member
 
Join Date: Aug 2008
Posts: 13
Thanks: 0
Thanked 0 times in 0 posts
Default DataSeries Market Analyzer output

Hi,

ive programmed up an indicator which returns a value contained in a DataSeries. When i display the value in market analyzer, it returns a double. Is there any way i can just return an int?

Ive tried IntSeries, but somehow it doesnt show up in the indicator properties.

ian
iangohye is offline  
Reply With Quote
Old 09-19-2008, 07:18 AM   #2
NinjaTrader_Ray
Administrator
 
NinjaTrader_Ray's Avatar
 
Join Date: Nov 2004
Location: Denver, CO, USA
Posts: 11,164
Thanks: 6
Thanked 46 times in 32 posts
Default

Ian,

MA columns will show plot values which are DataSeries objects which are double values.
NinjaTrader_Ray is offline  
Reply With Quote
Old 09-19-2008, 07:24 AM   #3
iangohye
Junior Member
 
Join Date: Aug 2008
Posts: 13
Thanks: 0
Thanked 0 times in 0 posts
Default

Oh i think i wasnt very clear.

What i meant is that the column values were showing up as '5.0000', for example. When all i really want it to display is just '5'. I cant seem to make that happen.
iangohye is offline  
Reply With Quote
Old 09-19-2008, 07:34 AM   #4
NinjaTrader_Ray
Administrator
 
NinjaTrader_Ray's Avatar
 
Join Date: Nov 2004
Location: Denver, CO, USA
Posts: 11,164
Thanks: 6
Thanked 46 times in 32 posts
Default

I believe the formatting is based on the tick size of the underlying instrument. This can't be changed. We have added some enhancement in this area of our next major version.
NinjaTrader_Ray is offline  
Reply With Quote
Old 09-19-2008, 07:41 AM   #5
iangohye
Junior Member
 
Join Date: Aug 2008
Posts: 13
Thanks: 0
Thanked 0 times in 0 posts
Default

Ok thanks for your reply.
iangohye is offline  
Reply With Quote
Old 03-28-2012, 06:24 AM   #6
DharmaTrader
Junior Member
 
Join Date: Feb 2012
Posts: 10
Thanks: 0
Thanked 0 times in 0 posts
Default Any updates on this?

Hi,

I've been searching and haven't found any relevant posts on this. Basically, I would like to be able to display the DataSeries (double) output in the MA window as just an integer.

I saw a post mentioning Price Overlay but I haven't been able to determine what that is.

Your assistance is appreciated.

-Thanks
DharmaTrader is offline  
Reply With Quote
Old 03-28-2012, 07:04 AM   #7
NinjaTrader_Matthew
NinjaTrader Customer Service
 
NinjaTrader_Matthew's Avatar
 
Join Date: Apr 2010
Location: Denver, CO, USA
Posts: 4,862
Thanks: 163
Thanked 580 times in 571 posts
Default

Yes, this would be possible - you'd just have to cast the double as an int, and then use the int as the plot DataSeries.Set value

Quote:
double x = ADX(14)[0];
int a;
// cast double to int
a = (int)x;

Plot0.Set(a);
This should result in the ADX value as an int, rather then the double value.
NinjaTrader_Matthew is offline  
Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Max Min on Market Analyzer nasdaq5048 Market Analyzer 5 05-07-2008 11:49 AM
Market Analyzer rt-trader Historical NinjaTrader 6.5 Beta Threads 1 02-04-2008 10:46 PM
Market Analyzer NinjaTrader_Josh Suggestions And Feedback 1 07-12-2007 11:32 AM
Market Analyzer Greg1 Market Analyzer 3 02-25-2007 10:02 AM
Market Analyzer Greg1 Suggestions And Feedback 1 12-31-1969 06:00 PM


All times are GMT -6. The time now is 06:31 AM.