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-09-2009, 02:52 PM   #1
castille
Member
 
Join Date: Dec 2008
Location: Northern California, USA
Posts: 35
Thanks: 0
Thanked 0 times in 0 posts
Default colored moving average signal

I've noticed that if you have a 50,21 and 8 EMA on your chart and they all turn the same color ( red for short and blue for long) this is frequently a good entry signal. Has anyone else noticed this and is there a way to trigger a trade based on this occurance?

Thanks, Jeff
castille is offline  
Reply With Quote
Old 06-09-2009, 03:02 PM   #2
NinjaTrader_Josh
NinjaTrader Product Manager
 
NinjaTrader_Josh's Avatar
 
Join Date: May 2007
Location: Denver, CO
Posts: 17,458
Thanks: 1
Thanked 106 times in 70 posts
Default

Jeff,

You will need to make a strategy if you want it to trigger a trade. Please see these tutorials on how to make your own strategies: http://www.ninjatrader-support.com/H...tml?Overview34
NinjaTrader_Josh is offline  
Reply With Quote
Old 06-09-2009, 03:54 PM   #3
castille
Member
 
Join Date: Dec 2008
Location: Northern California, USA
Posts: 35
Thanks: 0
Thanked 0 times in 0 posts
Default strategy wizard doesn't work

Hi Josh,

I figured that I'd start off simple with the strategy wizard and just get one strategy going based on the color change of the 50 EMA. If we simple go long when the 50 EMA turns blue ( or the up mode) and enter short when the 50 EMA turns red ( or the down mode) is all that I want to accomplish at this point. Oh, I trade the YM so I set my target at 10 points and my stop at 15 points.

Can you help me get this up and running?

Thanks, Jeff
castille is offline  
Reply With Quote
Old 06-10-2009, 05:28 AM   #4
NinjaTrader_Bertrand
NinjaTrader Customer Service
 
NinjaTrader_Bertrand's Avatar
 
Join Date: Sep 2008
Location: Germany
Posts: 22,414
Thanks: 252
Thanked 977 times in 960 posts
Default

castille, the strategy wizard will work well for this strategy. As an entry condition you can check if the EMA 50 has crosses over / under the value of the EMA 50 of the previous bar. Then place your entry order in the 'Do the following' section. After the entries are set up, you can enter a stop and target on the 'Stops and targets' page.

http://www.ninjatrader-support.com/H...rdScreens.html
NinjaTrader_Bertrand 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
Moving average over a Volume kosmipt Indicator Development 6 10-20-2010 12:36 PM
moving average crossover castille Indicator Development 4 04-16-2009 02:51 PM
how to reference macd signal and average? suedeuno Indicator Development 1 02-14-2009 02:33 PM
Moving average envelopes blasco Indicator Development 1 05-27-2008 11:06 AM
moving average of a moving average zq655 Indicator Development 2 04-25-2008 12:47 AM


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