NinjaTrader Support Forum  
X

Attention!

This website will be down for maintenance from Friday May 24th at 6PM MDT until Saturday May 25th at 11AM MDT. We apologize for the inconvenience. If you need assistance during this time, please email sales@ninjatrader.com


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

Market Analyzer Support for the NinjaTrader Market Analyzer.

Reply
 
Thread Tools Display Modes
Old 07-24-2012, 11:33 PM   #1
Hockey_Mike
Junior Member
 
Join Date: Jul 2012
Posts: 11
Thanks: 0
Thanked 0 times in 0 posts
Default SMA Greater than Close

Good Evening All,


Basic question, however I am new to NT. Using the Market Analyzer how would I filter out rows in which an indicator I selected was greater or less than the close price?

ie. SMA is less than the close --> Do not display the row.

Thank you in advance for any direction, I appreciate it.


Best,

Art
Hockey_Mike is offline  
Reply With Quote
Old 07-24-2012, 11:45 PM   #2
NinjaTrader_ChristopherS
NinjaTrader Customer Service
 
NinjaTrader_ChristopherS's Avatar
 
Join Date: Jul 2011
Location: Denver, CO, USA
Posts: 390
Thanks: 35
Thanked 77 times in 76 posts
Default

Hello Art,

You will want to set up a filter condition for the SMA on the Market Analyzer window.

You can do this by right clicking on the Market Analyzer window, selecting the SMA indicator, selecting Filter conditions and clicking the '...' button. Then in the Filter Conditions window click New, set Condition to 'is less than', set value to the value you are wanting to filter out, press OK and OK.

Below is a link to the Filter Conditions section of our help guide.

http://www.ninjatrader.com/support/h..._and_filte.htm
NinjaTrader_ChristopherS is offline  
Reply With Quote
Old 07-26-2012, 10:18 PM   #3
Hockey_Mike
Junior Member
 
Join Date: Jul 2012
Posts: 11
Thanks: 0
Thanked 0 times in 0 posts
Default

Hi Chris,

Thanks for your response. I understand how to set a filter based on a static number, 30 in the example provided with your link. I am looking to filter when the close price, a colum I am using in the Market Analyzer is lower than the SMA indicator value in a different column.

Will the Market Analyzer filter off of the value in another column? If not, is there a workaround?


Thanks,

Art
Hockey_Mike is offline  
Reply With Quote
Old 07-26-2012, 11:07 PM   #4
NinjaTrader_ChristopherS
NinjaTrader Customer Service
 
NinjaTrader_ChristopherS's Avatar
 
Join Date: Jul 2011
Location: Denver, CO, USA
Posts: 390
Thanks: 35
Thanked 77 times in 76 posts
Default

Hello Art,

An alert like this would require custom programming.
NinjaTrader_ChristopherS is offline  
Reply With Quote
Old 07-27-2012, 09:56 AM   #5
Hockey_Mike
Junior Member
 
Join Date: Jul 2012
Posts: 11
Thanks: 0
Thanked 0 times in 0 posts
Default

Hi,

When you say custom programming, are you describing logic I would type into the box [...], or is it coding that would need to be done on NT's backend? If neither, where would I execute the code that would accomplish what I describe above?

Thanks,

Art
Hockey_Mike is offline  
Reply With Quote
Old 07-27-2012, 10:36 AM   #6
NinjaTrader_Matthew
NinjaTrader Customer Service
 
NinjaTrader_Matthew's Avatar
 
Join Date: Apr 2010
Location: Denver, CO, USA
Posts: 4,794
Thanks: 160
Thanked 568 times in 559 posts
Default

Hello,

You would have to create an indicator which compares the SMA to the close price and returns a value when the condition is true.

You would need to add this indicator to the indicator column on the market analyzer and setup the conditional filter based on the information that the indicator is calculating
NinjaTrader_Matthew is offline  
Reply With Quote
Reply

Tags
indicators, market analyzer, sma

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
Determining if SMA peak is greater than a previous peak matth1 General Programming 3 05-09-2012 02:40 AM
How to include last close in realtime SMA calc joesandyego Indicator Development 6 05-03-2012 02:54 PM
indicator to plot the 50 period sma of the 5 sma brdnickel NinjaScript File Sharing Discussion 6 01-26-2011 01:03 PM
Draw a x minute SMA/SMA/WMA on another timeframe? ninjamouse Indicator Development 4 04-06-2009 06:54 AM
Comparing Close to SMA value failing - why? Iggy22 General Programming 2 04-19-2008 12:47 AM


All times are GMT -6. The time now is 05:08 AM.