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 > NinjaScript Development Support > Indicator Development

Indicator Development Support for the development of custom indicators using NinjaScript.

Reply
 
Thread Tools Display Modes
Old 06-12-2011, 04:16 PM   #1
stocktraderbmp
Senior Member
 
Join Date: Jun 2011
Location: Ireland
Posts: 184
Thanks: 32
Thanked 20 times in 19 posts
Default SMA of OHLC

Hi, can anyone help please.

I can't believe you are unable to adjust an SMA, EMA etc to use the High or Low etc for the calculation of the plot from the ordinary indicator drop-down. What am I missing?

I just want to plot say a 20 period SMA of the high. Please tell me I don't have to learn Ninjascript for this and spend hours of frustration trying to work out which one of the 400 lines of irrelevant script contains the inevitable error.

This is after all the most simple of charting options available since Og the caveman thought " I know, what if I want to plot a channel on a graph. Wonder what i'll need to do that?"

Any pointers gratefully received.

A frustrated new customer.
stocktraderbmp is offline  
Reply With Quote
Old 06-12-2011, 06:21 PM   #2
NinjaTrader_Matthew
NinjaTrader Customer Service
 
NinjaTrader_Matthew's Avatar
 
Join Date: Apr 2010
Location: Denver, CO, USA
Posts: 4,778
Thanks: 158
Thanked 565 times in 556 posts
Default

Hello stocktraderbmp,

Thank you for your post and welcome to our forums!

You actually can change the input series the SMA or any other indicator is calculated from the Indicator parameters.

To locate this option, please right click on the chart > select “indicators” > select your applied SMA indicator to active the indicator parameters on the right menu.

From the indicator parameters, you will see a new property labeled “Input series”. Please select this row and hit the “…” box to bring up the Input Series properties.

From the input series properties, you will have the options to chose from Close, Open, High, Low, Median, etc. Highlight the option you would like the SMA to calculate from and press "OK".

Please see our Help Guide article on "How to edit an indicator's parameters" for more information:

http://www.ninjatrader.com/support/h...indicators.htm

I have also attached a screen shot of this option for further clarification.
Attached Images
File Type: png SMAHIGH.PNG (136.3 KB, 20 views)
NinjaTrader_Matthew is online now  
Reply With Quote
Old 06-17-2011, 02:51 PM   #3
stocktraderbmp
Senior Member
 
Join Date: Jun 2011
Location: Ireland
Posts: 184
Thanks: 32
Thanked 20 times in 19 posts
Thumbs up Thanks ........

Thanks. Would have left it at just that but the system insists that I write at least 10 words or something before it lets me post my thanks !!!!!!!!

Hmmmm >>>>>............

PS Although I'm new to ninja, I moved to you on the recommendation of almost everybody I spoke too, I must say its not really "new-user intuitive" however; once you've found were everything is and learn't the hot key commands it does start to come together as an excellent charting / trading platform. And of course the support is fantastic!!!

Please can I politely point you in the direction of this excellent fellows suggestion :

http://www.ninjatrader.com/support/f...ead.php?t=7348

A user defined drop-down would be superb. And yes I have to agree, 4 hours is a great time frame and 2 minutes is used by almost no-one with any sense ! Though I'm sure someone will tell me about someone who made a gazillion dollars on a 2 min chart and then sold the "system" for another gazillion to those with no sense !!!

Anyway, thanks.

PS I know I can type "240m" on the chart and hit enter.
stocktraderbmp is offline  
Reply With Quote
Reply

Tags
ema, ohlc, 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
indicator to plot the 50 period sma of the 5 sma brdnickel NinjaScript File Sharing Discussion 6 01-26-2011 01:03 PM
Ohlc ScottB Charting 15 10-04-2010 02:34 PM
OHLC Bars bugman4/u Suggestions And Feedback 1 03-01-2010 12:28 PM
Draw a x minute SMA/SMA/WMA on another timeframe? ninjamouse Indicator Development 4 04-06-2009 06:54 AM
Alert for OHLC, SMA, Pivots cre8it8 Strategy Development 4 07-28-2008 07:53 PM


All times are GMT -6. The time now is 12:21 PM.