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 11-17-2010, 12:12 PM   #1
Mikefra
Member
 
Join Date: Nov 2010
Location: Texas
Posts: 35
Thanks: 1
Thanked 0 times in 0 posts
Default Detecting Price Retracement

I have a programming challenge that is outsmarting me at the moment. So, I'm looking for some guidance from the community.

I need to detect when price retracements occur so I can generate an alert. I've attached a screenshot of the kind of retracements I'm looking to identify.

Does anyone have any ideas or examples they could share with me? Thanks in advance.

Regards,
Mike
Attached Images
File Type: jpg Detect Retracement.jpg (120.4 KB, 30 views)
Mikefra is offline  
Reply With Quote
Old 11-17-2010, 12:33 PM   #2
NinjaTrader_Brett
NinjaTrader Customer Service
 
NinjaTrader_Brett's Avatar
 
Join Date: Dec 2009
Location: Denver, CO, USA
Posts: 6,498
Thanks: 109
Thanked 291 times in 280 posts
Default

Hello,

I will leave this open for the community.

I might suggest also that you check out Swing and the ZigZag indicator code in NinjaTrader and see if this doesnt get you headed in the right direction. You may be able to incorperate these indicators into your code to help you with this.

Let me know if I can be of further assistance.
NinjaTrader_Brett 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
Detecting when SetStopLoss is filled BillyRayValentine Strategy Development 2 11-14-2010 02:22 AM
Detecting the workspace that a chart belong to Ricam General Programming 1 11-05-2010 11:49 AM
Detecting the last tick of the day dave1992 Miscellaneous Support 7 10-01-2009 07:54 AM
Detecting a Posting Exit netjms Strategy Development 1 05-07-2009 08:12 AM
Detecting double entry... ninjaq Strategy Development 1 04-06-2009 04:33 PM


All times are GMT -6. The time now is 01:52 PM.