NinjaTrader Support Forum  
X

Attention!

This website will be down for maintenance from Friday May 24th at 6PM MDT until Sunday May 26th at 12PM 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 10-03-2007, 06:26 AM   #1
qitrader
Member
 
Join Date: Oct 2006
Location: , ,
Posts: 55
Thanks: 0
Thanked 0 times in 0 posts
Default New highs/lows

Hi

How do i create a market analyzer indicator that will alert me every time when there are 3 or more new highs/lows within 2 minutes using a tick chart window?

Eg. 50 tick chart, alert Long if 4 new highs within 2 minutes.

thanks

Qi
qitrader is offline  
Reply With Quote
Old 10-03-2007, 06:36 AM   #2
NinjaTrader_Dierk
Administrator
 
NinjaTrader_Dierk's Avatar
 
Join Date: Mar 2005
Location: Bamberg, Germany
Posts: 9,994
Thanks: 0
Thanked 6 times in 6 posts
Default

I suggest starting with our educational resources and the indicators sources which are available for all indicators.

http://www.ninjatrader-support.com/v...splay.php?f=30
http://www.ninjatrader-support.com/H...verview18.html

Worst case you could get into touch with a certified NinjaScript consultant:
http://www.ninjatrader.com/webnew/pa...injaScript.htm
NinjaTrader_Dierk is offline  
Reply With Quote
Old 10-03-2007, 06:52 AM   #3
NinjaTrader_Ray
Administrator
 
NinjaTrader_Ray's Avatar
 
Join Date: Nov 2004
Location: Denver, CO, USA
Posts: 11,163
Thanks: 6
Thanked 45 times in 32 posts
Default

You have to develop a custom indicator that returns a true value (1) when the condition is true. Then add this indicator to the MA and create an alert to trigger when the value is equal to 1.
NinjaTrader_Ray 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
highs and lows marker tradingkevin Suggestions And Feedback 2 05-10-2007 06:55 PM


All times are GMT -6. The time now is 01:11 AM.